summaryrefslogtreecommitdiffstats
path: root/net-im/gaim-guifications/Makefile
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-08-07 01:23:57 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2007-08-07 01:23:57 +0800
commit71b8934e32a67a5b445b0bcb08ca55f70d696841 (patch)
treeb1cf6d34c2185d1fc1874ef24048cf55776c80f3 /net-im/gaim-guifications/Makefile
parent2084883ea11d55197ceac371510c1422e667d5a1 (diff)
downloadmarcuscom-ports-71b8934e32a67a5b445b0bcb08ca55f70d696841.tar
marcuscom-ports-71b8934e32a67a5b445b0bcb08ca55f70d696841.tar.gz
marcuscom-ports-71b8934e32a67a5b445b0bcb08ca55f70d696841.tar.bz2
marcuscom-ports-71b8934e32a67a5b445b0bcb08ca55f70d696841.tar.lz
marcuscom-ports-71b8934e32a67a5b445b0bcb08ca55f70d696841.tar.xz
marcuscom-ports-71b8934e32a67a5b445b0bcb08ca55f70d696841.tar.zst
marcuscom-ports-71b8934e32a67a5b445b0bcb08ca55f70d696841.zip
share/gnome/ -> share/.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9356 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net-im/gaim-guifications/Makefile')
-rw-r--r--net-im/gaim-guifications/Makefile48
1 files changed, 48 insertions, 0 deletions
diff --git a/net-im/gaim-guifications/Makefile b/net-im/gaim-guifications/Makefile
new file mode 100644
index 000000000..5a8258013
--- /dev/null
+++ b/net-im/gaim-guifications/Makefile
@@ -0,0 +1,48 @@
+# New ports collection makefile for: gaim-guifications
+# Date created: 2004-05-04
+# Whom: ports@c0decafe.net
+#
+# $FreeBSD$
+#
+
+PORTNAME= guifications
+PORTVERSION= 2.12
+PORTREVISION= 5
+CATEGORIES= net-im
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+PKGNAMEPREFIX= gaim-
+
+MAINTAINER= ports@c0decafe.net
+COMMENT= Plugin to add msn style "toaster" popups to Gaim
+
+BUILD_DEPENDS= ${LOCALBASE}/include/gaim/config.h:${PORTSDIR}/net-im/gaim
+RUN_DEPENDS= gaim:${PORTSDIR}/net-im/gaim
+
+USE_XLIB= yes
+USE_GMAKE= yes
+USE_GNOME= gnomeprefix gnomehack gtk20
+GNU_CONFIGURE= yes
+
+OPTIONS= NLS "Native Language Support" on
+
+.include <bsd.port.pre.mk>
+
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT= yes
+CONFIGURE_ARGS+=--with-libintl-prefix=${LOCALBASE}
+CONFIGURE_ENV+="CPPFLAGS=-I${LOCALBASE}/include" "LIBS=-L${LOCALBASE}/lib"
+PLIST_SUB+= NLS=""
+.else
+CONFIGURE_ARGS+=--disable-nls
+PLIST_SUB+= NLS="@comment "
+.endif
+
+post-extract:
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} \
+ -e 's#\([@(]\)GAIM_LIBDIR\([@)]\)#\1libdir\2#' \
+ -e 's#\([@(]\)GAIM_DATADIR\([@)]\)#\1datadir\2#'
+ @${REINPLACE_CMD} -e 's|-g3||' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure
+
+.include <bsd.port.post.mk>