diff options
author | ijliao <ijliao@FreeBSD.org> | 2004-02-17 15:41:50 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2004-02-17 15:41:50 +0800 |
commit | 1a6905322cd57bf52f65eee120bf8eb5a0158b0c (patch) | |
tree | f479914edb1a635af590273d6816826e33527b80 /devel/py-resourcepackage/Makefile | |
parent | cddd1f64092e2c3224d4785d1fbbbe9d1ba24c31 (diff) | |
download | freebsd-ports-gnome-1a6905322cd57bf52f65eee120bf8eb5a0158b0c.tar.gz freebsd-ports-gnome-1a6905322cd57bf52f65eee120bf8eb5a0158b0c.tar.zst freebsd-ports-gnome-1a6905322cd57bf52f65eee120bf8eb5a0158b0c.zip |
add py-resourcepackage 1.0.0
Automated resource-as-package embedding mechanism
Diffstat (limited to 'devel/py-resourcepackage/Makefile')
-rw-r--r-- | devel/py-resourcepackage/Makefile | 29 |
1 files changed, 29 insertions, 0 deletions
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 <bsd.port.mk> |