aboutsummaryrefslogtreecommitdiff
path: root/audio/libgpod
diff options
context:
space:
mode:
authorAlberto Villa <avilla@FreeBSD.org>2015-06-11 15:09:27 +0000
committerAlberto Villa <avilla@FreeBSD.org>2015-06-11 15:09:27 +0000
commit00b5ccc5afb271977f16ccc89099bd53f68840c3 (patch)
tree0eb36b2b61fc32a92ce20b776a5c66dae143398d /audio/libgpod
parent1fd64ca33a4b1645f1cc3bbd4afe4e05d98914d0 (diff)
downloadports-00b5ccc5afb271977f16ccc89099bd53f68840c3.tar.gz
ports-00b5ccc5afb271977f16ccc89099bd53f68840c3.zip
Notes
Diffstat (limited to 'audio/libgpod')
-rw-r--r--audio/libgpod/Makefile19
-rw-r--r--audio/libgpod/pkg-descr2
2 files changed, 14 insertions, 7 deletions
diff --git a/audio/libgpod/Makefile b/audio/libgpod/Makefile
index 2bb189b1fe64..b4591a8d9517 100644
--- a/audio/libgpod/Makefile
+++ b/audio/libgpod/Makefile
@@ -3,7 +3,7 @@
PORTNAME= libgpod
PORTVERSION= 0.8.3
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= audio
MASTER_SITES= SF/gtkpod/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}
@@ -25,16 +25,24 @@ CONFIGURE_ARGS= --disable-udev --without-hal \
USE_CSTD= gnu89
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
+INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
-OPTIONS_DEFINE= DOCS IMOBILE MONO PYTHON
+OPTIONS_DEFINE= DOCS IMOBILE PYTHON # MONO
OPTIONS_DEFAULT=IMOBILE
OPTIONS_SUB= yes
IMOBILE_DESC= Apple iPhone/iPod Touch support
+IMOBILE_LIB_DEPENDS= libimobiledevice.so:${PORTSDIR}/comms/libimobiledevice
+IMOBILE_CONFIGURE_ENV= LIBUSB_CFLAGS=" " LIBUSB_LIBS="-lusb"
+IMOBILE_CONFIGURE_WITH= libimobiledevice
+
+# Mono 4+ doesn't seem to be supported.
MONO_USE= GNOME=gtksharp20
MONO_CONFIGURE_WITH= mono
+CONFIGURE_ARGS+= --without-mono
+PLIST_SUB+= MONO="@comment "
PYTHON_BUILD_DEPENDS= swig2.0:${PORTSDIR}/devel/swig20 \
${PYTHON_SITELIBDIR}/mutagen/__init__.py:${PORTSDIR}/audio/py-mutagen
@@ -50,10 +58,6 @@ PORTDOCS= ChangeLog NEWS README*
.if ${PORT_OPTIONS:MIMOBILE}
COMMENT:= ${COMMENT:S,iPod,&/iPhone,}
-LIB_DEPENDS+= libimobiledevice.so:${PORTSDIR}/comms/libimobiledevice
-CONFIGURE_ENV+= LIBUSB_CFLAGS=" " LIBUSB_LIBS="-lusb"
-.else
-CONFIGURE_ARGS+=--without-libimobiledevice
.endif
post-patch:
@@ -62,6 +66,9 @@ post-patch:
${WRKSRC}/tools/Makefile.in
post-install:
+.if ! ${PORT_OPTIONS:MMONO}
+ @${RM} ${STAGEDIR}${PREFIX}/libdata/pkgconfig/libgpod-sharp.pc
+.endif
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/audio/libgpod/pkg-descr b/audio/libgpod/pkg-descr
index e9ea7d301510..0f81bd1ffee3 100644
--- a/audio/libgpod/pkg-descr
+++ b/audio/libgpod/pkg-descr
@@ -11,4 +11,4 @@ libgpod supports playlists, smart playlists, playcounts, ratings,
podcasts, cover art, audio and video. Photo support is implemented as
well. Python and Mono bindings are optionally available too.
-WWW: http://www.gtkpod.org/libgpod.html
+WWW: http://www.gtkpod.org/wiki/Libgpod