diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-08-27 03:05:46 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-08-27 03:05:46 +0800 |
commit | aee59c53765edade99aab4c82713c9264f990ca1 (patch) | |
tree | 391e625b8b3f4686da29ca79d079ad74e6ba40e2 /irc | |
parent | 3e075eb0c062461e58c89f47dd84d72e052b7271 (diff) | |
download | freebsd-ports-gnome-aee59c53765edade99aab4c82713c9264f990ca1.tar.gz freebsd-ports-gnome-aee59c53765edade99aab4c82713c9264f990ca1.tar.zst freebsd-ports-gnome-aee59c53765edade99aab4c82713c9264f990ca1.zip |
- Switch to options helpers
- Fix config file installation
Approved by: portmgr blanket
Diffstat (limited to 'irc')
-rw-r--r-- | irc/ezbounce/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/irc/ezbounce/Makefile b/irc/ezbounce/Makefile index 7760ece1f0bb..77dfc23fc783 100644 --- a/irc/ezbounce/Makefile +++ b/irc/ezbounce/Makefile @@ -26,8 +26,6 @@ USE_GCC= any SUB_FILES= pkg-message -.include <bsd.port.options.mk> - post-patch: @${SED} -e "s:/path/to:${PREFIX}/sbin:" ${WRKSRC}/sample.conf > \ ${WRKSRC}/ezb.conf.default @@ -35,14 +33,14 @@ post-patch: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ezbounce ${STAGEDIR}${PREFIX}/sbin - ${INSTALL_SCRIPT} ${WRKSRC}/ezb.conf.default ${STAGEDIR}${PREFIX}/etc + ${INSTALL_DATA} ${WRKSRC}/ezb.conf.default ${STAGEDIR}${PREFIX}/etc ${INSTALL_MAN} ${WRKSRC}/docs/ezbounce.1 ${STAGEDIR}${PREFIX}/man/man1 -.if ${PORT_OPTIONS:MDOCS} + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/CHANGES ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/TODO ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/worklog ${STAGEDIR}${DOCSDIR} -.endif .include <bsd.port.mk> |