aboutsummaryrefslogtreecommitdiff
path: root/multimedia/quvi/Makefile
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2010-08-01 17:23:40 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2010-08-01 17:23:40 +0000
commit12e2a55236a0d647432ef22bceefca6daf700805 (patch)
treea0e6f677e6d9585452555b022e7f30836bfdff59 /multimedia/quvi/Makefile
parent95b3903d4c84912281fa33301cd74e2f71f32f82 (diff)
downloadports-12e2a55236a0d647432ef22bceefca6daf700805.tar.gz
ports-12e2a55236a0d647432ef22bceefca6daf700805.zip
Notes
Diffstat (limited to 'multimedia/quvi/Makefile')
-rw-r--r--multimedia/quvi/Makefile39
1 files changed, 24 insertions, 15 deletions
diff --git a/multimedia/quvi/Makefile b/multimedia/quvi/Makefile
index 3cf6b253a885..393a361633c0 100644
--- a/multimedia/quvi/Makefile
+++ b/multimedia/quvi/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= quvi
-PORTVERSION= 0.1.4
+PORTVERSION= 0.2.1
CATEGORIES= multimedia devel
MASTER_SITES= GOOGLE_CODE
@@ -16,33 +16,42 @@ COMMENT= Query video library for Youtube like websites
LIB_DEPENDS= curl.6:${PORTSDIR}/ftp/curl \
pcre.0:${PORTSDIR}/devel/pcre
-USE_LDCONFIG= yes
-SHLIB_VER= 1
-
-MAKE_ENV= SHLIB_VER="${SHLIB_VER}"
-PLIST_SUB= SHLIB_VER="${SHLIB_VER}"
-
-MAN1= quvi.1
+LICENSE= GPLv3
-USE_BZIP2= yes
+CONFIGURE_ARGS= --enable-broken --enable-examples
+CONFIGURE_ENV= CPPFLAGS='${CPPFLAGS} -I${WRKSRC}/include \
+ -I${LOCALBASE}/include'
GNU_CONFIGURE= yes
-USE_GNOME= pkgconfig
+USE_BZIP2= yes
+USE_GNOME= gnomehack pkgconfig
USE_ICONV= yes
+USE_LDCONFIG= yes
+USE_LUA= yes
-CONFIGURE_ENV+= CPPFLAGS='${CPPFLAGS} -I${WRKSRC}/include \
- -I${LOCALBASE}/include'
+MAN1= quvi.1
+PLIST_SUB= SHLIB_VER="${SHLIB_VER}"
OPTIONS= SMUT "Enable adult website support" off
+SHLIB_VER= 2
+
+.if defined(NOPORTDOCS)
+CONFIGURE_ARGS+=--without-doc
+.endif
+
.include <bsd.port.pre.mk>
.if defined(WITH_SMUT)
CONFIGURE_ARGS+=--enable-smut
+PLIST_SUB+= SMUT=""
+.else
+PLIST_SUB+= SMUT="@comment "
.endif
post-patch:
- @${REINPLACE_CMD} -E -e \
- 's|\$$\(libdir\)/pkgconfig|\$$\(prefix\)/libdata/pkgconfig|' \
- ${WRKSRC}/Makefile.in
+.if defined(NOPORTDOCS)
+ @${REINPLACE_CMD} -e '/install-data-am:/ s| install-docDATA||' \
+ ${WRKSRC}/doc/Makefile.in
+.endif
.include <bsd.port.post.mk>