aboutsummaryrefslogtreecommitdiff
path: root/sysutils/userneu-devel/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-03 14:09:17 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-03 14:09:17 +0000
commit6b4de2698636ccc6f6b7a341e63f08d05a73cb01 (patch)
treeaa7d1cdb860adb0016f7fed0c6f208abcb26070a /sysutils/userneu-devel/Makefile
parent846825312aa2fb296f9c628ea6423c337b94fc52 (diff)
downloadports-6b4de2698636ccc6f6b7a341e63f08d05a73cb01.tar.gz
ports-6b4de2698636ccc6f6b7a341e63f08d05a73cb01.zip
Notes
Diffstat (limited to 'sysutils/userneu-devel/Makefile')
-rw-r--r--sysutils/userneu-devel/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/sysutils/userneu-devel/Makefile b/sysutils/userneu-devel/Makefile
index 09737509f8ee..c50e4ecbddff 100644
--- a/sysutils/userneu-devel/Makefile
+++ b/sysutils/userneu-devel/Makefile
@@ -23,6 +23,7 @@ USES= perl5 shebangfix
SHEBANG_FILES= userneu.pl smbrepair.pl
USE_PERL5= run
NO_BUILD= yes
+NO_ARCH= yes
CONFLICTS= userneu-1.*
@@ -33,8 +34,6 @@ PORTDOCS= ${LDOCS1} ${LDOCS2}
EXAMPLES= userlist userneu.conf.example
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
do-install:
cd ${WRKSRC}/doc && ${INSTALL_MAN} userneu.8 ${STAGEDIR}${MANPREFIX}/man/man8
cd ${WRKSRC}/doc && ${INSTALL_MAN} userneu.conf.5 ${STAGEDIR}${MANPREFIX}/man/man5
@@ -42,10 +41,10 @@ do-install:
${LN} -sf userneu.pl ${STAGEDIR}${PREFIX}/sbin/userquick
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${LDOCS1} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc && ${INSTALL_DATA} ${LDOCS2} ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>