aboutsummaryrefslogtreecommitdiff
path: root/audio/libgpod
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2015-11-28 02:13:59 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2015-11-28 02:13:59 +0000
commitc7b74af510dec0ade98fe61e7cb18b2025faccf2 (patch)
treed3ea46522c006ce38e8faa190c3965be5d1aeab4 /audio/libgpod
parentda906cd8574925d10deb0238a16867ee6a82a840 (diff)
downloadports-c7b74af510dec0ade98fe61e7cb18b2025faccf2.tar.gz
ports-c7b74af510dec0ade98fe61e7cb18b2025faccf2.zip
- Remove no longer needed `post-patch' target that now prevented building
of the auxiliary tools and install `ipod-time-sync' - Convert to USES=localbase; add --disable-silent-rules to CONFIGURE_ARGS to make debugging easier; use option helpers Approved by: avilla (maintainer; timeout)
Notes
Notes: svn path=/head/; revision=402503
Diffstat (limited to 'audio/libgpod')
-rw-r--r--audio/libgpod/Makefile25
-rw-r--r--audio/libgpod/pkg-plist1
2 files changed, 12 insertions, 14 deletions
diff --git a/audio/libgpod/Makefile b/audio/libgpod/Makefile
index f9949017310b..f10e25979241 100644
--- a/audio/libgpod/Makefile
+++ b/audio/libgpod/Makefile
@@ -3,7 +3,7 @@
PORTNAME= libgpod
PORTVERSION= 0.8.3
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= audio
MASTER_SITES= SF/gtkpod/${PORTNAME}/${PORTNAME}-${PORTVERSION:R}
@@ -16,15 +16,13 @@ LIB_DEPENDS= libplist.so:${PORTSDIR}/devel/libplist \
libtag.so:${PORTSDIR}/audio/taglib \
libsgutils2.so:${PORTSDIR}/sysutils/sg3_utils
-USE_GNOME= gdkpixbuf2 gtk20 intltool
-USE_SQLITE= 3
-USES= tar:bzip2 gettext gmake libtool pathfix pkgconfig
+USES= gettext gmake libtool localbase pathfix pkgconfig tar:bzip2
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --disable-udev --without-hal \
+CONFIGURE_ARGS= --disable-silent-rules --disable-udev --without-hal \
--with-html-dir="${DOCSDIR:H}"
USE_CSTD= gnu89
-CPPFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
+USE_GNOME= gdkpixbuf2 gtk20 intltool
+USE_SQLITE= 3
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
@@ -60,15 +58,14 @@ PORTDOCS= ChangeLog NEWS README*
COMMENT:= ${COMMENT:S,iPod,&/iPhone,}
.endif
-post-patch:
-# Allow to build tools without HAL
- @${REINPLACE_CMD} -e '/noinst_PROGRAMS =/ s,^,@HAVE_HAL_TRUE@,' \
- ${WRKSRC}/tools/Makefile.in
-
post-install:
-.if ! ${PORT_OPTIONS:MMONO}
+ ${INSTALL_PROGRAM} ${WRKSRC}/tools/ipod-time-sync \
+ ${STAGEDIR}${PREFIX}/bin
+
+post-install-MONO-off:
@${RM} ${STAGEDIR}${PREFIX}/libdata/pkgconfig/libgpod-sharp.pc
-.endif
+
+post-install-DOCS-on:
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
diff --git a/audio/libgpod/pkg-plist b/audio/libgpod/pkg-plist
index cbb85c0d830e..bbc206543c5a 100644
--- a/audio/libgpod/pkg-plist
+++ b/audio/libgpod/pkg-plist
@@ -1,4 +1,5 @@
bin/ipod-read-sysinfo-extended
+bin/ipod-time-sync
include/gpod-1.0/gpod/itdb.h
lib/libgpod.a
lib/libgpod.so