svn commit: r340577 - head/devel/libtpl
Baptiste Daroussin
bapt at FreeBSD.org
Tue Jan 21 08:25:16 UTC 2014
Author: bapt
Date: Tue Jan 21 08:25:16 2014
New Revision: 340577
URL: http://svnweb.freebsd.org/changeset/ports/340577
QAT: https://qat.redports.org/buildarchive/r340577/
Log:
Support stage
Modified:
head/devel/libtpl/Makefile
Modified: head/devel/libtpl/Makefile
==============================================================================
--- head/devel/libtpl/Makefile Tue Jan 21 08:24:46 2014 (r340576)
+++ head/devel/libtpl/Makefile Tue Jan 21 08:25:16 2014 (r340577)
@@ -9,6 +9,8 @@ MASTER_SITES= GH
MAINTAINER= culot at FreeBSD.org
COMMENT= Tpl is a library for serializing C data
+OPTIONS_DEFINE= DOCS
+
LICENSE= BSD
USE_BZIP2= yes
@@ -27,15 +29,10 @@ PLIST_FILES= lib/libtpl.la lib/libtpl.a
PORTDOCS= ChangeLog.txt examples.txt userguide.txt compiling.txt
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list