View | Details | Raw Unified | Return to bug 139520
Collapse All | Expand All

(-)graphics/fracplanet/Makefile (-18 / +13 lines)
Lines 6-48 Link Here
6
#
6
#
7
7
8
PORTNAME=	fracplanet
8
PORTNAME=	fracplanet
9
PORTVERSION=	0.3.3
9
PORTVERSION=	0.4.0
10
PORTREVISION=	2
11
CATEGORIES=	graphics
10
CATEGORIES=	graphics
12
MASTER_SITES=	SF
11
MASTER_SITES=	SF
13
12
14
MAINTAINER=	ports@FreeBSD.org
13
MAINTAINER=	ports@FreeBSD.org
15
COMMENT=	An interactive generator of planets and terrain
14
COMMENT=	An interactive generator of planets and terrain
16
15
17
BUILD_DEPENDS=	qmake:${PORTSDIR}/devel/qmake \
16
BUILD_DEPENDS=	bash:${PORTSDIR}/shells/bash \
18
		bash:${PORTSDIR}/shells/bash
17
		xsltproc:${PORTSDIR}/textproc/libxslt
19
LIB_DEPENDS=	boost_program_options.4:${PORTSDIR}/devel/boost-libs
18
LIB_DEPENDS=	boost_program_options.4:${PORTSDIR}/devel/boost-libs
20
19
21
WRKSRC=		${WRKDIR}/${PORTNAME}
20
WRKSRC=		${WRKDIR}/${PORTNAME}
22
21
23
USE_QT_VER=	3
22
USE_QT_VER=	4
24
USE_GL=		glu
23
QT_COMPONETS=	corelib gui opengl \
24
		moc_build qmake_build
25
QT_NONSTANDARD=	yes
26
HAS_CONFIGURE=	yes
27
CONFIGURE_ENV=	QTDIR="${QT_PREFIX}"
28
CONFIGURE_ARGS=	-spec ${QMAKESPEC}
25
USE_GMAKE=	yes
29
USE_GMAKE=	yes
26
MAKE_ENV=	QTDIR="${QT_PREFIX}" \
27
		QMAKESPEC="${QMAKESPEC}" \
28
		VERSION_NUMBER="${PORTVERSION}"
29
30
30
MAN1=		${PORTNAME}.1
31
MAN1=		${PORTNAME}.1
31
PORTDOCS=	${PORTNAME}.css ${PORTNAME}.htm
32
PORTDOCS=	${PORTNAME}.css ${PORTNAME}.htm
32
PLIST_FILES=	bin/${PORTNAME}
33
PLIST_FILES=	bin/${PORTNAME}
33
34
34
BASH?=		${LOCALBASE}/bin/bash
35
QMAKE?=		${LOCALBASE}/bin/qmake
36
QMAKESPEC?=	${LOCALBASE}/share/qt/mkspecs/freebsd-g++
37
38
post-patch:
35
post-patch:
39
.for file in VERSION configure
36
.for file in BUILD VERSION configure
40
	@${REINPLACE_CMD} -e 's|#!/bin/bash|#!${BASH}|g' ${WRKSRC}/${file}
37
	@${REINPLACE_CMD} -e \
38
		'/^#!/s|/.*bash|${LOCALBASE}/bin/bash|g' ${WRKSRC}/${file}
41
.endfor
39
.endfor
42
40
43
do-configure:
44
	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${BASH} ./configure
45
46
do-install:
41
do-install:
47
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
42
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
48
	${INSTALL_MAN} ${WRKSRC}/man/man1/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
43
	${INSTALL_MAN} ${WRKSRC}/man/man1/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
(-)graphics/fracplanet/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (fracplanet-0.3.3.tar.gz) = 7c62b37ade61b79309d433f1b527efcf
1
MD5 (fracplanet-0.4.0.tar.gz) = 270a0712c62adf58461cd5e7f7474aa0
2
SHA256 (fracplanet-0.3.3.tar.gz) = f56b1bbf572320a28a59242fc1dcceee89420abce0790795d9798bc5e9001214
2
SHA256 (fracplanet-0.4.0.tar.gz) = 38d56aba3c5cf19d4f2c218bece471d3860b161d2210a24ba94550356723482a
3
SIZE (fracplanet-0.3.3.tar.gz) = 98080
3
SIZE (fracplanet-0.4.0.tar.gz) = 101700

Return to bug 139520