Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Nov 2015 02:14:00 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r402503 - head/audio/libgpod
Message-ID:  <201511280214.tAS2E0GY058459@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Sat Nov 28 02:13:59 2015
New Revision: 402503
URL: https://svnweb.freebsd.org/changeset/ports/402503

Log:
  - 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)

Modified:
  head/audio/libgpod/Makefile
  head/audio/libgpod/pkg-plist

Modified: head/audio/libgpod/Makefile
==============================================================================
--- head/audio/libgpod/Makefile	Sat Nov 28 01:59:35 2015	(r402502)
+++ head/audio/libgpod/Makefile	Sat Nov 28 02:13:59 2015	(r402503)
@@ -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}/dev
 		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>

Modified: head/audio/libgpod/pkg-plist
==============================================================================
--- head/audio/libgpod/pkg-plist	Sat Nov 28 01:59:35 2015	(r402502)
+++ head/audio/libgpod/pkg-plist	Sat Nov 28 02:13:59 2015	(r402503)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511280214.tAS2E0GY058459>