aboutsummaryrefslogtreecommitdiff
path: root/polish/gnugadu2/Makefile
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2001-12-26 00:54:09 +0000
committerPete Fritchman <petef@FreeBSD.org>2001-12-26 00:54:09 +0000
commit96347291e77d12cfcb99fb93050063d238850fd4 (patch)
treea8541d08e15dac8c0e2be4f1f3833c0d963de400 /polish/gnugadu2/Makefile
parent573d94952bcaeef13b5cf2f18fe0dae6f1bdccb9 (diff)
downloadports-96347291e77d12cfcb99fb93050063d238850fd4.tar.gz
ports-96347291e77d12cfcb99fb93050063d238850fd4.zip
Notes
Diffstat (limited to 'polish/gnugadu2/Makefile')
-rw-r--r--polish/gnugadu2/Makefile40
1 files changed, 40 insertions, 0 deletions
diff --git a/polish/gnugadu2/Makefile b/polish/gnugadu2/Makefile
new file mode 100644
index 000000000000..199d054d9a3d
--- /dev/null
+++ b/polish/gnugadu2/Makefile
@@ -0,0 +1,40 @@
+# Ports collection makefile for: gnugadu
+# Date created: 23 dec 2001
+# Whom: doc@lublin.t1.pl
+#
+# $FreeBSD$
+#
+
+PORTNAME= gnugadu
+PORTVERSION= 0.2.0
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.slackware.pl/gg/
+DISTNAME= gg-${PORTVERSION}
+
+MAINTAINER= doc@lublin.t1.pl
+
+WRKSRC= ${WRKDIR}/gg-${PORTVERSION}
+
+USE_GMAKE= yes
+USE_GTK= yes
+WANT_ESOUND= yes
+GNU_CONFIGURE= yes
+
+.include <bsd.port.pre.mk>
+.if defined(HAVE_ESOUND)
+USE_ESOUND= yes
+.else
+CONFIGURE_ARGS+= --disable-esd
+.endif
+
+post-patch:
+ @${PERL} -pi -e 's,CFLAGS =, CFLAGS += \@GTK_CFLAGS\@,; \
+ s,GTK_ CFLAGS,GTK_CFLAGS,' ${WRKSRC}/Makefile.in \
+ ${WRKSRC}/src/Makefile.in
+ @${PERL} -pi -e 's,-O2,,; s,gtk-config,${GTK_CONFIG},' \
+ ${WRKSRC}/configure
+
+post-install:
+ strip ${PREFIX}/bin/gg
+
+.include <bsd.port.post.mk>