1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Update to 0.8.2.

- Stop installing standard license.
- Use OPTIONSng.
- Cleanup the Makefile.

Reported by:	pointyhat (beat)
This commit is contained in:
Alberto Villa 2012-09-03 19:16:57 +00:00
parent 4abe0fcb25
commit f5dc6d9a73
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=303612

View File

@ -7,7 +7,7 @@
#
PORTNAME= mlt
PORTVERSION= 0.8.0
PORTVERSION= 0.8.2
CATEGORIES= multimedia python
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -16,10 +16,8 @@ MAINTAINER= avilla@FreeBSD.org
COMMENT= Python bindings for the MLT multimedia framework
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/GPL
LIB_DEPENDS= mlt.5:${PORTSDIR}/multimedia/mlt
LIB_DEPENDS= mlt:${PORTSDIR}/multimedia/mlt
BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13
USE_PYTHON= yes
@ -35,10 +33,12 @@ PLIST_FILES= %%PYTHON_SITELIBDIR%%/_mlt.so \
BUILD_WRKSRC= ${WRKSRC}/src/swig/python
INSTALL_WRKSRC= ${BUILD_WRKSRC}
.include <bsd.port.options.mk>
do-build:
${REINPLACE_CMD} -e 's|-L../../mlt++|-L${LOCALBASE}/lib|g' \
-e 's|g++|g++ ${CXXFLAGS}|g' \
-e 's|-pthread|${PTHREAD_LIBS}|g' \
${REINPLACE_CMD} -e 's|-L../../mlt++|-L${LOCALBASE}/lib|' \
-e 's|g++|${CXX} ${CXXFLAGS}|' \
-e 's|-pthread|${PTHREAD_LIBS}|' \
${BUILD_WRKSRC}/build
cd ${BUILD_WRKSRC} && ${SH} build
@ -49,11 +49,11 @@ do-install:
${PYTHON_CMD} -Oc 'import mlt'
post-install:
.ifndef(NOPORTEXAMPLES)
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${EXAMPLESDIR}/python
.for f in codecs getimage play waveforms
. for f in codecs getimage play waveforms
${INSTALL_DATA} ${INSTALL_WRKSRC}/${f}.py ${EXAMPLESDIR}/python
.endfor
. endfor
.endif
.include <bsd.port.mk>