svn commit: r352533 - head/audio/icegenerator

Baptiste Daroussin bapt at FreeBSD.org
Mon Apr 28 17:28:03 UTC 2014


Author: bapt
Date: Mon Apr 28 17:28:02 2014
New Revision: 352533
URL: http://svnweb.freebsd.org/changeset/ports/352533
QAT: https://qat.redports.org/buildarchive/r352533/

Log:
  Support stage
  Use @sample

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

Modified: head/audio/icegenerator/Makefile
==============================================================================
--- head/audio/icegenerator/Makefile	Mon Apr 28 17:27:57 2014	(r352532)
+++ head/audio/icegenerator/Makefile	Mon Apr 28 17:28:02 2014	(r352533)
@@ -3,6 +3,7 @@
 
 PORTNAME=		icegenerator
 DISTVERSION=		0.5.5-pre2
+PORTREVISION=		1
 CATEGORIES=		audio net
 MASTER_SITES=		SF/${PORTNAME}/${PORTNAME}/0.5.5-pre2
 
@@ -13,29 +14,19 @@ LIB_DEPENDS=		libshout.so:${PORTSDIR}/au
 
 GNU_CONFIGURE=		yes
 USES=			gmake pkgconfig
-NO_STAGE=	yes
 CONFIGURE_ARGS=		--exec-prefix=${PREFIX}
 
 OPTIONS_DEFINE=		DOCS MYSQL PGSQL
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MMYSQL}
-USE_MYSQL=	YES
-CONFIGURE_ARGS+=	--with-mysql
-.endif
-
-.if ${PORT_OPTIONS:MPGSQL}
-USE_PGSQL=	YES
-CONFIGURE_ARGS+=	--with-pgsql
-.endif
+MYSQL_USE=	MYSQL=YES
+MYSQL_CONFIGURE_ON=	--with-mysql
+PGSQL_USE=	PGSQL=YES
+PGSQL_CONFIGURE_ON=	--with-pgsql
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
-.endif
-	${INSTALL_DATA} ${WRKSRC}/etc/icegenerator.conf.dist ${PREFIX}/etc
-	@${CAT} ${PKGMESSAGE}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/etc/icegenerator.conf.dist \
+		${STAGEDIR}${PREFIX}/etc/icegenerator.conf.sample
 
 .include <bsd.port.mk>

Modified: head/audio/icegenerator/pkg-plist
==============================================================================
--- head/audio/icegenerator/pkg-plist	Mon Apr 28 17:27:57 2014	(r352532)
+++ head/audio/icegenerator/pkg-plist	Mon Apr 28 17:28:02 2014	(r352533)
@@ -1,4 +1,4 @@
 bin/icegenerator
-etc/icegenerator.conf.dist
+ at sample etc/icegenerator.conf.sample
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%@dirrm %%DOCSDIR%%


More information about the svn-ports-head mailing list