diff options
author | eadler <eadler@FreeBSD.org> | 2013-12-07 13:34:49 +0800 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2013-12-07 13:34:49 +0800 |
commit | 101e8fd451dc789f0fd9ad5f740dbc7808787d0e (patch) | |
tree | d53e192bd2848284e72a3bd655d95d02949e9029 | |
parent | ee76619edfead2dc1290018ed8ad5b4d5d85c693 (diff) | |
download | freebsd-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
-rw-r--r-- | devel/newfile/Makefile | 5 | ||||
-rw-r--r-- | devel/p5-File-Append-TempFile/Makefile | 4 | ||||
-rw-r--r-- | games/gtklife/Makefile | 2 | ||||
-rw-r--r-- | x11-wm/icewm/Makefile | 2 |
4 files changed, 1 insertions, 12 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> diff --git a/games/gtklife/Makefile b/games/gtklife/Makefile index cc026866d3ce..e518ba6858a8 100644 --- a/games/gtklife/Makefile +++ b/games/gtklife/Makefile @@ -57,9 +57,7 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/icon_${s}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/gtklife.png .endfor -.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR} -.endif .include <bsd.port.mk> diff --git a/x11-wm/icewm/Makefile b/x11-wm/icewm/Makefile index dc2002bcbc00..6772e2f4f19c 100644 --- a/x11-wm/icewm/Makefile +++ b/x11-wm/icewm/Makefile @@ -110,12 +110,10 @@ post-install: .for dir in taskbar themes/Infadel2/taskbar @${LN} -s ${STARTUP_PIXMAP} ${STAGEDIR}${DATADIR}/${dir}/start.xpm .endfor -.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} . for f in CHANGES INSTALL README TODO ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} . endfor ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${STAGEDIR}${DOCSDIR} -.endif .include <bsd.port.post.mk> |