blob: d7eb3b0b3be55b257923403c900b95b008c1fe8d (
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: Stellarium
# Date created: 26 Jan 2004
# Whom: Jean-Yves Lefort <jylefort@brutele.be>
#
# $FreeBSD$
#
PORTNAME= stellarium
PORTVERSION= 0.10.6
CATEGORIES= astro
MASTER_SITES= SF/${PORTNAME}/Stellarium-sources/${PORTVERSION}
MAINTAINER= danfe@FreeBSD.org
COMMENT= A 3D photo-realistic sky renderer
LICENSE= GPLv2
USE_CMAKE= yes
USE_GETTEXT= yes
USE_ICONV= yes
USE_QT_VER= 4
QT_COMPONENTS= moc_build rcc_build uic_build qmake_build \
corelib gui network opengl script
MAKE_JOBS_SAFE= yes
MAN1= stellarium.1
PORTDOCS= AUTHORS ChangeLog README
DESKTOP_ENTRIES="Stellarium" "View the sky" \
"${DATADIR}/data/stellarium.ico" "${PORTNAME}" \
"Application;Astronomy;Education;Science;" ${FALSE}
post-patch:
@${REINPLACE_CMD} -e '/typedef.*void.*__GLXextFuncPtr/d' \
${WRKSRC}/src/core/external/GLee.h
@${REINPLACE_CMD} -e '/QTTEST/d' ${WRKSRC}/CMakeLists.txt
@${REINPLACE_CMD} -e 's|share/man/man1|man/man1|' \
${WRKSRC}/doc/CMakeLists.txt
# avoid picking up the wrong `fixx11h.h' (x11/kdelibs3 port installs one that
# doesn't handle FontChange)
@${FIND} ${WRKSRC}/src ${WRKSRC}/plugins -type f -print0 | \
${XARGS} -0 ${REINPLACE_CMD} -e 's/fixx11h\.h/fixx11qt4h.h/'
@cd ${WRKSRC}/src/core/external && ${MV} fixx11h.h fixx11qt4h.h
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.mk>
|