aboutsummaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-08-18 17:01:14 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-08-18 17:01:14 +0800
commita83e6a6a1f45bce873956327544fcd0f35674c6d (patch)
treece9ec5088de68bb28f151185cf14804918bcb9b4 /news
parentdfe13063725679becde57a4601a1cb8d40dccd54 (diff)
downloadfreebsd-ports-graphics-a83e6a6a1f45bce873956327544fcd0f35674c6d.tar.gz
freebsd-ports-graphics-a83e6a6a1f45bce873956327544fcd0f35674c6d.tar.zst
freebsd-ports-graphics-a83e6a6a1f45bce873956327544fcd0f35674c6d.zip
- Add NO_ARCH
- Switch to options helpers
Diffstat (limited to 'news')
-rw-r--r--news/aub/Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/news/aub/Makefile b/news/aub/Makefile
index 897a40bec8c..f3654691468 100644
--- a/news/aub/Makefile
+++ b/news/aub/Makefile
@@ -12,25 +12,25 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Assemble usenet binaries
USES= shebangfix
+SHEBANG_FILES= aub
NO_BUILD= yes
+NO_ARCH= yes
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-MANPAGE= aub.1.sgml aubconf.1.sgml
PORTDOCS= COPYING README aubconf.example
PLIST_FILES= bin/aub man/man1/aub.1.sgml.gz man/man1/aubconf.1.sgml.gz
-SHEBANG_FILES= aub
-
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/aub ${STAGEDIR}${PREFIX}/bin
-.for manpage in ${MANPAGE}
- ${INSTALL_MAN} ${WRKSRC}/${manpage} ${STAGEDIR}${MANPREFIX}/man/man1
-.endfor
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for doc in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/aub*.1.sgml ${STAGEDIR}${MANPREFIX}/man/man1
+
+do-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for f in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>