aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-10-14 21:45:08 +0800
committermiwi <miwi@FreeBSD.org>2009-10-14 21:45:08 +0800
commit3bb04d76065f9b1f6998924a3c7e126a94c313ca (patch)
treeeb39a7059fd9d76e87f25e39b8c79ff4bb018658 /graphics
parent8dc7e012fd9e7a2b0f90b25e4aa079f67e426db9 (diff)
downloadfreebsd-ports-gnome-3bb04d76065f9b1f6998924a3c7e126a94c313ca.tar.gz
freebsd-ports-gnome-3bb04d76065f9b1f6998924a3c7e126a94c313ca.tar.zst
freebsd-ports-gnome-3bb04d76065f9b1f6998924a3c7e126a94c313ca.zip
- Update to 0.4.0
PR: 139520 Submitted by: Ports Fury
Diffstat (limited to 'graphics')
-rw-r--r--graphics/fracplanet/Makefile30
-rw-r--r--graphics/fracplanet/distinfo6
2 files changed, 15 insertions, 21 deletions
diff --git a/graphics/fracplanet/Makefile b/graphics/fracplanet/Makefile
index cb4d1dbae473..2715f1ade17f 100644
--- a/graphics/fracplanet/Makefile
+++ b/graphics/fracplanet/Makefile
@@ -6,43 +6,37 @@
#
PORTNAME= fracplanet
-PORTVERSION= 0.3.3
-PORTREVISION= 2
+PORTVERSION= 0.4.0
CATEGORIES= graphics
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= An interactive generator of planets and terrain
-BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake \
- bash:${PORTSDIR}/shells/bash
+BUILD_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt
LIB_DEPENDS= boost_program_options.4:${PORTSDIR}/devel/boost-libs
WRKSRC= ${WRKDIR}/${PORTNAME}
-USE_QT_VER= 3
-USE_GL= glu
+USE_QT_VER= 4
+QT_COMPONENTS= corelib gui opengl \
+ moc_build qmake_build
+QT_NONSTANDARD= yes
+HAS_CONFIGURE= yes
+CONFIGURE_ENV= QTDIR="${QT_PREFIX}"
+CONFIGURE_ARGS= -spec ${QMAKESPEC}
USE_GMAKE= yes
-MAKE_ENV= QTDIR="${QT_PREFIX}" \
- QMAKESPEC="${QMAKESPEC}" \
- VERSION_NUMBER="${PORTVERSION}"
MAN1= ${PORTNAME}.1
PORTDOCS= ${PORTNAME}.css ${PORTNAME}.htm
PLIST_FILES= bin/${PORTNAME}
-BASH?= ${LOCALBASE}/bin/bash
-QMAKE?= ${LOCALBASE}/bin/qmake
-QMAKESPEC?= ${LOCALBASE}/share/qt/mkspecs/freebsd-g++
-
post-patch:
-.for file in VERSION configure
- @${REINPLACE_CMD} -e 's|#!/bin/bash|#!${BASH}|g' ${WRKSRC}/${file}
+.for file in BUILD VERSION configure
+ @${REINPLACE_CMD} -e \
+ '/^#!/s|/.*bash|/bin/sh|g' ${WRKSRC}/${file}
.endfor
-do-configure:
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${BASH} ./configure
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/man1/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
diff --git a/graphics/fracplanet/distinfo b/graphics/fracplanet/distinfo
index f866573769c7..8c15e57b3d62 100644
--- a/graphics/fracplanet/distinfo
+++ b/graphics/fracplanet/distinfo
@@ -1,3 +1,3 @@
-MD5 (fracplanet-0.3.3.tar.gz) = 7c62b37ade61b79309d433f1b527efcf
-SHA256 (fracplanet-0.3.3.tar.gz) = f56b1bbf572320a28a59242fc1dcceee89420abce0790795d9798bc5e9001214
-SIZE (fracplanet-0.3.3.tar.gz) = 98080
+MD5 (fracplanet-0.4.0.tar.gz) = 270a0712c62adf58461cd5e7f7474aa0
+SHA256 (fracplanet-0.4.0.tar.gz) = 38d56aba3c5cf19d4f2c218bece471d3860b161d2210a24ba94550356723482a
+SIZE (fracplanet-0.4.0.tar.gz) = 101700