summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-06-24 15:37:54 +0000
committervanilla <vanilla@FreeBSD.org>2014-06-24 15:37:54 +0000
commitfc1da322afd5ee627f007830420be0cc6a7cf58b (patch)
tree688d143fd3fc05f7dcee8e66fb4875ade9f850d4
parent9f48b582287ace7e5e8980a7bbae10904dc93722 (diff)
downloadFreeBSD-ports-fc1da322afd5ee627f007830420be0cc6a7cf58b.zip
FreeBSD-ports-fc1da322afd5ee627f007830420be0cc6a7cf58b.tar.gz
1: Stagify.
2: convert PORTNODOCS to options.
-rw-r--r--polish/libtlen/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/polish/libtlen/Makefile b/polish/libtlen/Makefile
index e4f2f81..a71e43a 100644
--- a/polish/libtlen/Makefile
+++ b/polish/libtlen/Makefile
@@ -11,13 +11,16 @@ COMMENT= Backend for interoperability with Tlen.pl, Polish IM network
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-NO_STAGE= yes
-.if !defined(NOPORTDOCS)
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
post-install:
- @${MKDIR} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in libtlen.html libtlen.css AUTHORS TODO
- @${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/docs/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
OpenPOWER on IntegriCloud