svn commit: r336121 - head/devel/darts

Baptiste Daroussin bapt at FreeBSD.org
Tue Dec 10 22:54:56 UTC 2013


Author: bapt
Date: Tue Dec 10 22:54:55 2013
New Revision: 336121
URL: http://svnweb.freebsd.org/changeset/ports/336121

Log:
  Support stage

Modified:
  head/devel/darts/Makefile

Modified: head/devel/darts/Makefile
==============================================================================
--- head/devel/darts/Makefile	Tue Dec 10 22:38:19 2013	(r336120)
+++ head/devel/darts/Makefile	Tue Dec 10 22:54:55 2013	(r336121)
@@ -7,26 +7,22 @@ CATEGORIES=	devel
 MASTER_SITES=	http://www.chasen.org/~taku/software/darts/src/
 
 MAINTAINER=	ports at FreeBSD.org
-COMMENT=	A C++ template library that implements Double-Array
+COMMENT=	C++ template library that implements Double-Array
 
 GNU_CONFIGURE=	yes
 
+OPTIONS_DEFINE=	DOCS EXAMPLES
 EXAMPLES=	darts.cpp mkdarts.cpp
 DOCS=		AUTHORS ChangeLog README doc
 
-NO_STAGE=	yes
 post-install:
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in ${DOCS}
-	${CP} -R ${WRKSRC}/${f} ${DOCSDIR}/
+	${CP} -R ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
 .endfor
-.endif
-.if !defined(NOPORTEXAMPLES)
-	${MKDIR} ${EXAMPLESDIR}
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 .for f in ${EXAMPLES}
-	${CP} -R ${WRKSRC}/${f} ${EXAMPLESDIR}/
+	${CP} -R ${WRKSRC}/${f} ${STAGEDIR}${EXAMPLESDIR}/
 .endfor
-.endif
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list