source: trunk/base/src/port/Makefile @ 2777

Last change on this file since 2777 was 2777, checked in by ssen, 17 years ago

Create man/man1 and bin/ before install files

  • Property svn:eol-style set to native
File size: 777 bytes
RevLine 
[407]1MAN1=           port.1
[1862]2INSTALLDIR=     ${DESTDIR}${PREFIX}
[407]3
[2770]4include ../../Mk/dports.mk
[2775]5include ../../Mk/dports.autoconf.mk
[2770]6
[407]7mkdirs:
[2037]8        cat ../../doc/prefix.mtree | sed -e "s/uname=UNAME/uname=${DSTUSR}/" | \
9        sed -e "s/gname=GNAME/gname=${DSTGRP}/" | \
[1926]10        mtree -U -d -e -p ${INSTALLDIR} > /dev/null
[407]11
[1223]12all:
13
[1224]14clean:
15
[2770]16distclean: clean
17
[407]18install: mkdirs
[2777]19        $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} ${INSTALLDIR}/man/man1
[2775]20        $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 port.1 ${INSTALLDIR}/man/man1
[2777]21        $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} ${INSTALLDIR}/bin
[2775]22        $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 555 port.tcl ${INSTALLDIR}/bin/port
23        $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 555 portall.tcl ${INSTALLDIR}/bin/portall
24        $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 555 portindex.tcl ${INSTALLDIR}/bin/portindex
Note: See TracBrowser for help on using the repository browser.