summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gal2/Makefile
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2005-04-27 00:37:20 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2005-04-27 00:37:20 +0800
commit78ff286f2020f3d10729bc7c3288132f5ac49fe1 (patch)
tree7e25fe684b726d08c0ac51f274138e572577daf7 /x11-toolkits/gal2/Makefile
parentbd6dbed351633b45e181b160b976a98931bac127 (diff)
downloadmarcuscom-ports-78ff286f2020f3d10729bc7c3288132f5ac49fe1.tar
marcuscom-ports-78ff286f2020f3d10729bc7c3288132f5ac49fe1.tar.gz
marcuscom-ports-78ff286f2020f3d10729bc7c3288132f5ac49fe1.tar.bz2
marcuscom-ports-78ff286f2020f3d10729bc7c3288132f5ac49fe1.tar.lz
marcuscom-ports-78ff286f2020f3d10729bc7c3288132f5ac49fe1.tar.xz
marcuscom-ports-78ff286f2020f3d10729bc7c3288132f5ac49fe1.tar.zst
marcuscom-ports-78ff286f2020f3d10729bc7c3288132f5ac49fe1.zip
Readd gal2 and update to 2.5.1.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3948 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits/gal2/Makefile')
-rw-r--r--x11-toolkits/gal2/Makefile44
1 files changed, 44 insertions, 0 deletions
diff --git a/x11-toolkits/gal2/Makefile b/x11-toolkits/gal2/Makefile
new file mode 100644
index 000000000..bc86af573
--- /dev/null
+++ b/x11-toolkits/gal2/Makefile
@@ -0,0 +1,44 @@
+# New ports collection makefile for: gal2
+# Date created: 25 August 2002
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gal2
+PORTVERSION= 2.5.1
+CATEGORIES= x11-toolkits gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.5
+DISTNAME= ${PORTNAME:S/2$//}-${PORTVERSION}
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= A collection of widgets taken from GNOME 2 gnumeric
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_REINPLACE= yes
+USE_PERL5= yes
+USE_GMAKE= yes
+USE_GNOME= gnomehack gnomeprefix intlhack libgnomeui libgnomeprintui
+INSTALLS_SHLIB= yes
+USE_LIBTOOL_VER=15
+CONFIGURE_ARGS= --enable-static --with-libiconv
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+PLIST_SUB= VERSION="2.6" PORTVERSION=${PORTVERSION} \
+ SHLIBVERSION="2.4"
+
+.include <bsd.port.pre.mk>
+
+post-patch:
+.if ( ${OSVERSION} > 600000 && ${OSVERSION} < 600006 ) || \
+ ( ${OSVERSION} < 503101 )
+.for po in da.po it.po zh_CN.po
+ @${REINPLACE_CMD} -e 's|%-|%|g' ${WRKSRC}/po/${po}
+.endfor
+.endif
+
+.include <bsd.port.post.mk>