Lines 8-33
Link Here
|
8 |
PORTVERSION= 0.6 |
8 |
PORTVERSION= 0.6 |
9 |
PORTREVISION= 1 |
9 |
PORTREVISION= 1 |
10 |
CATEGORIES= audio python |
10 |
CATEGORIES= audio python |
11 |
MASTER_SITES= http://spacepants.org/src/pymad/download/ |
11 |
MASTER_SITES= GOOGLE_CODE |
12 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
12 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
13 |
DISTNAME= pymad-${PORTVERSION} |
13 |
DISTNAME= pymad-${PORTVERSION} |
14 |
|
14 |
|
15 |
MAINTAINER= ports@FreeBSD.org |
15 |
MAINTAINER= ports@FreeBSD.org |
16 |
COMMENT= Python module that provides the MPEG Audio Decoder interface |
16 |
COMMENT= Python module that provides the MPEG Audio Decoder interface |
17 |
|
17 |
|
|
|
18 |
LICENSE= LGPL20 |
19 |
LICENSE_FILE= ${WRKSRC}/COPYING |
20 |
|
18 |
LIB_DEPENDS= mad.2:${PORTSDIR}/audio/mad |
21 |
LIB_DEPENDS= mad.2:${PORTSDIR}/audio/mad |
19 |
|
22 |
|
20 |
PLIST_FILES= %%PYTHON_SITELIBDIR%%/madmodule.so |
23 |
PROJECTHOST= pymad |
21 |
USE_PYTHON= yes |
24 |
USE_PYTHON= yes |
22 |
USE_PYDISTUTILS= yes |
25 |
USE_PYDISTUTILS= yes |
23 |
USE_PYTHON_PREFIX= yes |
26 |
USE_PYTHON_PREFIX= yes |
24 |
PYDISTUTILS_PKGNAME= pymad |
27 |
PYDISTUTILS_PKGNAME= pymad |
25 |
|
28 |
|
|
|
29 |
PLIST_FILES= %%PYTHON_SITELIBDIR%%/madmodule.so |
30 |
|
26 |
post-patch: |
31 |
post-patch: |
27 |
@${REINPLACE_CMD} 's/^\(.*compile.*\)\?\(.*\)\?\(.*\)$$/\1\2\3/' \ |
32 |
@${REINPLACE_CMD} 's/^\(.*compile.*\)\?\(.*\)\?\(.*\)$$/\1\2\3/' \ |
28 |
${WRKSRC}/setup.py |
33 |
${WRKSRC}/setup.py |
29 |
|
34 |
|
30 |
do-configure: |
35 |
do-configure: |
31 |
@cd ${WRKSRC} && ${MAKE_ENV} ${PYTHON_CMD} config_unix.py --prefix ${LOCALBASE} |
36 |
@cd ${WRKSRC} && ${MAKE_ENV} ${PYTHON_CMD} config_unix.py --prefix ${PYTHONBASE} |
32 |
|
37 |
|
33 |
.include <bsd.port.mk> |
38 |
.include <bsd.port.mk> |