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

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

Replace calls to "install -c" with whatever ./configure found
as "$(INSTALL)"

  • Property svn:eol-style set to native
File size: 654 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) -o ${DSTUSR} -g ${DSTGRP} -m 444 port.1 ${INSTALLDIR}/man/man1
20        $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 555 port.tcl ${INSTALLDIR}/bin/port
21        $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 555 portall.tcl ${INSTALLDIR}/bin/portall
22        $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 555 portindex.tcl ${INSTALLDIR}/bin/portindex
Note: See TracBrowser for help on using the repository browser.