From 5a5d74226620b4fe582ee5eeaa3ea69a5d137cb9 Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Mon, 18 Feb 2002 00:56:50 +0000 Subject: remove LIB_DEPENDS to gettext, use ${INSTALL_DATA} for irssi.conf Submitted by: Jean-Yves Lefort --- irc/irssi-devel/Makefile | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'irc/irssi-devel') 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 -- cgit v1.2.3