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

Last change on this file since 14540 was 14540, checked in by jmpp, 15 years ago

Submitted by: jmpp@

Two lingering lines missed in the portall removal.

  • Property svn:eol-style set to native
File size: 790 bytes
Line 
1MAN1=           port.1
2INSTALLDIR=     ${DESTDIR}${prefix}
3TOPSRCDIR=      ../..
4SCRIPTS=        portindex port
5
6edit = sed \
7        -e 's,@TCLSH\@,$(TCLSH),g' \
8        -e 's,@TCL_PACKAGE_DIR\@,$(TCL_PACKAGE_DIR),g'
9
10include ../../Mk/dports.autoconf.mk
11
12all: ${SCRIPTS}
13
14portindex: portindex.tcl
15        ${edit} portindex.tcl > $@
16
17port: port.tcl
18        ${edit} port.tcl > $@
19
20mkdirs:
21        cat ../../doc/prefix.mtree | $(MTREE) -U -d -e -p ${INSTALLDIR} > /dev/null
22
23clean:
24        rm -f ${SCRIPTS}
25
26test:
27
28distclean: clean
29
30install: mkdirs
31        $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 port.1 ${INSTALLDIR}/share/man/man1
32        $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} ${INSTALLDIR}/bin
33        $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 555 port ${INSTALLDIR}/bin/port
34        $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 555 portindex ${INSTALLDIR}/bin/portindex
Note: See TracBrowser for help on using the repository browser.