diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2003-09-03 14:20:58 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2003-09-03 14:20:58 +0000 |
commit | 093457520c7c9f0cf2866a5a3ea1f9882c50d3ea (patch) | |
tree | 1cc7d47c8cbc96f8d297caade3286e2af5232125 /misc/goblin/Makefile | |
parent | Add eclipse-langpack-2.1.1.1, the Eclipse language pack is (diff) |
- Update to version 2.6.1
PR: 56322
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=88441
Diffstat (limited to 'misc/goblin/Makefile')
-rw-r--r-- | misc/goblin/Makefile | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/misc/goblin/Makefile b/misc/goblin/Makefile index a5a2dd64cac1..90e1e6ef03f8 100644 --- a/misc/goblin/Makefile +++ b/misc/goblin/Makefile @@ -7,7 +7,7 @@ # PORTNAME= goblin -PORTVERSION= 2.6 +PORTVERSION= 2.6.1 CATEGORIES= misc MASTER_SITES= http://www.math.uni-augsburg.de/opt/goblin.docs/ DISTNAME= ${PORTNAME}.${PORTVERSION} @@ -20,15 +20,22 @@ LIB_DEPENDS= tk83.1:${PORTSDIR}/x11-toolkits/tk83 USE_REINPLACE= yes USE_GMAKE= yes MAKE_ENV= LDFLAGS="${LDFLAGS}" -PLIST_SUB+= PORTVER=${PORTVERSION} +PLIST_SUB+= VERSION=${PORTVERSION:R} CFLAGS+= -I${LOCALBASE}/include/tcl8.3 -I${LOCALBASE}/include/tk8.3 \ -I${X11BASE}/include ${PTHREAD_CFLAGS} LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS} post-patch: -.for file in include/globals.h globals.cpp - @${REINPLACE_CMD} -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/${file} -.endfor + @${REINPLACE_CMD} -e \ + 's|g++ -c .* -Iinclude|$$(CXX) -c $$(CXXFLAGS) -Iinclude|g ; \ + s|g++ -lm|$$(CXX) -lm $$(LDFLAGS)|g ; \ + s|8\.3|83|g ; \ + s|/usr/include|$$(PREFIX)/include|g ; \ + s|/usr/lib|$$(PREFIX)/lib|g ; \ + s|/usr/bin|$$(PREFIX)/bin|g ; \ + s|-lpthread||g' ${WRKSRC}/Makefile + @${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ + 's|malloc\.h|stdlib.h|g' .include <bsd.port.mk> |