aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/truevision/Makefile
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2003-12-11 23:54:40 +0800
committerkrion <krion@FreeBSD.org>2003-12-11 23:54:40 +0800
commit1c3eb818e6fe6fc89403b0ca7a76f4e421b30710 (patch)
tree1fd2cf3e5801bf980e416d011d67ddb002ec72dd /graphics/truevision/Makefile
parentb8079eada6da1ff0845a870511c1bd35f903e596 (diff)
downloadfreebsd-ports-gnome-1c3eb818e6fe6fc89403b0ca7a76f4e421b30710.tar.gz
freebsd-ports-gnome-1c3eb818e6fe6fc89403b0ca7a76f4e421b30710.tar.zst
freebsd-ports-gnome-1c3eb818e6fe6fc89403b0ca7a76f4e421b30710.zip
- Update to version 0.4.0
PR: 60142 Submitted by: Ports Fury
Diffstat (limited to 'graphics/truevision/Makefile')
-rw-r--r--graphics/truevision/Makefile29
1 files changed, 21 insertions, 8 deletions
diff --git a/graphics/truevision/Makefile b/graphics/truevision/Makefile
index 3a8118a27201..bf4d66869732 100644
--- a/graphics/truevision/Makefile
+++ b/graphics/truevision/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= truevision
-PORTVERSION= 0.3.10
-PORTREVISION= 1
+PORTVERSION= 0.4.0
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -16,17 +15,31 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= The GNOME 3D modeler
-LIB_DEPENDS= gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea
+LIB_DEPENDS= gtkglext-x11-1.0.2:${PORTSDIR}/x11-toolkits/gtkglext
+USE_BZIP2= yes
USE_X_PREFIX= yes
-USE_MESA= yes
-USE_GNOME= gnomehack gnomelibs gnomeprefix
+USE_GL= yes
+USE_GNOME= gnomehack gnomeprefix libgnomeui
USE_GMAKE= yes
USE_AUTOMAKE_VER= 14
-GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
+AUTOMAKE_ARGS= --add-missing --include-deps
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
AUTOHEADER="${TRUE}"
+CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
+LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}
+
+post-extract:
+ @${FIND} ${WRKSRC} -type l -delete
+ @${FIND} ${WRKSRC} -name "*.o" -delete
+ @${FIND} ${WRKSRC} -name "config.cache" -delete
+
+post-install:
+ @${MKDIR} ${PREFIX}/share/gnome/Truevision
+ ${TAR} -C ${WRKSRC} --exclude "CVS" -cf - materials | \
+ ${TAR} -C ${PREFIX}/share/gnome/Truevision --unlink -xf -
+ @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/gnome/Truevision
+
.include <bsd.port.mk>