1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/math/goblin/Makefile

39 lines
1011 B
Makefile
Raw Normal View History

# ex:ts=8
# Ports collection makefile for: goblin
# Date created: Mar 3, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= goblin
2003-04-01 08:44:28 +00:00
PORTVERSION= 2.6.b5
CATEGORIES= misc
MASTER_SITES= http://www.math.uni-augsburg.de/opt/goblin.docs/
2003-04-01 08:44:28 +00:00
DISTNAME= ${PORTNAME}.${PORTVERSION:R}${PORTVERSION:E}
MAINTAINER= ports@FreeBSD.org
2003-02-20 19:00:52 +00:00
COMMENT= A Graph Object Library for Network Programming Problems
LIB_DEPENDS= tcl83:${PORTSDIR}/lang/tcl83 \
tk83:${PORTSDIR}/x11-toolkits/tk83
USE_REINPLACE= yes
CFLAGS+= -I${LOCALBASE}/include/tcl8.3 -I${LOCALBASE}/include/tk8.3 \
-I${X11BASE}/include
LIBS= -L${LOCALBASE}/lib -L${X11BASE}/lib
2003-04-01 08:44:28 +00:00
USE_GMAKE= yes
PLIST_SUB+= PORTVER=${PORTVERSION:R}
post-patch:
@${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g ; \
s,g\+\+,${CXX},g ; \
s,%%CXXFLAGS%%,${CXXFLAGS},g ; s,%%LIBS%%,${LIBS},g ; \
s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/Makefile
2003-04-01 08:44:28 +00:00
.for file in include/globals.h globals.cpp
@${REINPLACE_CMD} -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/${file}
.endfor
.include <bsd.port.mk>