diff options
author | Rusmir Dusko <nemysis@FreeBSD.org> | 2013-11-07 19:14:47 +0000 |
---|---|---|
committer | Rusmir Dusko <nemysis@FreeBSD.org> | 2013-11-07 19:14:47 +0000 |
commit | 707bfb110062e4ead49eee42937f852cfeb635a4 (patch) | |
tree | f15e2818484709902f9cd09fadca059c6f794210 /multimedia | |
parent | 1c8c69c5e79fc65dfe1a6b72f0193f913e30b291 (diff) | |
download | ports-707bfb110062e4ead49eee42937f852cfeb635a4.tar.gz ports-707bfb110062e4ead49eee42937f852cfeb635a4.zip |
Notes
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/dvdauthor/Makefile | 40 | ||||
-rw-r--r-- | multimedia/dvdauthor/pkg-plist | 12 |
2 files changed, 23 insertions, 29 deletions
diff --git a/multimedia/dvdauthor/Makefile b/multimedia/dvdauthor/Makefile index e89f311886a2..57b37531b431 100644 --- a/multimedia/dvdauthor/Makefile +++ b/multimedia/dvdauthor/Makefile @@ -6,35 +6,34 @@ PORTVERSION= 0.7.1 CATEGORIES= multimedia MASTER_SITES= SF -MAINTAINER= nemysis@gmx.ch +MAINTAINER= nemysis@FreeBSD.org COMMENT= Makes a DVD file structure from one or more MPEG2 streams LICENSE= GPLv2 -LIB_DEPENDS= dvdread:${PORTSDIR}/multimedia/libdvdread \ - fribidi:${PORTSDIR}/converters/fribidi \ - freetype:${PORTSDIR}/print/freetype2 \ - png15:${PORTSDIR}/graphics/png \ - expat:${PORTSDIR}/textproc/expat2 \ - fontconfig:${PORTSDIR}/x11-fonts/fontconfig +LIB_DEPENDS= libdvdread.so:${PORTSDIR}/multimedia/libdvdread \ + libfribidi.so:${PORTSDIR}/converters/fribidi \ + libfreetype.so:${PORTSDIR}/print/freetype2 \ + libpng15.so:${PORTSDIR}/graphics/png \ + libexpat.so:${PORTSDIR}/textproc/expat2 \ + libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig WRKSRC= ${WRKDIR}/${PORTNAME} -USES= pkgconfig iconv +USES= gmake iconv pkgconfig USE_GNOME= libxml2 GNU_CONFIGURE= yes -USE_GMAKE= yes CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib +PORTDOCS= * + DOCSRCDIR1= ${WRKSRC} DOC_FILES1= AUTHORS ChangeLog README TODO DOCSRCDIR2= ${WRKDIR} DOC_FILES2= README.FreeBSD -MAN1= dvdauthor.1 dvddirdel.1 dvdunauthor.1 mpeg2desc.1 spumux.1 spuunmux.1 - -OPTIONS_DEFINE= VIDEO-FORMAT IMAGEMAGICK +OPTIONS_DEFINE= DOCS IMAGEMAGICK VIDEO-FORMAT OPTIONS_SINGLE= VIDEO-FORMAT OPTIONS_SINGLE_VIDEO-FORMAT= NTSC PAL @@ -45,7 +44,8 @@ PAL_DESC= Default video format PAL SUB_FILES= README.FreeBSD -NO_STAGE= yes +IMAGEMAGICK_LIB_DEPENDS= libMagick++.so:${PORTSDIR}/graphics/ImageMagick + .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MNTSC} @@ -60,21 +60,15 @@ CONFIGURE_ENV+= --enable-default-video-format=PAL .endif .endif -.if ${PORT_OPTIONS:MIMAGEMAGICK} -LIB_DEPENDS+= Magick:${PORTSDIR}/graphics/ImageMagick -.endif - pre-configure: -.if !${PORT_OPTIONS:MIMAGEMAGICK} +.if ! ${PORT_OPTIONS:MIMAGEMAGICK} @${REINPLACE_CMD} 's|usemagick=1|usemagick=0|g' \ ${WRKSRC}/configure .endif post-install: -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${DOCSDIR} - ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${DOCSDIR} -.endif + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/multimedia/dvdauthor/pkg-plist b/multimedia/dvdauthor/pkg-plist index 646ed8c09d83..4567ebf69e05 100644 --- a/multimedia/dvdauthor/pkg-plist +++ b/multimedia/dvdauthor/pkg-plist @@ -4,13 +4,13 @@ bin/dvdunauthor bin/mpeg2desc bin/spumux bin/spuunmux -%%PORTDOCS%%%%DOCSDIR%%/AUTHORS -%%PORTDOCS%%%%DOCSDIR%%/ChangeLog -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/README.FreeBSD -%%PORTDOCS%%%%DOCSDIR%%/TODO +man/man1/dvdauthor.1.gz +man/man1/dvddirdel.1.gz +man/man1/dvdunauthor.1.gz +man/man1/mpeg2desc.1.gz +man/man1/spumux.1.gz +man/man1/spuunmux.1.gz %%DATADIR%%/common.xsd %%DATADIR%%/dvdauthor.xsd %%DATADIR%%/spumux.xsd @dirrm %%DATADIR%% -%%PORTDOCS%%@dirrm %%DOCSDIR%% |