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

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

1) Don't include dports.mk. We don't need it anymore
2) Use $(INSTALL) -d instead of mkdir -p
3) Use $(SILENT) instead of "@" to make quiet execution. You can

override SILENT= on the make command line

4) Don't do sed on prefix.mtree before applying via mtree

  • Property svn:eol-style set to native
File size: 660 bytes
Line 
1MAN1=           port.1
2INSTALLDIR=     ${DESTDIR}${prefix}
3
4include ../../Mk/dports.autoconf.mk
5
6mkdirs:
7        cat ../../doc/prefix.mtree | mtree -U -d -e -p ${INSTALLDIR} > /dev/null
8
9all:
10
11clean:
12
13distclean: clean
14
15install: mkdirs
16        $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} ${INSTALLDIR}/man/man1
17        $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 port.1 ${INSTALLDIR}/man/man1
18        $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} ${INSTALLDIR}/bin
19        $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 555 port.tcl ${INSTALLDIR}/bin/port
20        $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 555 portall.tcl ${INSTALLDIR}/bin/portall
21        $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 555 portindex.tcl ${INSTALLDIR}/bin/portindex
Note: See TracBrowser for help on using the repository browser.