blob: 4e2a07ec4ec1aca1c031b0a1ff58f7fd1c7f81d2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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>
|