mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
4de092c40b
Automated resource-as-package embedding mechanism
30 lines
740 B
Makefile
30 lines
740 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
|
|
|
|
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>
|