svn commit: r397631 - head/multimedia/lives

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Sep 23 18:52:20 UTC 2015


Author: amdmi3
Date: Wed Sep 23 18:52:19 2015
New Revision: 397631
URL: https://svnweb.freebsd.org/changeset/ports/397631

Log:
  - Switch to options helpers
  - Fix shebangs
  
  Approved by:	portmgr blanket

Modified:
  head/multimedia/lives/Makefile

Modified: head/multimedia/lives/Makefile
==============================================================================
--- head/multimedia/lives/Makefile	Wed Sep 23 18:27:50 2015	(r397630)
+++ head/multimedia/lives/Makefile	Wed Sep 23 18:52:19 2015	(r397631)
@@ -3,8 +3,9 @@
 
 PORTNAME=	lives
 PORTVERSION=	2.4.2
+PORTREVISION=	1
 CATEGORIES=	multimedia
-MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}/ 
+MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}/
 
 MAINTAINER=	pawel at FreeBSD.org
 COMMENT=	Video editing system
@@ -44,7 +45,8 @@ WRKSRC=		${WRKDIR}/${DISTNAME:tl}
 USES=		ghostscript:run libtool pathfix perl5 pkgconfig python \
 		shebangfix tar:bzip2
 SHEBANG_FILES=	build-lives-rfx-plugin build-lives-rfx-plugin-multi \
-		smogrify tools/autolives.pl
+		smogrify tools/autolives.pl lives-plugins/plugins/encoders/*_encoder \
+		lives-plugins/plugins/playback/audiostream/audiostreamer.pl
 GNU_CONFIGURE=	yes
 USE_CSTD=	gnu89
 USE_GNOME=	gtk30 intltool
@@ -71,17 +73,14 @@ DOXYGEN_BUILD_DEPENDS=	doxygen:${PORTSDI
 DOXYGEN_CONFIGURE_OFF=	--disable-doxygen
 FREI0R_BUILD_DEPENDS=	frei0r>0:${PORTSDIR}/graphics/frei0r
 FREI0R_RUN_DEPENDS=	frei0r>0:${PORTSDIR}/graphics/frei0r
+FREI0R_CONFIGURE_ENV_OFF=	ac_cv_header_frei0r_h=no
 MATROSKA_RUN_DEPENDS=	mkvmerge:${PORTSDIR}/multimedia/mkvtoolnix
 NLS_USES=		gettext
 NLS_CONFIGURE_OFF=	--disable-nls
 
-.include <bsd.port.options.mk>
-
-.if ! ${PORT_OPTIONS:MFREI0R}
-CONFIGURE_ENV+=	ac_cv_header_frei0r_h=no
-.endif
-
 post-patch:
+	@${REINPLACE_CMD} -e 's|${perl_OLD_CMD}|${perl_CMD}|' \
+		${WRKSRC}/build-lives-rfx-plugin
 	@${REINPLACE_CMD} -e 's| install-docDATA||g; s|-$$(VERSION)||g' \
 		${WRKSRC}/Makefile.in
 	@${REINPLACE_CMD} -e 's|: install-data-local |: |g; s|-ldl||' \
@@ -95,17 +94,15 @@ post-patch:
 	@${REINPLACE_CMD} '/selectRandom/d' \
 		${WRKSRC}/lives-plugins/weed-plugins/projectM.cpp
 
-pre-build:
-.if ${PORT_OPTIONS:MNLS}
+pre-build-NLS-on:
 	@cd ${WRKSRC}/po && ${DO_MAKE_BUILD} update-po
-.endif
 
 post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${DOC_FILES:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
-.if ${PORT_OPTIONS:MDOXYGEN}
+
+post-install-DOXYGEN-on:
 	@(cd ${STAGEDIR}${PREFIX} && ${FIND} ${DOCSDIR:S|${PREFIX}/||}/html \
 		! -type d >> ${TMPPLIST})
-.endif
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list