summaryrefslogtreecommitdiff
path: root/x11-toolkits/erlgtk/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/erlgtk/Makefile')
-rw-r--r--x11-toolkits/erlgtk/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/x11-toolkits/erlgtk/Makefile b/x11-toolkits/erlgtk/Makefile
new file mode 100644
index 000000000000..f42b06f152c6
--- /dev/null
+++ b/x11-toolkits/erlgtk/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: erlgtk
+# Date Created: 2 June 2003
+# Whom: cpressey@catseye.mb.ca
+#
+# $FreeBSD$
+#
+
+PORTNAME= erlgtk
+PORTVERSION= 0.9.6
+CATEGORIES= x11-toolkits
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= erlgtk
+DIST_SUBDIR= erlang
+
+MAINTAINER= cpressey@catseye.mb.ca
+COMMENT= GTK+ 1.2 binding for Erlang/OTP
+
+BUILD_DEPENDS= erlc:${PORTSDIR}/lang/erlang
+
+PLIST_SUB= VERSION="${PORTVERSION}"
+
+CONFIGURE_ARGS= --without-gnome
+CONFIGURE_WRKSRC=${WRKSRC}/config
+GNU_CONFIGURE= yes
+USE_AUTOCONF= yes
+USE_GMAKE= yes
+USE_GNOME= gtk12 gdkpixbuf
+
+.if !defined(DISPLAY)
+IGNORE= "must be built from within the X11 environment"
+.endif
+
+post-install:
+ @${LN} -sf ${DISTNAME} ${PREFIX}/lib/erlang/lib/erlgtk
+
+.include <bsd.port.mk>