summaryrefslogtreecommitdiff
path: root/net/vls/Makefile
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-12-28 05:30:05 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-12-28 05:30:05 +0000
commit98b9a7987735a8b1862d5a5da08f595053331e38 (patch)
treee6358b9a514b0228b5e0f46f636af7868afd2e40 /net/vls/Makefile
parentA suite of offensive utilties for irssi. (diff)
- update to 0.5.4
- install documentation - preserve configuration - honor CFLAGS - add multimedia in CATEGORIES - new option WITHOUT_DVD - Fix build for 64bit - Fix linker warnings in STABLE
Notes
Notes: svn path=/head/; revision=96725
Diffstat (limited to 'net/vls/Makefile')
-rw-r--r--net/vls/Makefile43
1 files changed, 33 insertions, 10 deletions
diff --git a/net/vls/Makefile b/net/vls/Makefile
index f8f8381c3b3a..d72d9dbba7af 100644
--- a/net/vls/Makefile
+++ b/net/vls/Makefile
@@ -6,23 +6,46 @@
#
PORTNAME= vls
-PORTVERSION= 0.5.0
-CATEGORIES= net
+PORTVERSION= 0.5.4
+CATEGORIES= net multimedia
MASTER_SITES= http://www.videolan.org/pub/videolan/vls/${PORTVERSION}/
MAINTAINER= dinoex@FreeBSD.org
COMMENT= An X11 video streaming client/server solution
-LIB_DEPENDS= dvdcss.2:${PORTSDIR}/multimedia/libdvdcss \
- dvbpsi.1:${PORTSDIR}/multimedia/libdvbpsi \
+LIB_DEPENDS= dvbpsi.1:${PORTSDIR}/multimedia/libdvbpsi
+.if !defined(WITHOUT_DVD)
+LIB_DEPENDS+= dvdcss.2:${PORTSDIR}/multimedia/libdvdcss \
dvdread.3:${PORTSDIR}/multimedia/libdvdread
+.endif
+USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--with-dvdcss=${LOCALBASE} \
- --with-dvbpsi=${LOCALBASE} \
- --with-dvdread=${LOCALBASE}
-
INSTALLS_SHLIB= yes
-USE_GMAKE= yes
+CFLAGS+= -I${LOCALBASE}/inlcude
+
+CONFIGURE_ARGS+= --with-dvbpsi=${LOCALBASE}
+.if !defined(WITHOUT_DVD)
+CONFIGURE_ARGS+= --with-dvdcss=${LOCALBASE} \
+ --with-dvdread=${LOCALBASE}
+PLIST_SUB+= WITHDVD=""
+.else
+CONFIGURE_ARGS+= --disable-dvd
+PLIST_SUB+= WITHDVD="@comment "
+.endif
+
+pre-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/doc/vls-guide.sgml ${DOCSDIR}/
+ ${CP} -pR ${WRKSRC}/doc/developer ${DOCSDIR}/
+.endif
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+CONFIGURE_ENV+= VLS_LIB="-L/usr/lib -lcipher"
+.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>