aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/vcg
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-04-20 01:56:05 +0800
committermiwi <miwi@FreeBSD.org>2008-04-20 01:56:05 +0800
commitbce9b81f9d6099820f3839d7809d6b08c1d2ae7b (patch)
treef5dd7c3a8dbebad79bdb5e844aeb69c59a9fd12c /graphics/vcg
parent2eea5f1d2e44418020f8f4db08d40bea6915b6e8 (diff)
downloadfreebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.tar.gz
freebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.tar.zst
freebsd-ports-gnome-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.zip
- 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)
Diffstat (limited to 'graphics/vcg')
-rw-r--r--graphics/vcg/Makefile8
-rw-r--r--graphics/vcg/files/conf4
-rw-r--r--graphics/vcg/files/tMakefile4
3 files changed, 8 insertions, 8 deletions
diff --git a/graphics/vcg/Makefile b/graphics/vcg/Makefile
index 7ecf14960c81..85c2536d3a31 100644
--- a/graphics/vcg/Makefile
+++ b/graphics/vcg/Makefile
@@ -7,7 +7,7 @@
PORTNAME= vcg
PORTVERSION= 1.30
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.cs.uni-sb.de/pub/graphics/vcg/
DISTNAME= ${PORTNAME}.20050204
@@ -16,9 +16,9 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= A Visualization Tool for compiler graphs
-BUILD_DEPENDS= imake:${X_IMAKE_PORT}
+BUILD_DEPENDS= imake:${PORTSDIR}/devel/imake
-USE_X_PREFIX= yes
+USE_XORG= x11 xext
MANL= pbmrot90.l pbmshift.l pbm2hp.l vcgdemomaker.l vcg.l xvcg.l
WRKSRC= ${WRKDIR}/${PORTNAME}.${PORTVERSION}
@@ -29,8 +29,8 @@ pre-patch:
@${SED} -e "s:%%CC%%:${CC}:g" \
-e "s:%%CFLAGS%%:${CFLAGS}:g" \
-e "s:%%MAKE%%:${MAKE}:g;" \
+ -e "s:%%LOCALBASE%%:${LOCALBASE}:g" \
-e "s:%%PREFIX%%:${PREFIX}:g" \
- -e "s:%%X11BASE%%:${X11BASE}:g" \
-e "s:%%INSTALL_PROGRAM%%:${INSTALL_PROGRAM}:g" \
-e "s:%%INSTALL_MAN%%:${INSTALL_MAN}:g" \
< ${FILESDIR}/${file} > ${WRKSRC}/preconf/X11ccFreeBSD/${file}
diff --git a/graphics/vcg/files/conf b/graphics/vcg/files/conf
index 0f697b21356d..bc96e8cd6ffb 100644
--- a/graphics/vcg/files/conf
+++ b/graphics/vcg/files/conf
@@ -1,5 +1,5 @@
-ADDINCLUDEPATHNAME|-I%%X11BASE%%/include/
-ADDLIBPATHNAME|-L%%X11BASE/lib/
+ADDINCLUDEPATHNAME|-I%%LOCALBASE%%/include/
+ADDLIBPATHNAME|-L%%LOCALBASE%%/lib/
ADDLIBSNAME|-lXext -lX11 -lm
ALIGNMENTNAME|8
ANSINAME|#undef ANSI_C
diff --git a/graphics/vcg/files/tMakefile b/graphics/vcg/files/tMakefile
index aa43268f6a84..7241f008ea78 100644
--- a/graphics/vcg/files/tMakefile
+++ b/graphics/vcg/files/tMakefile
@@ -104,7 +104,7 @@ CLINKFLAGS = -o
# then please use
# INCLUDES = -I/usr/local/X11/include/
# INCLUDES = -I/RW/esprit/X11R5/include/
-INCLUDES = -I%%X11BASE%%/include/
+INCLUDES = -I%%LOCALBASE%%/include/
# Library directories
# For Sunview, this should be enough, because on Suns, Sunview
@@ -117,7 +117,7 @@ INCLUDES = -I%%X11BASE%%/include/
# then please use
# LIBPATH = -L/usr/local/X11/lib/
# LIBPATH = -L/RW/esprit/X11R5/lib/
-LIBPATH = -L%%X11BASE%%/lib/
+LIBPATH = -L%%LOCALBASE%%/lib/
# Libraries
# Libraries for SunView