aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2013-12-07 13:34:49 +0800
committereadler <eadler@FreeBSD.org>2013-12-07 13:34:49 +0800
commit101e8fd451dc789f0fd9ad5f740dbc7808787d0e (patch)
treed53e192bd2848284e72a3bd655d95d02949e9029 /devel
parentee76619edfead2dc1290018ed8ad5b4d5d85c693 (diff)
downloadfreebsd-ports-gnome-101e8fd451dc789f0fd9ad5f740dbc7808787d0e.tar.gz
freebsd-ports-gnome-101e8fd451dc789f0fd9ad5f740dbc7808787d0e.tar.zst
freebsd-ports-gnome-101e8fd451dc789f0fd9ad5f740dbc7808787d0e.zip
Remove PORT_OPTIONS:MDOCS checks from ports which don't need it
Add NO_ARCH if useful
Diffstat (limited to 'devel')
-rw-r--r--devel/newfile/Makefile5
-rw-r--r--devel/p5-File-Append-TempFile/Makefile4
2 files changed, 1 insertions, 8 deletions
diff --git a/devel/newfile/Makefile b/devel/newfile/Makefile
index 59e25b345b27..76f9e4109ecb 100644
--- a/devel/newfile/Makefile
+++ b/devel/newfile/Makefile
@@ -14,20 +14,17 @@ LICENSE= BSD
USE_RUBY= yes
GNU_CONFIGURE= yes
+NO_ARCH= yes
PORTDOCS= newfile.html
-.include <bsd.port.options.mk>
-
post-configure:
${REINPLACE_CMD} '282s,$$(pkgdatadir)/newfile.rb,$$(DESTDIR)$$(pkgdatadir)/newfile.rb,' ${WRKSRC}/src/Makefile
${REINPLACE_CMD} '287s,$$(bindir)/newfile,$$(DESTDIR)$$(bindir)/newfile,' ${WRKSRC}/src/Makefile
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/newfile.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
-.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
-.endif
.include <bsd.port.mk>
diff --git a/devel/p5-File-Append-TempFile/Makefile b/devel/p5-File-Append-TempFile/Makefile
index bfd0c42a08b9..4523726c6211 100644
--- a/devel/p5-File-Append-TempFile/Makefile
+++ b/devel/p5-File-Append-TempFile/Makefile
@@ -21,12 +21,8 @@ PORTDOCS= Changes README
test: build
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} test
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>