svn commit: r342452 - head/net/samplicator

Mark Felder feld at FreeBSD.org
Mon Feb 3 14:36:17 UTC 2014


Author: feld
Date: Mon Feb  3 14:36:16 2014
New Revision: 342452
URL: http://svnweb.freebsd.org/changeset/ports/342452
QAT: https://qat.redports.org/buildarchive/r342452/

Log:
  Support STAGE
  Add LICENSE
  
  Approved by:	swills (mentor, implicit)
  Approved by:	maintainer (my coworker)

Modified:
  head/net/samplicator/Makefile

Modified: head/net/samplicator/Makefile
==============================================================================
--- head/net/samplicator/Makefile	Mon Feb  3 14:31:53 2014	(r342451)
+++ head/net/samplicator/Makefile	Mon Feb  3 14:36:16 2014	(r342452)
@@ -10,17 +10,21 @@ DISTNAME=	samplicator-1.3.7-beta6
 MAINTAINER=	me at falz.net
 COMMENT=	Receives UDP datagrams and redistributes them to a set of receivers
 
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 GNU_CONFIGURE=	yes
 
 PLIST_FILES=	bin/samplicate
 PORTDOCS=	NEWS README
 
-NO_STAGE=	yes
+.include <bsd.port.options.mk>
+
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/samplicate ${PREFIX}/bin/
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}/
-	cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
+	${INSTALL_PROGRAM} ${WRKSRC}/samplicate ${STAGEDIR}${PREFIX}/bin
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}/
+	cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list