aboutsummaryrefslogtreecommitdiff
path: root/irc/irssi-devel/Makefile
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2002-02-18 00:56:50 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2002-02-18 00:56:50 +0000
commit5a5d74226620b4fe582ee5eeaa3ea69a5d137cb9 (patch)
treed5202844a580d0c8d2cd8694246000f4b81d3a32 /irc/irssi-devel/Makefile
parent23016fb08c236b3e5c926fa2e1b5a7e53ca0b7ce (diff)
downloadports-5a5d74226620b4fe582ee5eeaa3ea69a5d137cb9.tar.gz
ports-5a5d74226620b4fe582ee5eeaa3ea69a5d137cb9.zip
Notes
Diffstat (limited to 'irc/irssi-devel/Makefile')
-rw-r--r--irc/irssi-devel/Makefile12
1 files changed, 2 insertions, 10 deletions
diff --git a/irc/irssi-devel/Makefile b/irc/irssi-devel/Makefile
index d256681b359c..5895e0f2690a 100644
--- a/irc/irssi-devel/Makefile
+++ b/irc/irssi-devel/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>