2012-10-26 16:57:50 +02:00
|
|
|
# Created by: hsu
|
1999-08-25 08:16:32 +02:00
|
|
|
# $FreeBSD$
|
1995-02-19 10:25:45 +01:00
|
|
|
|
2000-04-14 12:48:02 +02:00
|
|
|
PORTNAME= vcg
|
|
|
|
PORTVERSION= 1.30
|
2013-11-03 21:02:42 +01:00
|
|
|
PORTREVISION= 3
|
1996-11-18 12:44:27 +01:00
|
|
|
CATEGORIES= graphics
|
2013-01-21 04:33:20 +01:00
|
|
|
MASTER_SITES= http://download.polytechnic.edu.na/pub2/openpkg1/sources/DST/vcg/ \
|
|
|
|
http://ftp.gwdg.de/linux/openpkg/openpkg-ftp/sources/DST/vcg/ \
|
|
|
|
http://ftp.sjtu.edu.cn/sites/ftp.openpkg.org/sources/DST/vcg/ \
|
|
|
|
ftp://ftp.cs.uni-sb.de/pub/graphics/vcg/
|
2005-02-25 20:03:41 +01:00
|
|
|
DISTNAME= ${PORTNAME}.20050204
|
1995-02-19 10:25:45 +01:00
|
|
|
|
2000-02-05 11:55:49 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-06-28 13:51:05 +02:00
|
|
|
COMMENT= Visualization Tool for compiler graphs
|
2000-02-05 11:55:49 +01:00
|
|
|
|
2016-01-12 17:20:31 +01:00
|
|
|
LICENSE= GPLv2+
|
2012-10-26 16:57:50 +02:00
|
|
|
|
2013-01-21 04:33:20 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}.${PORTVERSION}
|
1995-05-16 13:34:33 +02:00
|
|
|
|
2014-07-28 23:54:33 +02:00
|
|
|
USES= imake:env tar:tgz
|
2013-01-21 04:33:20 +01:00
|
|
|
USE_XORG= x11 xext
|
2009-11-18 23:39:55 +01:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
|
1995-02-19 10:25:45 +01:00
|
|
|
pre-patch:
|
2015-08-22 18:00:33 +02:00
|
|
|
@${MKDIR} ${WRKSRC}/preconf/X11cc${OPSYS}
|
2000-10-13 22:21:41 +02:00
|
|
|
.for file in conf demo.csh globals.h tMakefile
|
|
|
|
@${SED} -e "s:%%CC%%:${CC}:g" \
|
|
|
|
-e "s:%%CFLAGS%%:${CFLAGS}:g" \
|
|
|
|
-e "s:%%MAKE%%:${MAKE}:g;" \
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
-e "s:%%LOCALBASE%%:${LOCALBASE}:g" \
|
2013-11-03 21:02:42 +01:00
|
|
|
-e "s:%%PREFIX%%:${STAGEDIR}${PREFIX}:g" \
|
2000-10-13 22:21:41 +02:00
|
|
|
-e "s:%%INSTALL_PROGRAM%%:${INSTALL_PROGRAM}:g" \
|
|
|
|
-e "s:%%INSTALL_MAN%%:${INSTALL_MAN}:g" \
|
2015-08-22 18:00:33 +02:00
|
|
|
< ${FILESDIR}/${file} > ${WRKSRC}/preconf/X11cc${OPSYS}/${file}
|
2000-10-13 22:21:41 +02:00
|
|
|
.endfor
|
1995-02-19 10:25:45 +01:00
|
|
|
|
2013-01-21 04:33:20 +01:00
|
|
|
post-patch:
|
|
|
|
.for i in animation1.c animation2.c animation3.c vcgcount.c
|
|
|
|
@${REINPLACE_CMD} -e '/ main/s|^void|int|' ${WRKSRC}/demo/${i}
|
|
|
|
.endfor
|
|
|
|
|
1995-02-19 10:25:45 +01:00
|
|
|
.include <bsd.port.mk>
|