diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-09-14 01:11:26 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-09-14 01:11:26 +0800 |
commit | 2e1997370f80cfc477ca5089aa71987fee07a613 (patch) | |
tree | 7f3d2ab58800e23a1e1226b54516292024ff04e8 /irc | |
parent | 32e0cb20dc45f2be86099cdf6886241ffbe19856 (diff) | |
download | freebsd-ports-gnome-2e1997370f80cfc477ca5089aa71987fee07a613.tar.gz freebsd-ports-gnome-2e1997370f80cfc477ca5089aa71987fee07a613.tar.zst freebsd-ports-gnome-2e1997370f80cfc477ca5089aa71987fee07a613.zip |
- Fix LICENSE
- Add LICENSE_FILE
- Switch to options helpers
Approved by: portmgr blanket
Diffstat (limited to 'irc')
-rw-r--r-- | irc/bitlbee/Makefile | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/irc/bitlbee/Makefile b/irc/bitlbee/Makefile index a35010db733b..ab37542567e1 100644 --- a/irc/bitlbee/Makefile +++ b/irc/bitlbee/Makefile @@ -9,7 +9,8 @@ MASTER_SITES= http://get.bitlbee.org/src/ \ MAINTAINER= garga@FreeBSD.org COMMENT= IRC to other chat networks gateway -LICENSE= GPLv2 +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= xmlto:textproc/xmlto \ xsltproc:textproc/libxslt @@ -75,8 +76,6 @@ YAHOO_CONFIGURE_OFF= --yahoo=0 USERS= bitlbee GROUPS= bitlbee -.include <bsd.port.options.mk> - post-patch: @${REINPLACE_CMD} -e '/^install:/ s/$$/ install-dev/' \ ${WRKSRC}/Makefile @@ -89,20 +88,20 @@ post-patch: ${WRKSRC}/doc/bitlbee.8 post-install: -.if ${PORT_OPTIONS:MSKYPE} + @${MKDIR} ${STAGEDIR}${ETCDIR} + +post-install-SKYPE-on: ${MV} ${STAGEDIR}${PREFIX}/etc/skyped/skyped.conf \ ${STAGEDIR}${PREFIX}/etc/skyped/skyped.conf.sample ${MV} ${STAGEDIR}${PREFIX}/etc/skyped/skyped.cnf \ ${STAGEDIR}${PREFIX}/etc/skyped/skyped.cnf.sample -.endif - ${MKDIR} ${STAGEDIR}${ETCDIR} -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${STAGEDIR}${DOCSDIR} + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S@^@${WRKSRC}/doc/@} ${STAGEDIR}${DOCSDIR} -.endif -.if ${PORT_OPTIONS:MEXAMPLES} - ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + +post-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${PORTEXAMPLES:S@^@${WRKSRC}/@} ${STAGEDIR}${EXAMPLESDIR} -.endif .include <bsd.port.mk> |