1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Update to 0.6.10.

This commit is contained in:
Pierre Beyssac 2004-04-08 21:47:39 +00:00
parent 1a8aa9bab8
commit 622c54ad97
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=106520
4 changed files with 65 additions and 30 deletions

View File

@ -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>

View File

@ -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

View File

@ -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)

View File

@ -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%%