Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Dec 2013 22:54:56 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336121 - head/devel/darts
Message-ID:  <201312102254.rBAMsunA059915@svn.freebsd.org>

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



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