aboutsummaryrefslogtreecommitdiff
path: root/irc
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-09-13 17:11:26 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-09-13 17:11:26 +0000
commit5d02f6df325ab627e1ba40a7f7aa48e7908192b7 (patch)
tree7f3d2ab58800e23a1e1226b54516292024ff04e8 /irc
parent0882a789236f5fa5ca2bae8c6cb06c374d9a26c9 (diff)
downloadports-5d02f6df325ab627e1ba40a7f7aa48e7908192b7.tar.gz
ports-5d02f6df325ab627e1ba40a7f7aa48e7908192b7.zip
Notes
Diffstat (limited to 'irc')
-rw-r--r--irc/bitlbee/Makefile23
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>