svn commit: r359098 - head/polish/trf

Vanilla I. Shu vanilla at FreeBSD.org
Tue Jun 24 15:34:27 UTC 2014


Author: vanilla
Date: Tue Jun 24 15:34:26 2014
New Revision: 359098
URL: http://svnweb.freebsd.org/changeset/ports/359098
QAT: https://qat.redports.org/buildarchive/r359098/

Log:
  1: Stagify.
  2: convert NOPORTDOCS to options.

Modified:
  head/polish/trf/Makefile

Modified: head/polish/trf/Makefile
==============================================================================
--- head/polish/trf/Makefile	Tue Jun 24 15:21:06 2014	(r359097)
+++ head/polish/trf/Makefile	Tue Jun 24 15:34:26 2014	(r359098)
@@ -9,12 +9,15 @@ MASTER_SITES=	http://korzen.org/soft/trf
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Billing software for traffic counting working with most Polish ISPs
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
+.include <bsd.port.options.mk>
+
 post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for i in README CHANGELOG
-	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
 .endfor
 .endif
 


More information about the svn-ports-head mailing list