diff options
author | danfe <danfe@FreeBSD.org> | 2015-11-28 10:13:59 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2015-11-28 10:13:59 +0800 |
commit | 4a86925186bf0649d8d672520d9590edcdb248f5 (patch) | |
tree | d3ea46522c006ce38e8faa190c3965be5d1aeab4 /audio | |
parent | 38085a0968d7d46ca9fa7a1d6694fdae7896a8db (diff) | |
download | freebsd-ports-gnome-4a86925186bf0649d8d672520d9590edcdb248f5.tar.gz freebsd-ports-gnome-4a86925186bf0649d8d672520d9590edcdb248f5.tar.zst freebsd-ports-gnome-4a86925186bf0649d8d672520d9590edcdb248f5.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)
Diffstat (limited to 'audio')
-rw-r--r-- | audio/libgpod/Makefile | 25 | ||||
-rw-r--r-- | audio/libgpod/pkg-plist | 1 |
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 |