summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-06-10 17:41:17 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-06-10 17:41:17 +0000
commit28b4306fcf25fd5f16aac9bfee0be00c0a377d93 (patch)
tree62df8747768ee6682ab47f0cbf660cce77f472eb
parent9f0654f2fbaa93a4c6812cb6a51b24ef627c29c8 (diff)
downloadfreebsd-ports-28b4306fcf25fd5f16aac9bfee0be00c0a377d93.zip
- Use options helpers
- Strip binaries
-rw-r--r--irc/ircproxy/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/irc/ircproxy/Makefile b/irc/ircproxy/Makefile
index d618a3007492..18660a4aed0f 100644
--- a/irc/ircproxy/Makefile
+++ b/irc/ircproxy/Makefile
@@ -3,7 +3,7 @@
PORTNAME= ircproxy
PORTVERSION= 1.3.6
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= irc
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
@@ -34,15 +34,13 @@ MEMDEBUG_CONFIGURE_ENABLE= memdebug
FDDEBUG_CONFIGURE_ENABLE= fddebug
IPV6_CONFIGURE_ENABLE= ipv6
SSL_CONFIGURE_ENABLE= ssl
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MSSL}
-USE_OPENSSL= yes
-.endif
+SSL_USE= OPENSSL=yes
post-patch:
@${REINPLACE_CMD} -e 's|EUSER="ircproxy"|EUSER="ircproxyd"|g; \
s|EGROUP="users"|EGROUP="ircproxyd"|g' ${WRKSRC}/data/${PORTNAME}d.conf
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/imkpasswd ${STAGEDIR}${PREFIX}/bin/ircproxyd
+
.include <bsd.port.mk>