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
Line 
1MAN1=           port.1
2INSTALLDIR=     ${DESTDIR}${PREFIX}
3
4include ../../Mk/dports.mk
5include ../../Mk/dports.autoconf.mk
6
7mkdirs:
8        cat ../../doc/prefix.mtree | sed -e "s/uname=UNAME/uname=${DSTUSR}/" | \
9        sed -e "s/gname=GNAME/gname=${DSTGRP}/" | \
10        mtree -U -d -e -p ${INSTALLDIR} > /dev/null
11
12all:
13
14clean:
15
16distclean: clean
17
18install: mkdirs
19        $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} ${INSTALLDIR}/man/man1
20        $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 port.1 ${INSTALLDIR}/man/man1
21        $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} ${INSTALLDIR}/bin
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.