summaryrefslogtreecommitdiff
path: root/devel/perlconsole/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/perlconsole/Makefile')
-rw-r--r--devel/perlconsole/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/devel/perlconsole/Makefile b/devel/perlconsole/Makefile
index 3c9fda7997b5..6b66dc303022 100644
--- a/devel/perlconsole/Makefile
+++ b/devel/perlconsole/Makefile
@@ -19,6 +19,7 @@ RUN_DEPENDS= p5-ReadLine-Gnu>=0:${PORTSDIR}/devel/p5-ReadLine-Gnu \
USES= perl5 shebangfix
USE_PERL5= configure
SHEBANG_FILES= perlconsole
+NO_ARCH= yes
PORTDOCS= README \
AUTHORS \
@@ -32,15 +33,7 @@ PLIST_FILES= bin/perlconsole \
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
do-install:
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for i in README AUTHORS CHANGES
- ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
-.endfor
-.endif
${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/PerlConsole/
${CP} -R ${WRKSRC}/lib/PerlConsole/ \
${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/PerlConsole/
@@ -48,4 +41,10 @@ do-install:
${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/PerlConsole.pm
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
+do-install-DOCS-on:
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for i in README AUTHORS CHANGES
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
+.endfor
+
.include <bsd.port.mk>