freebsd-ports/devel/py-resourcepackage/Makefile
Alexander Botero-Lowry 4942ce5a7d - Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with
   Python Eggs and the easy_install system

Tested by:	pointyhat runs
Approved by:	pav (portmgr)
Most work by:	perky
Thanks to:	pav
2007-07-30 09:42:28 +00:00

30 lines
777 B
Makefile

# 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
PYDISTUTILS_PKGNAME= ResourcePackage
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>