summaryrefslogtreecommitdiffstats
path: root/irc/irssi/Makefile
diff options
context:
space:
mode:
authorjim <jim@FreeBSD.org>2000-12-11 20:21:39 +0000
committerjim <jim@FreeBSD.org>2000-12-11 20:21:39 +0000
commit2b37177f5ba95bf7d453d6fa338401f9f26d36d0 (patch)
treecad002c53a5d0623ea2dd6c9c680fc8964707843 /irc/irssi/Makefile
parent7e49b9b80e62d981f05e8cd9c6ea09f54cf87d3a (diff)
downloadFreeBSD-ports-2b37177f5ba95bf7d453d6fa338401f9f26d36d0.zip
FreeBSD-ports-2b37177f5ba95bf7d453d6fa338401f9f26d36d0.tar.gz
Update to version 0.7.97.
Parts submitted by: Sean-Paul Rees <sean@seanrees.com>
Diffstat (limited to 'irc/irssi/Makefile')
-rw-r--r--irc/irssi/Makefile20
1 files changed, 15 insertions, 5 deletions
diff --git a/irc/irssi/Makefile b/irc/irssi/Makefile
index ef354c9..b7af678 100644
--- a/irc/irssi/Makefile
+++ b/irc/irssi/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= irssi
-PORTVERSION= 0.7.95
+PORTVERSION= 0.7.97
CATEGORIES= irc ipv6
MASTER_SITES= http://irssi.org/files/
-DISTNAME= ${PORTNAME}-${PORTVERSION}-3
+DISTNAME= ${PORTNAME}-${PORTVERSION}.1
MAINTAINER= jim@FreeBSD.org
@@ -18,12 +18,13 @@ LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_BZIP2= yes
-USE_GMAKE= yes
USE_PERL5= yes
USE_GLIB= yes
-USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
CONFIGURE_ARGS= --without-socks --with-textui --with-bot \
- --without-servertest
+ --without-servertest \
+ --enable-perl-path=${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
+
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lintl"
@@ -41,4 +42,13 @@ pre-patch:
s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure
+pre-configure:
+ @cd ${WRKSRC} && ${MV} config config.sample
+
+post-install:
+ @if [ ! -f ${LOCALBASE}/etc/irssi/config ]; then \
+ ${ECHO} "Installing default configuration file."; \
+ ${INSTALL_SCRIPT} -m 644 ${WRKSRC}/config.sample ${LOCALBASE}/etc/irssi/config; \
+ fi
+
.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud