aboutsummaryrefslogtreecommitdiffstats
path: root/irc/irssi
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2002-02-18 08:56:50 +0800
committervanilla <vanilla@FreeBSD.org>2002-02-18 08:56:50 +0800
commitf4c221ee8615889668d171fe0b0294f1d1fb813b (patch)
treeb2ea61fdca413aa347748f0b2c6304be6b942d5f /irc/irssi
parentf967fa95552da135a1e595cb3f9feced8cef6ef2 (diff)
downloadfreebsd-ports-gnome-f4c221ee8615889668d171fe0b0294f1d1fb813b.tar.gz
freebsd-ports-gnome-f4c221ee8615889668d171fe0b0294f1d1fb813b.tar.zst
freebsd-ports-gnome-f4c221ee8615889668d171fe0b0294f1d1fb813b.zip
remove LIB_DEPENDS to gettext,
use ${INSTALL_DATA} for irssi.conf Submitted by: Jean-Yves Lefort <jylefort@brutele.be>
Diffstat (limited to 'irc/irssi')
-rw-r--r--irc/irssi/Makefile12
1 files changed, 2 insertions, 10 deletions
diff --git a/irc/irssi/Makefile b/irc/irssi/Makefile
index d256681b359c..5895e0f2690a 100644
--- a/irc/irssi/Makefile
+++ b/irc/irssi/Makefile
@@ -7,14 +7,12 @@
PORTNAME= irssi
PORTVERSION= 0.8.1
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES+= irc ipv6 # `+=' is for slave ports
MASTER_SITES= http://irssi.org/files/
MAINTAINER?= vanilla@FreeBSD.org
-LIB_DEPENDS= intl.1:${PORTSDIR}/devel/gettext
-
USE_BZIP2= yes
USE_PERL5= yes
USE_GLIB= yes
@@ -31,19 +29,13 @@ CONFIGURE_ARGS+= --enable-ipv6
CONFIGURE_ARGS+= --disable-ipv6
.endif
-pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
- s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
- 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} irssi.conf irssi.conf.sample
post-install:
@if [ ! -f ${LOCALBASE}/etc/irssi.conf ]; then \
${ECHO} "Installing default configuration file."; \
- ${INSTALL_SCRIPT} -m 644 ${WRKSRC}/irssi.conf.sample ${LOCALBASE}/etc/irssi.conf ; \
+ ${INSTALL_DATA} ${WRKSRC}/irssi.conf.sample ${LOCALBASE}/etc/irssi.conf ; \
fi
.include <bsd.port.post.mk>