SRCS=		Pextlib.c strsed.c
LIB=		Pextlib
SHLIB_NAME=	Pextlib.dylib
NOPROFILE=	TRUE
LDADD+=		-ltcl
INSTALLDIR= /usr/local/share/darwinports/Tcl/pextlib1.0

install:
	mkdir -p ${INSTALLDIR}
	${.CURDIR}/../pkg_mkindex.tcl ${.CURDIR}
	${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} ${SHLIB_NAME} ${INSTALLDIR}
	${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} pkgIndex.tcl  ${INSTALLDIR}

afterclean:
	rm -f pkgIndex.tcl

.include <bsd.lib.mk>

SRCS=		Pextlib.c strsed.c
LIB=		Pextlib
SHLIB_NAME=	Pextlib.dylib
NOPROFILE=	TRUE
LDADD+=		-ltcl
CLEANFILES=	pkgIndex.tcl
INSTALLDIR= /usr/local/share/darwinports/Tcl/pextlib1.0

install:
	mkdir -p ${INSTALLDIR}
	${.CURDIR}/../pkg_mkindex.tcl ${.CURDIR}
	${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} ${SHLIB_NAME} ${INSTALLDIR}
	${INSTALL} ${COPY} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} pkgIndex.tcl  ${INSTALLDIR}

afterclean:
	rm -f pkgIndex.tcl

.include <bsd.lib.mk>

Clean up pkgIndex.tcl as well
Clean up pkgIndex.tcl as well

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