blob: 3169d05f04669864b71e2eafd25fd8b9a3d10961 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# New ports collection makefile for: fracplanet
# Date created: 15 Sep 2005
# Whom: Igor Pokrovsky <ip@doom.homeunix.org>
#
# $FreeBSD$
#
PORTNAME= fracplanet
PORTVERSION= 0.4.0
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= An interactive generator of planets and terrain
BUILD_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt
LIB_DEPENDS= boost_program_options.4:${PORTSDIR}/devel/boost-libs
WRKSRC= ${WRKDIR}/${PORTNAME}
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
MAN1= ${PORTNAME}.1
PORTDOCS= ${PORTNAME}.css ${PORTNAME}.htm
PLIST_FILES= bin/${PORTNAME}
post-patch:
.for file in BUILD VERSION configure
@${REINPLACE_CMD} -e \
'/^#!/s|/.*bash|/bin/sh|g' ${WRKSRC}/${file}
.endfor
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/man/man1/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
|