svn commit: r321294 - in head/multimedia/lives: . files

Pawel Pekala pawel at FreeBSD.org
Wed Jun 19 17:00:06 UTC 2013


Author: pawel
Date: Wed Jun 19 17:00:05 2013
New Revision: 321294
URL: http://svnweb.freebsd.org/changeset/ports/321294

Log:
  - Update to version 2.0.5
  - Convert to new options macros, list all options in OPTIONS_DEFINE
  - Make DOXYGEN independent of DOCS option, use generated plist for it

Deleted:
  head/multimedia/lives/files/patch-src__widget-helper.h
Modified:
  head/multimedia/lives/Makefile
  head/multimedia/lives/distinfo

Modified: head/multimedia/lives/Makefile
==============================================================================
--- head/multimedia/lives/Makefile	Wed Jun 19 16:53:56 2013	(r321293)
+++ head/multimedia/lives/Makefile	Wed Jun 19 17:00:05 2013	(r321294)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	lives
-PORTVERSION=	2.0.4
+PORTVERSION=	2.0.5
 CATEGORIES=	multimedia
 MASTER_SITES=	http://salsaman.home.xs4all.nl/lives/current/
 DISTNAME=	LiVES-${PORTVERSION}
@@ -68,32 +68,20 @@ DOC_FILES=	AUTHORS BUGS ChangeLog FEATUR
 
 PORT_VERBS=	lives LiVES _encoder.py midistart midistop smogrify sendOSC
 
-OPTIONS_DEFINE=	DOXYGEN FREI0R
+OPTIONS_DEFINE=	DOCS DOXYGEN FREI0R NLS
+OPTIONS_SUB=	yes
 
-.include <bsd.port.options.mk>
+DOXYGEN_BUILD_DEPENDS=	${LOCALBASE}/bin/doxygen:${PORTSDIR}/devel/doxygen
+DOXYGEN_CONFIGURE_OFF=	--disable-doxygen
+FREI0R_BUILD_DEPENDS=	${LOCALBASE}/include/frei0r.h:${PORTSDIR}/graphics/frei0r
+FREI0R_RUN_DEPENDS=	${LOCALBASE}/include/frei0r.h:${PORTSDIR}/graphics/frei0r
+NLS_USES=		gettext
+NLS_CONFIGURE_OFF=	--disable-nls
 
-.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MDOXYGEN}
-BUILD_DEPENDS+=	${LOCALBASE}/bin/doxygen:${PORTSDIR}/devel/doxygen
-PORTDOCS=	html
-.else
-CONFIGURE_ARGS+=--disable-doxygen
-.endif
+.include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MFREI0R}
-BUILD_DEPENDS+=	${LOCALBASE}/include/frei0r.h:${PORTSDIR}/graphics/frei0r
-RUN_DEPENDS+=	${LOCALBASE}/include/frei0r.h:${PORTSDIR}/graphics/frei0r
-PLIST_SUB+=	FREI0R=""
-.else
+.if ! ${PORT_OPTIONS:MFREI0R}
 CONFIGURE_ENV+=	ac_cv_header_frei0r_h=no
-PLIST_SUB+=	FREI0R="@comment "
-.endif
-
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-PLIST_SUB+=	NLS=""
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB+=	NLS="@comment "
 .endif
 
 post-patch:
@@ -121,9 +109,13 @@ post-patch:
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
 	@${MKDIR} ${DOCSDIR}
-.for file in ${DOC_FILES}
-	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
-.endfor
+	${INSTALL_DATA} ${DOC_FILES:S|^|${WRKSRC}/|} ${DOCSDIR}
+.endif
+.if ${PORT_OPTIONS:MDOXYGEN}
+	@cd ${PREFIX} && \
+	${FIND} ${DOCSDIR:S|${PREFIX}/||} ! -type d >> ${TMPPLIST} && \
+	${FIND} ${DOCSDIR:S|${PREFIX}/||} -type d | ${SORT} -r | \
+	${SED} 's|^|@dirrm |' >> ${TMPPLIST}
 .endif
 
 .include <bsd.port.mk>

Modified: head/multimedia/lives/distinfo
==============================================================================
--- head/multimedia/lives/distinfo	Wed Jun 19 16:53:56 2013	(r321293)
+++ head/multimedia/lives/distinfo	Wed Jun 19 17:00:05 2013	(r321294)
@@ -1,2 +1,2 @@
-SHA256 (LiVES-2.0.4.tar.bz2) = a01bbf82687f4c669955e54926e80e8fb6a758c782ed3f974cf48de6cfb64e3f
-SIZE (LiVES-2.0.4.tar.bz2) = 3515562
+SHA256 (LiVES-2.0.5.tar.bz2) = 28c75b035594f4a3490fb4f4dd419cc02912ca20ec456cbe957b226df2b24f78
+SIZE (LiVES-2.0.5.tar.bz2) = 3518054


More information about the svn-ports-all mailing list