INSTALLDIR=	${DESTDIR}${datadir}/darwinports/Tcl/package1.0

SRCS=	package.tcl portdmg.tcl portmpkg.tcl portpkg.tcl portrpmpackage.tcl \
	portdpkg.tcl

include ../../Mk/dports.subdir.mk
include ../../Mk/dports.autoconf.mk

all::

clean::

distclean::

install::
	$(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m 775 ${DESTDIR}${datadir}/darwinports
	$(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m 775 ${DESTDIR}${datadir}/darwinports/Tcl
	$(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m 775 ${INSTALLDIR}
	$(SILENT)set -x; for file in ${SRCS}; do \
		$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 $$file ${INSTALLDIR}; \
	done
	$(SILENT) $(TCLSH) ../pkg_mkindex.tcl ${INSTALLDIR}

INSTALLDIR=	${DESTDIR}${datadir}/darwinports/Tcl/package1.0

SRCS=	package.tcl portdmg.tcl portmpkg.tcl portpkg.tcl portrpmpackage.tcl \
	portdpkg.tcl

include ../../Mk/dports.autoconf.mk

all::

clean::

distclean::

install::
	$(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m 775 ${DESTDIR}${datadir}/darwinports
	$(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m 775 ${DESTDIR}${datadir}/darwinports/Tcl
	$(INSTALL) -d -o ${DSTUSR} -g ${DSTGRP} -m 775 ${INSTALLDIR}
	$(SILENT)set -x; for file in ${SRCS}; do \
		$(INSTALL) -o ${DSTUSR} -g ${DSTGRP} -m 444 $$file ${INSTALLDIR}; \
	done
	$(SILENT) $(TCLSH) ../pkg_mkindex.tcl ${INSTALLDIR}

Patch for Makefile to make it work without GNU make Submitted by: blb@pobox.com Reviewed by: ssen@
Patch for Makefile to make it work without GNU make
Submitted by:   blb@pobox.com
Reviewed by:    ssen@

git-svn-id: 620571fa9b4bd0cbce9a0cf901e91ef896adbf27@6716 d073be05-634f-4543-b044-5fe20cf6d1d6
