From c06a299dd0ade5e3519f5bac55d9c5640ecbad8e Mon Sep 17 00:00:00 2001 From: lioux Date: Wed, 17 Oct 2001 21:31:57 +0000 Subject: 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 , Thomas E. Zander Approved by: MAINTAINER --- multimedia/libdvdread/Makefile | 35 +++++++++++++++++++++++++---------- 1 file changed, 25 insertions(+), 10 deletions(-) (limited to 'multimedia/libdvdread/Makefile') 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 -- cgit