aboutsummaryrefslogtreecommitdiff
path: root/devel/libtpl
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-01-21 08:25:16 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-01-21 08:25:16 +0000
commita458ac65cb9049f5f330c51326e05fe26eb4d904 (patch)
tree46a020da9c80de6898dd228c326a234c3943f3e9 /devel/libtpl
parentd75dcc00309edf72c20b4602eaa9201420941ead (diff)
downloadports-a458ac65cb9049f5f330c51326e05fe26eb4d904.tar.gz
ports-a458ac65cb9049f5f330c51326e05fe26eb4d904.zip
Support stage
Notes
Notes: svn path=/head/; revision=340577
Diffstat (limited to 'devel/libtpl')
-rw-r--r--devel/libtpl/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/devel/libtpl/Makefile b/devel/libtpl/Makefile
index 84492610c7f2..f58b1c4452b9 100644
--- a/devel/libtpl/Makefile
+++ b/devel/libtpl/Makefile
@@ -9,6 +9,8 @@ MASTER_SITES= GH
MAINTAINER= culot@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>