svn commit: r353552 - head/net/gini

Dmitry Marakasov amdmi3 at FreeBSD.org
Sat May 10 00:26:59 UTC 2014


Author: amdmi3
Date: Sat May 10 00:26:58 2014
New Revision: 353552
URL: http://svnweb.freebsd.org/changeset/ports/353552
QAT: https://qat.redports.org/buildarchive/r353552/

Log:
  - Support staging
  - Convert USE_BZIP2 to USES
  - Use new LIB_DEPENDS syntax

Modified:
  head/net/gini/Makefile
  head/net/gini/pkg-plist

Modified: head/net/gini/Makefile
==============================================================================
--- head/net/gini/Makefile	Sat May 10 00:26:07 2014	(r353551)
+++ head/net/gini/Makefile	Sat May 10 00:26:58 2014	(r353552)
@@ -10,28 +10,24 @@ MASTER_SITES=	SF/${PORTNAME}/OldFiles
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Lightweight media streaming server
 
-LIB_DEPENDS=	vorbis.4:${PORTSDIR}/audio/libvorbis
+LIB_DEPENDS=	libvorbis.so:${PORTSDIR}/audio/libvorbis
 
-USES=		gmake
-USE_BZIP2=	yes
+USES=		tar:bzip2 gmake
 USE_GNOME=	glib12
 GNU_CONFIGURE=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
+
 USERS=		${PORTNAME}
 GROUPS=		${USERS}
 
-MAN1=		ginicon.1 ginifeed.1
-MAN8=		gini.8
-
 MAKE_JOBS_UNSAFE=yes
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 post-install:
-	${INSTALL_SCRIPT} ${FILESDIR}/gini.sh.sample ${PREFIX}/etc/rc.d
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+	${INSTALL_SCRIPT} ${FILESDIR}/gini.sh.sample ${STAGEDIR}${PREFIX}/etc/rc.d
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/net/gini/pkg-plist
==============================================================================
--- head/net/gini/pkg-plist	Sat May 10 00:26:07 2014	(r353551)
+++ head/net/gini/pkg-plist	Sat May 10 00:26:58 2014	(r353552)
@@ -1,6 +1,9 @@
 bin/ginicon
 bin/ginifeed
 etc/rc.d/gini.sh.sample
+man/man1/ginicon.1.gz
+man/man1/ginifeed.1.gz
+man/man8/gini.8.gz
 sbin/gini
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%@dirrm %%DOCSDIR%%


More information about the svn-ports-all mailing list