diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-06-03 03:35:17 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-06-03 03:35:17 +0000 |
commit | 8b10943ae1408501f980b2a410c7c3b554e128fc (patch) | |
tree | fed109745c4c722ec77bb81d95483dd0e196c088 /devel/g2c/Makefile | |
parent | 86aa367574df902e68c91ca945c3b61cdf8df165 (diff) | |
download | ports-8b10943ae1408501f980b2a410c7c3b554e128fc.tar.gz ports-8b10943ae1408501f980b2a410c7c3b554e128fc.zip |
Notes
Diffstat (limited to 'devel/g2c/Makefile')
-rw-r--r-- | devel/g2c/Makefile | 35 |
1 files changed, 35 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> |