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
|
2009-10-14 15:45:08 +02:00
|
|
|
PORTVERSION= 0.4.0
|
2012-06-01 07:26:28 +02:00
|
|
|
PORTREVISION= 3
|
2005-09-18 23:19:46 +02:00
|
|
|
CATEGORIES= graphics
|
2007-08-15 16:50:23 +02:00
|
|
|
MASTER_SITES= SF
|
2005-09-18 23:19:46 +02:00
|
|
|
|
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
|
|
|
|
|
2009-10-14 15:45:08 +02:00
|
|
|
BUILD_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt
|
2009-07-28 13:45:08 +02:00
|
|
|
LIB_DEPENDS= boost_program_options.4:${PORTSDIR}/devel/boost-libs
|
2005-09-18 23:19:46 +02:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
|
2012-05-20 04:54:26 +02:00
|
|
|
USE_GL= glu
|
2012-06-06 08:44:37 +02:00
|
|
|
USE_QT4= corelib gui opengl \
|
2009-10-14 15:45:08 +02:00
|
|
|
moc_build qmake_build
|
|
|
|
QT_NONSTANDARD= yes
|
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_ENV= QTDIR="${QT_PREFIX}"
|
|
|
|
CONFIGURE_ARGS= -spec ${QMAKESPEC}
|
2006-08-10 22:18:45 +02:00
|
|
|
USE_GMAKE= yes
|
2005-09-18 23:19:46 +02:00
|
|
|
|
2007-08-15 16:50:23 +02:00
|
|
|
MAN1= ${PORTNAME}.1
|
|
|
|
PORTDOCS= ${PORTNAME}.css ${PORTNAME}.htm
|
2006-08-10 22:18:45 +02:00
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
|
2005-09-18 23:19:46 +02:00
|
|
|
post-patch:
|
2009-10-14 15:45:08 +02:00
|
|
|
.for file in BUILD VERSION configure
|
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
'/^#!/s|/.*bash|/bin/sh|g' ${WRKSRC}/${file}
|
2006-08-10 22:18:45 +02:00
|
|
|
.endfor
|
2005-09-18 23:19:46 +02:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
2007-08-15 16:50:23 +02:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/man/man1/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
|
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>
|