aboutsummaryrefslogtreecommitdiffstats
path: root/polish
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-06-24 23:34:26 +0800
committervanilla <vanilla@FreeBSD.org>2014-06-24 23:34:26 +0800
commit9f48b582287ace7e5e8980a7bbae10904dc93722 (patch)
tree22020bfbeb15a9b39786d0c70304c2a5a6e9888f /polish
parentd845a6a820f01ec805760415b0142efafb12347e (diff)
downloadfreebsd-ports-gnome-9f48b582287ace7e5e8980a7bbae10904dc93722.tar.gz
freebsd-ports-gnome-9f48b582287ace7e5e8980a7bbae10904dc93722.tar.zst
freebsd-ports-gnome-9f48b582287ace7e5e8980a7bbae10904dc93722.zip
1: Stagify.
2: convert NOPORTDOCS to options.
Diffstat (limited to 'polish')
-rw-r--r--polish/trf/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/polish/trf/Makefile b/polish/trf/Makefile
index 3be61de8a163..a03a07843018 100644
--- a/polish/trf/Makefile
+++ b/polish/trf/Makefile
@@ -9,12 +9,15 @@ MASTER_SITES= http://korzen.org/soft/trf/
MAINTAINER= ports@FreeBSD.org
COMMENT= Billing software for traffic counting working with most Polish ISPs
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in README CHANGELOG
- ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.endif