aboutsummaryrefslogtreecommitdiff
path: root/devel/g2c
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-03 03:35:17 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-03 03:35:17 +0000
commit8b10943ae1408501f980b2a410c7c3b554e128fc (patch)
treefed109745c4c722ec77bb81d95483dd0e196c088 /devel/g2c
parent86aa367574df902e68c91ca945c3b61cdf8df165 (diff)
downloadports-8b10943ae1408501f980b2a410c7c3b554e128fc.tar.gz
ports-8b10943ae1408501f980b2a410c7c3b554e128fc.zip
Notes
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