diff options
author | ijliao <ijliao@FreeBSD.org> | 2003-05-12 15:45:50 +0800 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2003-05-12 15:45:50 +0800 |
commit | 5872b3226954a3ee8586ca89715c2e29ba4a1d5d (patch) | |
tree | f4932c4792fc6d4e178795ad6431aa871c8669a1 /math/goblin/Makefile | |
parent | 5ddfc3725b9109313a63febda4882086fd4ded0b (diff) | |
download | freebsd-ports-gnome-5872b3226954a3ee8586ca89715c2e29ba4a1d5d.tar.gz freebsd-ports-gnome-5872b3226954a3ee8586ca89715c2e29ba4a1d5d.tar.zst freebsd-ports-gnome-5872b3226954a3ee8586ca89715c2e29ba4a1d5d.zip |
upgrade to 2.6
PR: 51863
Submitted by: Ports Fury
Diffstat (limited to 'math/goblin/Makefile')
-rw-r--r-- | math/goblin/Makefile | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/math/goblin/Makefile b/math/goblin/Makefile index 712c0b12f2bc..a5a2dd64cac1 100644 --- a/math/goblin/Makefile +++ b/math/goblin/Makefile @@ -7,30 +7,26 @@ # PORTNAME= goblin -PORTVERSION= 2.6.b5 +PORTVERSION= 2.6 CATEGORIES= misc MASTER_SITES= http://www.math.uni-augsburg.de/opt/goblin.docs/ -DISTNAME= ${PORTNAME}.${PORTVERSION:R}${PORTVERSION:E} +DISTNAME= ${PORTNAME}.${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= A Graph Object Library for Network Programming Problems -LIB_DEPENDS= tcl83:${PORTSDIR}/lang/tcl83 \ - tk83:${PORTSDIR}/x11-toolkits/tk83 +LIB_DEPENDS= tk83.1:${PORTSDIR}/x11-toolkits/tk83 USE_REINPLACE= yes +USE_GMAKE= yes +MAKE_ENV= LDFLAGS="${LDFLAGS}" +PLIST_SUB+= PORTVER=${PORTVERSION} CFLAGS+= -I${LOCALBASE}/include/tcl8.3 -I${LOCALBASE}/include/tk8.3 \ - -I${X11BASE}/include -LIBS= -L${LOCALBASE}/lib -L${X11BASE}/lib -USE_GMAKE= yes -PLIST_SUB+= PORTVER=${PORTVERSION:R} + -I${X11BASE}/include ${PTHREAD_CFLAGS} +LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS} 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 .for file in include/globals.h globals.cpp @${REINPLACE_CMD} -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/${file} .endfor |