aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorpb <pb@FreeBSD.org>2004-04-09 05:47:39 +0800
committerpb <pb@FreeBSD.org>2004-04-09 05:47:39 +0800
commitb1491bf482da1db3fc505d9a9d0927f39bd2b21e (patch)
tree4e65fa580cfb0b167f115f018fbda1948ba255f6 /multimedia
parentd42a8f1fdd483749823c5b9672d0f039c60de5aa (diff)
downloadfreebsd-ports-graphics-b1491bf482da1db3fc505d9a9d0927f39bd2b21e.tar.gz
freebsd-ports-graphics-b1491bf482da1db3fc505d9a9d0927f39bd2b21e.tar.zst
freebsd-ports-graphics-b1491bf482da1db3fc505d9a9d0927f39bd2b21e.zip
Update to 0.6.10.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/dvdauthor/Makefile56
-rw-r--r--multimedia/dvdauthor/distinfo4
-rw-r--r--multimedia/dvdauthor/files/patch-dvdauthor.c11
-rw-r--r--multimedia/dvdauthor/pkg-plist24
4 files changed, 65 insertions, 30 deletions
diff --git a/multimedia/dvdauthor/Makefile b/multimedia/dvdauthor/Makefile
index 20a9111f7d0..2272bd9a628 100644
--- a/multimedia/dvdauthor/Makefile
+++ b/multimedia/dvdauthor/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= dvdauthor
-PORTVERSION= 0.6.9
-PORTREVISION= 1
+PORTVERSION= 0.6.10
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -17,15 +16,62 @@ COMMENT= Makes a DVD file structure from one or more MPEG2 streams
BUILD_DEPENDS= bison:${PORTSDIR}/devel/bison
LIB_DEPENDS= dvdread.3:${PORTSDIR}/multimedia/libdvdread \
- png.5:${PORTSDIR}/graphics/png \
xml2.5:${PORTSDIR}/textproc/libxml2
USE_GETOPT_LONG=yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
MAN1= dvdauthor.1 spumux.1
+.include <bsd.port.pre.mk>
+
+.if exists(${LOCALBASE}/lib/libfreetype.so.9)
+WITH_FREETYPE= yes
+.endif
+.if exists(${LOCALBASE}/lib/libfridibi.so.0)
+WITH_FRIBIDI= yes
+.endif
+.if exists(${LOCALBASE}/lib/libiconv.so)
+WITH_ICONV= yes
+.endif
+.if exists(${LOCALBASE}/lib/libMagick.so.6)
+WITH_IMAGEMAGICK= yes
+.endif
+
+.if defined(WITH_FREETYPE)
+LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2
+.endif
+.if defined(WITH_FRIBIDI)
+LIB_DEPENDS+= libfribidi.0:${PORTSDIR}/converters/fribidi
+.endif
+.if defined(WITH_ICONV)
+USE_ICONV= yes
+.endif
+.if defined(WITH_IMAGEMAGICK)
+LIB_DEPENDS+= Magick.6:${PORTSDIR}/graphics/ImageMagick
+.else
+LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png
+.endif
+
+pre-everything::
+.if !defined(WITH_FREETYPE)
+ @${ECHO_MSG} "You can enable Freetype support by defining WITH_FREETYPE."
+ @${ECHO_MSG}
+.endif
+.if !defined(WITH_FRIBIDI)
+ @${ECHO_MSG} "You can enable FriBidi support by defining WITH_FRIBIDI."
+ @${ECHO_MSG}
+.endif
+.if !defined(WITH_ICONV)
+ @${ECHO_MSG} "You can enable Iconv support by defining WITH_ICONV."
+ @${ECHO_MSG}
+.endif
+.if !defined(WITH_IMAGEMAGICK)
+ @${ECHO_MSG} "You can enable ImageMagick support by defining WITH_IMAGEMAGICK."
+ @${ECHO_MSG}
+.endif
+
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/dvdauthor
@@ -38,4 +84,4 @@ post-install:
done
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/multimedia/dvdauthor/distinfo b/multimedia/dvdauthor/distinfo
index f05e8b2ed2d..ef555fc7adc 100644
--- a/multimedia/dvdauthor/distinfo
+++ b/multimedia/dvdauthor/distinfo
@@ -1,2 +1,2 @@
-MD5 (dvdauthor-0.6.9.tar.gz) = f01c7d62faf67a14695022349e2bb78d
-SIZE (dvdauthor-0.6.9.tar.gz) = 235974
+MD5 (dvdauthor-0.6.10.tar.gz) = e98243cd2a12bd723680dd49536f7318
+SIZE (dvdauthor-0.6.10.tar.gz) = 240010
diff --git a/multimedia/dvdauthor/files/patch-dvdauthor.c b/multimedia/dvdauthor/files/patch-dvdauthor.c
deleted file mode 100644
index bdd61633666..00000000000
--- a/multimedia/dvdauthor/files/patch-dvdauthor.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/dvdauthor.c.orig Fri Jan 16 20:55:42 2004
-+++ src/dvdauthor.c Tue Jan 20 17:59:45 2004
-@@ -340,7 +340,7 @@
- if( ch>=va->numaudiotracks )
- va->numaudiotracks=ch+1;
-
-- audiodesc_set_audio_attr(&va->ad[ch],&va->adwarn[ch],attr,s);
-+ return audiodesc_set_audio_attr(&va->ad[ch],&va->adwarn[ch],attr,s);
- }
-
- static int vobgroup_set_subpic_attr(struct vobgroup *va,int attr,char *s,int ch)
diff --git a/multimedia/dvdauthor/pkg-plist b/multimedia/dvdauthor/pkg-plist
index 91ce57bf7ae..710625e7599 100644
--- a/multimedia/dvdauthor/pkg-plist
+++ b/multimedia/dvdauthor/pkg-plist
@@ -4,15 +4,15 @@ bin/dvdunauthor
bin/mpeg2desc
bin/spumux
bin/spuunmux
-%%PORTDOCS%%share/doc/dvdauthor/README
-%%PORTDOCS%%share/doc/dvdauthor/README.FreeBSD
-%%PORTDOCS%%share/doc/dvdauthor/dvdauthor.html
-%%PORTDOCS%%share/doc/dvdauthor/ex-title.html
-%%PORTDOCS%%share/doc/dvdauthor/examples.html
-%%PORTDOCS%%share/doc/dvdauthor/index.html
-%%PORTDOCS%%share/doc/dvdauthor/languages.html
-%%PORTDOCS%%share/doc/dvdauthor/lib.txt
-%%PORTDOCS%%share/doc/dvdauthor/manpages.html
-%%PORTDOCS%%share/doc/dvdauthor/menu.txt
-%%PORTDOCS%%share/doc/dvdauthor/spumux.html
-%%PORTDOCS%%@dirrm share/doc/dvdauthor
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/README.FreeBSD
+%%PORTDOCS%%%%DOCSDIR%%/dvdauthor.html
+%%PORTDOCS%%%%DOCSDIR%%/ex-title.html
+%%PORTDOCS%%%%DOCSDIR%%/examples.html
+%%PORTDOCS%%%%DOCSDIR%%/index.html
+%%PORTDOCS%%%%DOCSDIR%%/languages.html
+%%PORTDOCS%%%%DOCSDIR%%/lib.txt
+%%PORTDOCS%%%%DOCSDIR%%/manpages.html
+%%PORTDOCS%%%%DOCSDIR%%/menu.txt
+%%PORTDOCS%%%%DOCSDIR%%/spumux.html
+%%PORTDOCS%%@dirrm %%DOCSDIR%%