1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-30 01:15:52 +00:00
freebsd-ports/graphics/fracplanet/Makefile
Martin Wilke 8dbc6dff98 - Update to 0.3.2
PR:		ports/101596
Submitted by:	KATO Tsuguru <tkato432(at)yahoo.com>
Approved by:	krion (mentor)
2006-08-10 20:18:45 +00:00

62 lines
1.4 KiB
Makefile

# New ports collection makefile for: fracplanet
# Date created: 15 Sep 2005
# Whom: Igor Pokrovsky <ip@doom.homeunix.org>
#
# $FreeBSD$
#
PORTNAME= fracplanet
PORTVERSION= 0.3.2
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= An interactive generator of planets and terrain
BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake \
bash:${PORTSDIR}/shells/bash
LIB_DEPENDS= boost_program_options.3:${PORTSDIR}/devel/boost
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_X_PREFIX= yes
USE_QT_VER= 3
USE_GL= yes
USE_GMAKE= yes
MAKE_ENV= QTDIR="${QT_PREFIX}" \
QMAKESPEC="${QMAKESPEC}" \
VERSION_NUMBER="${PORTVERSION}"
PORTDOCS= fracplanet.htm fracplanet.css
PLIST_FILES= bin/${PORTNAME}
BASH?= ${LOCALBASE}/bin/bash
QMAKE?= ${LOCALBASE}/bin/qmake
QMAKESPEC?= ${LOCALBASE}/share/qt/mkspecs/freebsd-g++
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= Does not build on FreeBSD 4.x
.endif
post-patch:
.for file in VERSION configure
@${REINPLACE_CMD} -e 's|#!/bin/bash|#!${BASH}|g' ${WRKSRC}/${file}
.endfor
do-configure:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${BASH} ./configure
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.post.mk>