1999-11-26 20:31:58 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2006-03-17 18:54:44 +00:00
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2008-03-31 12:45:17 +00:00
|
|
|
SUBDIR= lib add create delete info updating version
|
2001-03-05 04:42:37 +00:00
|
|
|
|
1993-08-26 01:19:55 +00:00
|
|
|
.include <bsd.subdir.mk>
|
2008-04-09 15:08:31 +00:00
|
|
|
|
2008-05-28 14:51:01 +00:00
|
|
|
DATE!= grep PKG_INSTALL_VERSION ${.CURDIR}/lib/lib.h | sed 's|.*[ ]||'
|
2008-04-09 15:08:31 +00:00
|
|
|
|
|
|
|
distfile: clean
|
|
|
|
@(cd ${.CURDIR}/..; \
|
2008-06-16 09:15:27 +00:00
|
|
|
cp -r pkg_install pkg_install-${DATE}; \
|
|
|
|
tar -czf pkg_install/pkg_install-${DATE}.tar.gz \
|
2008-04-09 15:08:31 +00:00
|
|
|
--exclude .#* --exclude *~ --exclude CVS \
|
2008-06-03 14:48:16 +00:00
|
|
|
--exclude .svn --exclude pkg_install-*.tar.gz \
|
|
|
|
pkg_install-${DATE}; \
|
2008-06-16 09:15:27 +00:00
|
|
|
rm -rf pkg_install-${DATE})
|
2008-04-09 15:08:31 +00:00
|
|
|
|
|
|
|
|