aboutsummaryrefslogtreecommitdiffstats
path: root/misc/goblin/Makefile
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-03-03 20:06:20 +0800
committerijliao <ijliao@FreeBSD.org>2002-03-03 20:06:20 +0800
commit3cd7c0b05f92d07bb9f5c69915ceb2c12d4b5843 (patch)
tree6890d7185855c55f2ff843b624ef417e394e75af /misc/goblin/Makefile
parent01e6bfc68d47bdc981917b47a2db8edf5b65f6cd (diff)
downloadfreebsd-ports-gnome-3cd7c0b05f92d07bb9f5c69915ceb2c12d4b5843.tar.gz
freebsd-ports-gnome-3cd7c0b05f92d07bb9f5c69915ceb2c12d4b5843.tar.zst
freebsd-ports-gnome-3cd7c0b05f92d07bb9f5c69915ceb2c12d4b5843.zip
add goblin 2.4a3
A Graph Object Library for Network Programming Problems
Diffstat (limited to 'misc/goblin/Makefile')
-rw-r--r--misc/goblin/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/misc/goblin/Makefile b/misc/goblin/Makefile
new file mode 100644
index 000000000000..fa8d24deb732
--- /dev/null
+++ b/misc/goblin/Makefile
@@ -0,0 +1,31 @@
+# ex:ts=8
+# Ports collection makefile for: goblin
+# Date created: Mar 3, 2002
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= goblin
+PORTVERSION= 2.4a3
+CATEGORIES= misc
+MASTER_SITES= http://www.math.uni-augsburg.de/opt/goblin.docs/
+DISTNAME= ${PORTNAME}.${PORTVERSION}
+
+MAINTAINER= ports@FreeBSD.org
+
+LIB_DEPENDS= tcl83:${PORTSDIR}/lang/tcl83 \
+ tk83:${PORTSDIR}/x11-toolkits/tk83
+
+CFLAGS+= -I${LOCALBASE}/include/tcl8.3 -I${LOCALBASE}/include/tk8.3 \
+ -I${X11BASE}/include
+LIBS= -L${LOCALBASE}/lib -L${X11BASE}/lib
+
+post-patch:
+ @${PERL} -pi -e "s,-lpthread,${PTHREAD_LIBS},g ; \
+ s,g\+\+,${CXX},g ; \
+ s,%%CXXFLAGS%%,${CXXFLAGS},g ; s,%%LIBS%%,${LIBS},g ; \
+ s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/Makefile
+ @${PERL} -pi -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/include/globals.h
+
+.include <bsd.port.mk>