source: trunk/base/src/macports1.0/Makefile @ 64998

Last change on this file since 64998 was 64998, checked in by raimue@…, 11 years ago

Move realpath extension from macports1.0 to pextlib1.0

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 979 bytes
Line 
1SRCS=           macports.tcl macports_dlist.tcl macports_util.tcl \
2                macports_autoconf.tcl macports_index.tcl macports_fastload.tcl
3OBJS=           macports.o get_systemconfiguration_proxies.o sysctl.o
4SHLIB_NAME=     MacPorts${SHLIB_SUFFIX}
5
6INSTALLDIR=     ${DESTDIR}${TCL_PACKAGE_DIR}/macports1.0
7
8include ../../Mk/macports.autoconf.mk
9include ../../Mk/macports.tea.mk
10
11ifeq ($(OBJC_RUNTIME), APPLE_RUNTIME)
12        LIBS+= -framework CoreFoundation -framework SystemConfiguration
13endif
14
15test::
16        ${TCLSH} tests/macports_dlist.tcl
17        ${TCLSH} tests/macports_util.tcl
18
19distclean:: clean
20        rm -f macports_autoconf.tcl macports_fastload.tcl ${SHLIB_NAME}
21
22install:: all
23        $(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m ${DSTMODE} ${INSTALLDIR}
24
25        $(SILENT) set -x; for file in ${SRCS}; do \
26                $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 $$file ${INSTALLDIR}/$$file; \
27        done
28
29        echo "${TCL_PACKAGE_DIR}" > ${DESTDIR}${prefix}/var/macports/.tclpackage
30
31        $(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 pkgIndex.tcl ${INSTALLDIR}
Note: See TracBrowser for help on using the repository browser.