Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Feb 2014 14:36:16 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r342452 - head/net/samplicator
Message-ID:  <201402031436.s13EaG3k016954@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



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