summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/gal2/Makefile
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2007-05-23 22:37:36 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2007-05-23 22:37:36 +0800
commit94d5510a0a21fdd065b680d6ecfc110dab3b620e (patch)
treedf2b7ee5ebce8376b2a1c1160fce0725fd6bf139 /x11-toolkits/gal2/Makefile
parent5207f2c909dbadc879f475bd3680c321d8ed962a (diff)
downloadmarcuscom-ports-94d5510a0a21fdd065b680d6ecfc110dab3b620e.tar
marcuscom-ports-94d5510a0a21fdd065b680d6ecfc110dab3b620e.tar.gz
marcuscom-ports-94d5510a0a21fdd065b680d6ecfc110dab3b620e.tar.bz2
marcuscom-ports-94d5510a0a21fdd065b680d6ecfc110dab3b620e.tar.lz
marcuscom-ports-94d5510a0a21fdd065b680d6ecfc110dab3b620e.tar.xz
marcuscom-ports-94d5510a0a21fdd065b680d6ecfc110dab3b620e.tar.zst
marcuscom-ports-94d5510a0a21fdd065b680d6ecfc110dab3b620e.zip
share/gnome -> share
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8915 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits/gal2/Makefile')
-rw-r--r--x11-toolkits/gal2/Makefile56
1 files changed, 56 insertions, 0 deletions
diff --git a/x11-toolkits/gal2/Makefile b/x11-toolkits/gal2/Makefile
new file mode 100644
index 000000000..9aa820be3
--- /dev/null
+++ b/x11-toolkits/gal2/Makefile
@@ -0,0 +1,56 @@
+# New ports collection makefile for: gal2
+# Date created: 25 August 2002
+# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom: ports/x11-toolkits/gal2/Makefile,v 1.52 2005/08/19 13:26:41 marcus Exp $
+#
+
+PORTNAME= gal2
+PORTVERSION= 2.5.3
+PORTREVISION?= 4
+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
+
+.if !defined(REFERENCE_PORT)
+
+USE_PERL5= yes
+USE_GMAKE= yes
+USE_GNOME= gnomehack gnomeprefix intlhack libgnomeui libgnomeprintui \
+ ltverhack
+USE_GETTEXT= yes
+USE_X_PREFIX= yes
+USE_LDCONFIG= yes
+USE_AUTOTOOLS= libtool: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-extract:
+ ${TOUCH} -f ${WRKSRC}/gal/util/e-util-private.h
+
+post-patch:
+ @${REINPLACE_CMD} -e '/^SUBDIRS/ s|docs||' ${WRKSRC}/Makefile.in
+.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>
+
+.endif