diff options
author | lioux <lioux@FreeBSD.org> | 2001-10-18 05:31:57 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2001-10-18 05:31:57 +0800 |
commit | c06a299dd0ade5e3519f5bac55d9c5640ecbad8e (patch) | |
tree | 5c9648a3f228dfe7bac984b790e25f928f0d43e6 /multimedia/libdvdread/Makefile | |
parent | 8948e84e6fe4d70ed79ea402b67bd3926650eca9 (diff) | |
download | freebsd-ports-gnome-c06a299dd0ade5e3519f5bac55d9c5640ecbad8e.tar.gz freebsd-ports-gnome-c06a299dd0ade5e3519f5bac55d9c5640ecbad8e.tar.zst freebsd-ports-gnome-c06a299dd0ade5e3519f5bac55d9c5640ecbad8e.zip |
o update to 0.9.2 (shared lib version bump)
o CFLAGS safeness (tweakable by WITH_OPTIMIZED_CFLAGS)
o support NOPORTDOCS
PR: 31312
Submitted by: Rahul Siddharthan <rsidd@online.fr>,
Thomas E. Zander <riggs@hadiko.de>
Approved by: MAINTAINER
Diffstat (limited to 'multimedia/libdvdread/Makefile')
-rw-r--r-- | multimedia/libdvdread/Makefile | 35 |
1 files changed, 25 insertions, 10 deletions
diff --git a/multimedia/libdvdread/Makefile b/multimedia/libdvdread/Makefile index 9805950f3b00..451ffb3b1d85 100644 --- a/multimedia/libdvdread/Makefile +++ b/multimedia/libdvdread/Makefile @@ -6,23 +6,38 @@ # PORTNAME= libdvdread -PORTVERSION= 0.8.0 +PORTVERSION= 0.9.2 CATEGORIES= graphics -MASTER_SITES= http://www.dtek.chalmers.se/groups/dvd/ +MASTER_SITES= http://www.dtek.chalmers.se/groups/dvd/dist/ MAINTAINER= 3d@FreeBSD.org -USE_GMAKE= yes -USE_AUTOMAKE= yes -AUTOMAKE_ARGS= --add-missing --copy +GNU_CONFIGURE= yes USE_LIBTOOL= yes INSTALLS_SHLIB= yes -USE_NEWGCC= yes +DOC_FILES= AUTHORS NEWS README TODO -# cf the excellent goat book: -# http://sources.redhat.com/autobook/autobook/autobook_43.html -post-patch: - @cd ${WRKSRC} && ./bootstrap +# optional CFLAGS safeness +.if !defined(WITH_OPTIMIZED_CFLAGS) +USE_AUTOCONF= yes +EXTRA_PATCHES= ${FILESDIR}/extra-patch-configure.in +.endif + +pre-everything:: +.if !defined(WITH_OPTIMIZED_CFLAGS) + @${ECHO_MSG} "====> If you want to enable optimizations, please define WITH_OPTIMIZED_CFLAGS" +.endif + +post-configure: + @${LN} -sf ${LOCALBASE}/bin/libtool ${WRKSRC} + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for file in ${DOC_FILES} + @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.endfor +.endif .include <bsd.port.mk> |