From 1a6905322cd57bf52f65eee120bf8eb5a0158b0c Mon Sep 17 00:00:00 2001 From: ijliao Date: Tue, 17 Feb 2004 07:41:50 +0000 Subject: add py-resourcepackage 1.0.0 Automated resource-as-package embedding mechanism --- devel/py-resourcepackage/Makefile | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 devel/py-resourcepackage/Makefile (limited to 'devel/py-resourcepackage/Makefile') diff --git a/devel/py-resourcepackage/Makefile b/devel/py-resourcepackage/Makefile new file mode 100644 index 000000000000..4e2a07ec4ec1 --- /dev/null +++ b/devel/py-resourcepackage/Makefile @@ -0,0 +1,29 @@ +# ex:ts=8 +# Ports collection makefile for: py-resourcepackage +# Date created: Feb 17, 2004 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= resourcepackage +PORTVERSION= 1.0.0 +CATEGORIES= devel python +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= ResourcePackage-${PORTVERSION} + +MAINTAINER= ports@FreeBSD.org +COMMENT= Automated resource-as-package embedding mechanism + +USE_PYTHON= yes +USE_PYDISTUTILS= yes + +post-install: + @${FIND} ${PYTHON_SITELIBDIR}/resourcepackage -type f | \ + ${SED} "s,^${PREFIX}/,," >> ${TMPPLIST} + @${FIND} ${PYTHON_SITELIBDIR}/resourcepackage -type d | ${SORT} -r | \ + ${SED} "s,^${PREFIX}/,@dirrm ," >> ${TMPPLIST} + +.include -- cgit