diff options
Diffstat (limited to 'multimedia/subtitlecomposer-kde4/Makefile')
-rw-r--r-- | multimedia/subtitlecomposer-kde4/Makefile | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/multimedia/subtitlecomposer-kde4/Makefile b/multimedia/subtitlecomposer-kde4/Makefile index f55037b8f3e0..a480713b8a60 100644 --- a/multimedia/subtitlecomposer-kde4/Makefile +++ b/multimedia/subtitlecomposer-kde4/Makefile @@ -6,7 +6,7 @@ # PORTNAME= subtitlecomposer -PORTVERSION= 0.3 +PORTVERSION= 0.4.0 CATEGORIES= multimedia MASTER_SITES= SF MASTER_SITE_SUBDIR=subcomposer @@ -18,11 +18,26 @@ LIB_DEPENDS= tag.5:${PORTSDIR}/audio/taglib RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer USE_BZIP2= yes -USE_AUTOTOOLS= libtool:15 +USE_AUTOTOOLS= automake:17:env libtool:15 +USE_PERL5_BUILD=yes USE_KDELIBS_VER=3 GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-gstreamer +INSTALLS_ICONS= yes -WRKSRC= ${WRKDIR}/${PORTNAME} +OPTIONS= XINE "Enable Xine backend" off -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if defined(WITH_XINE) +LIB_DEPENDS+= xine.1:${PORTSDIR}/multimedia/libxine +.else +CONFIGURE_ARGS+=--without-xine +.endif + +pre-configure: + @cd ${CONFIGURE_WRKSRC} \ + && ${SETENV} ${AUTOTOOLS_ENV} ${AUTOMAKE} ${AUTOMAKE_ARGS} \ + && ${PERL} admin/am_edit + +.include <bsd.port.post.mk> |