aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/mcabber
diff options
context:
space:
mode:
authordhn <dhn@FreeBSD.org>2011-01-29 04:23:33 +0800
committerdhn <dhn@FreeBSD.org>2011-01-29 04:23:33 +0800
commit10198f4d8cb7cc5cf92f5f0427781de51a5f96b4 (patch)
tree4a93252d10133bff02b4c0dc8bc1b7325b5a117d /net-im/mcabber
parent065e3507e773c0417b1b4879c6a321f6e237496c (diff)
downloadfreebsd-ports-gnome-10198f4d8cb7cc5cf92f5f0427781de51a5f96b4.tar.gz
freebsd-ports-gnome-10198f4d8cb7cc5cf92f5f0427781de51a5f96b4.tar.zst
freebsd-ports-gnome-10198f4d8cb7cc5cf92f5f0427781de51a5f96b4.zip
- Fix Modules Path
- Remove MD5 checksum - Bump PORTREVSION Reported by: Benjamin Stier <ben@unpatched.de> Feature safe: Yes
Diffstat (limited to 'net-im/mcabber')
-rw-r--r--net-im/mcabber/Makefile12
-rw-r--r--net-im/mcabber/distinfo1
2 files changed, 5 insertions, 8 deletions
diff --git a/net-im/mcabber/Makefile b/net-im/mcabber/Makefile
index ad3140a21622..87781a6682d0 100644
--- a/net-im/mcabber/Makefile
+++ b/net-im/mcabber/Makefile
@@ -7,9 +7,9 @@
PORTNAME= mcabber
PORTVERSION= 0.10.1
+PORTREVISION= 1
CATEGORIES= net-im
MASTER_SITES= http://www.lilotux.net/~mikael/mcabber/files/ CENKES
-#DISTNAME= ${PORTNAME}-${PORTVERSION}-rc3
MAINTAINER= dhn@FreeBSD.org
COMMENT= Small Jabber console client
@@ -20,14 +20,12 @@ LICENSE= GPLv2
USE_BZIP2= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --enable-sigwinch
-CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+CONFIGURE_ARGS= --enable-sigwinch --libdir=${PREFIX}/lib
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
USE_ICONV= yes
USE_GETTEXT= yes
USE_LDCONFIG= yes
USE_GNOME= glib20
-CPPFLAGS= -I${LOCALBASE}/include
-LDFLAGS= -L${LOCALBASE}/lib
MAN1= mcabber.1
@@ -57,7 +55,7 @@ CONFIGURE_ARGS+=--disable-aspell
.endif
.if defined(WITH_ENCHANT)
-LIB_DEPENDS+= enchant.1:${PORTSDIR}/textproc/enchant
+LIB_DEPENDS+= enchant.1:${PORTSDIR}/textproc/enchant
CONFIGURE_ARGS+=--enable-enchant
.else
CONFIGURE_ARGS+=--disable-enchant
@@ -75,7 +73,7 @@ PLIST_SUB+= OTR="@comment "
post-patch:
@${REINPLACE_CMD} -e 's|$$"$${datadir}"|"$${datadir}"|;s|-O2||'\
- ${WRKSRC}/configure
+ -e 's|$$"$${libdir}|"$${libdir}|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \
${WRKSRC}/Makefile.*
diff --git a/net-im/mcabber/distinfo b/net-im/mcabber/distinfo
index 61e484469b77..ef398bad2a09 100644
--- a/net-im/mcabber/distinfo
+++ b/net-im/mcabber/distinfo
@@ -1,3 +1,2 @@
-MD5 (mcabber-0.10.1.tar.bz2) = fe96beab30f535d5d6270fd1719659b4
SHA256 (mcabber-0.10.1.tar.bz2) = 00cb9c0b272a44559c4207fe37ecd43c5cdff88d1e3a0ed2ba5eec10d9638888
SIZE (mcabber-0.10.1.tar.bz2) = 554682