aboutsummaryrefslogtreecommitdiffstats
path: root/irc
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-06-11 01:41:17 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-06-11 01:41:17 +0800
commit8d0fbb6beb0c757618de73b6328d65e44311de53 (patch)
tree62df8747768ee6682ab47f0cbf660cce77f472eb /irc
parentf96925172f8d202d587979d67fbd860078f20e6c (diff)
downloadfreebsd-ports-gnome-8d0fbb6beb0c757618de73b6328d65e44311de53.tar.gz
freebsd-ports-gnome-8d0fbb6beb0c757618de73b6328d65e44311de53.tar.zst
freebsd-ports-gnome-8d0fbb6beb0c757618de73b6328d65e44311de53.zip
- Use options helpers
- Strip binaries
Diffstat (limited to 'irc')
-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>