source: trunk/base/portmgr/Makefile @ 15631

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

Submitted by: jmpp@
Reviewed by: jberry@

The pormgr/ dir is now out of src/, as it doesn't have much to do with our sources.

  • Property svn:eol-style set to native
File size: 559 bytes
Line 
1INSTALLDIR=     ${DESTDIR}${datadir}/darwinports/resources/portmgr
2
3SCRIPTS=        PortIndex2MySQL
4
5edit = sed \
6        -e 's,@PREFIX\@,$(prefix),g' \
7        -e 's,@TCL_PACKAGE_DIR\@,$(TCL_PACKAGE_DIR),g'
8
9include ../Mk/dports.autoconf.mk
10
11all: ${SCRIPTS}
12
13PortIndex2MySQL: PortIndex2MySQL.tcl
14        ${edit} PortIndex2MySQL.tcl > $@
15
16clean:
17        rm -f ${SCRIPTS}
18
19test:
20
21distclean: clean
22
23install:
24        $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} ${INSTALLDIR}
25        $(SILENT)set -x; for file in ${SCRIPTS}; do \
26                $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 544 $$file ${INSTALLDIR}; \
27        done
Note: See TracBrowser for help on using the repository browser.