aboutsummaryrefslogtreecommitdiffstats
path: root/devel/g2c
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-06-03 11:35:17 +0800
committerijliao <ijliao@FreeBSD.org>2002-06-03 11:35:17 +0800
commitf4dfab8b1e37e50d24d690fcabe12ceee78494a5 (patch)
tree56cb238414b77b41ec980f256dc845af7f0e3bc5 /devel/g2c
parent5f02c8e9069076a4313099c7751543abc28ce65d (diff)
downloadfreebsd-ports-gnome-f4dfab8b1e37e50d24d690fcabe12ceee78494a5.tar.gz
freebsd-ports-gnome-f4dfab8b1e37e50d24d690fcabe12ceee78494a5.tar.zst
freebsd-ports-gnome-f4dfab8b1e37e50d24d690fcabe12ceee78494a5.zip
add g2c 0.4
Glade to C translator
Diffstat (limited to 'devel/g2c')
-rw-r--r--devel/g2c/Makefile35
-rw-r--r--devel/g2c/distinfo1
-rw-r--r--devel/g2c/pkg-comment1
-rw-r--r--devel/g2c/pkg-descr3
-rw-r--r--devel/g2c/pkg-plist1
5 files changed, 41 insertions, 0 deletions
diff --git a/devel/g2c/Makefile b/devel/g2c/Makefile
new file mode 100644
index 000000000000..18162ed8d8c8
--- /dev/null
+++ b/devel/g2c/Makefile
@@ -0,0 +1,35 @@
+# ex:ts=8
+# Ports collection makefile for: g2c
+# Date created: Mar 21, 2002
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= g2c
+PORTVERSION= 0.4
+CATEGORIES= devel gnome
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= ports@FreeBSD.org
+
+USE_GTK= yes
+WANT_GNOME= yes
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+
+.include <bsd.port.pre.mk>
+
+.if defined(HAVE_GNOME)
+USE_GNOME= yes
+.endif
+
+pre-patch:
+ @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ @${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${PERL} -pi -e \
+ 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
+ s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+
+.include <bsd.port.post.mk>
diff --git a/devel/g2c/distinfo b/devel/g2c/distinfo
new file mode 100644
index 000000000000..b8a32dd001b3
--- /dev/null
+++ b/devel/g2c/distinfo
@@ -0,0 +1 @@
+MD5 (g2c-0.4.tar.gz) = 29f8e1a9f7eb615864bf1971ff85c8eb
diff --git a/devel/g2c/pkg-comment b/devel/g2c/pkg-comment
new file mode 100644
index 000000000000..6b297e948a72
--- /dev/null
+++ b/devel/g2c/pkg-comment
@@ -0,0 +1 @@
+Glade to C translator
diff --git a/devel/g2c/pkg-descr b/devel/g2c/pkg-descr
new file mode 100644
index 000000000000..f33770aeaacd
--- /dev/null
+++ b/devel/g2c/pkg-descr
@@ -0,0 +1,3 @@
+Glade to C translator
+
+WWW: http://www.margaglione.com/g2c/
diff --git a/devel/g2c/pkg-plist b/devel/g2c/pkg-plist
new file mode 100644
index 000000000000..d0b39feb9ee9
--- /dev/null
+++ b/devel/g2c/pkg-plist
@@ -0,0 +1 @@
+bin/g2c