aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/ua/Makefile
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2013-10-28 06:29:46 +0800
committerdinoex <dinoex@FreeBSD.org>2013-10-28 06:29:46 +0800
commita9ff4b49c10701f4d22eb1a173e03064089672bb (patch)
tree2f75f2dd22479e7d9e0d627ea798a4d2a036e75f /sysutils/ua/Makefile
parentaa3da1c84cdb0e5dfb190c16f74ea3d9def166a7 (diff)
downloadfreebsd-ports-gnome-a9ff4b49c10701f4d22eb1a173e03064089672bb.tar.gz
freebsd-ports-gnome-a9ff4b49c10701f4d22eb1a173e03064089672bb.tar.zst
freebsd-ports-gnome-a9ff4b49c10701f4d22eb1a173e03064089672bb.zip
- use STAGEDIR
- use OPTIONS_DEFINE
Diffstat (limited to 'sysutils/ua/Makefile')
-rw-r--r--sysutils/ua/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/sysutils/ua/Makefile b/sysutils/ua/Makefile
index 84f1eab9e8ef..b8f7b72567da 100644
--- a/sysutils/ua/Makefile
+++ b/sysutils/ua/Makefile
@@ -10,18 +10,19 @@ COMMENT= Finds sets of identical files
LICENSE= GPLv2
-NO_STAGE= yes
-
+USES= manpages
GNU_CONFIGURE= yes
-MAN1= kua.1 ua.1
PLIST_FILES= bin/kua bin/ua
PORTDOCS= README
+MAN1= kua.1 ua.1
+
+.include <bsd.port.options.mk>
+.if ${PORT_OPTIONS:MDOCS}
post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/
.endif
.include <bsd.port.mk>