2005-09-18 23:19:46 +02:00
|
|
|
# New ports collection makefile for: fracplanet
|
|
|
|
# Date created: 15 Sep 2005
|
|
|
|
# Whom: Igor Pokrovsky <ip@doom.homeunix.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= fracplanet
|
2006-08-10 22:18:45 +02:00
|
|
|
PORTVERSION= 0.3.2
|
2007-07-04 17:10:58 +02:00
|
|
|
PORTREVISION= 2
|
2005-09-18 23:19:46 +02:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
2006-07-22 06:28:27 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-09-18 23:19:46 +02:00
|
|
|
COMMENT= An interactive generator of planets and terrain
|
|
|
|
|
2006-08-10 22:18:45 +02:00
|
|
|
BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake \
|
|
|
|
bash:${PORTSDIR}/shells/bash
|
2007-07-04 17:10:58 +02:00
|
|
|
LIB_DEPENDS= boost_program_options.4:${PORTSDIR}/devel/boost
|
2005-09-18 23:19:46 +02:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
|
2006-08-10 22:18:45 +02:00
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_QT_VER= 3
|
|
|
|
USE_GL= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
MAKE_ENV= QTDIR="${QT_PREFIX}" \
|
|
|
|
QMAKESPEC="${QMAKESPEC}" \
|
|
|
|
VERSION_NUMBER="${PORTVERSION}"
|
2005-09-18 23:19:46 +02:00
|
|
|
|
|
|
|
PORTDOCS= fracplanet.htm fracplanet.css
|
2006-08-10 22:18:45 +02:00
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
|
|
|
|
BASH?= ${LOCALBASE}/bin/bash
|
|
|
|
QMAKE?= ${LOCALBASE}/bin/qmake
|
|
|
|
QMAKESPEC?= ${LOCALBASE}/share/qt/mkspecs/freebsd-g++
|
2005-09-18 23:19:46 +02:00
|
|
|
|
|
|
|
post-patch:
|
2006-08-10 22:18:45 +02:00
|
|
|
.for file in VERSION configure
|
|
|
|
@${REINPLACE_CMD} -e 's|#!/bin/bash|#!${BASH}|g' ${WRKSRC}/${file}
|
|
|
|
.endfor
|
2005-09-18 23:19:46 +02:00
|
|
|
|
|
|
|
do-configure:
|
2006-08-10 22:18:45 +02:00
|
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${BASH} ./configure
|
2005-09-18 23:19:46 +02:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
2006-08-10 22:18:45 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for file in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
|
|
.endfor
|
2005-09-18 23:19:46 +02:00
|
|
|
.endif
|
|
|
|
|
2007-04-15 23:06:14 +02:00
|
|
|
.include <bsd.port.mk>
|