aboutsummaryrefslogtreecommitdiffstats
path: root/astro/stellarium/Makefile
blob: df4aa3238bf76da7b0a77c6d5a20b496632fa92e (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
52
53
54
55
56
57
58
59
60
61
62
63
64
# New ports collection makefile for:    Stellarium
# Date created:             26 Jan 2004
# Whom:                 Jean-Yves Lefort <jylefort@brutele.be>
#
# $FreeBSD$
#

PORTNAME=   stellarium
PORTVERSION=    0.10.3
PORTREVISION=   2
CATEGORIES= astro
MASTER_SITES=   SF/${PORTNAME}/Stellarium-sources/${PORTVERSION}

MAINTAINER= danfe@FreeBSD.org
COMMENT=    A 3D photo-realistic sky renderer

LIB_DEPENDS=    boost_thread.4:${PORTSDIR}/devel/boost-libs \
        jpeg.11:${PORTSDIR}/graphics/jpeg \
        png.6:${PORTSDIR}/graphics/png \
        freetype:${PORTSDIR}/print/freetype2

USE_QT_VER= 4
QT_COMPONENTS=  moc_build rcc_build uic_build qmake_build \
        corelib gui opengl script network svg qtestlib sql
USE_GETTEXT=    yes
USE_ICONV=  yes
USE_GL=     gl glu
USE_CMAKE=  yes
CMAKE_ARGS+=    -DFreeType2_INCLUDE_DIR="${LOCALBASE}/include/freetype2" \
        -DCMAKE_EXE_LINKER_FLAGS="-L${LOCALBASE}/lib"

PORTDOCS=   AUTHORS ChangeLog README

MAN1=       stellarium.1

DESKTOP_ENTRIES="Stellarium" \
        "View the sky" \
        "${DATADIR}/data/stellarium.ico" \
        "stellarium" \
        "" \
        false

post-patch:
# _assert conflicts with some macros on 6.x
    @${REINPLACE_CMD} -e 's|_assert|_&_|' ${WRKSRC}/src/tests/*.cpp
    @${REINPLACE_CMD} -e '/typedef.*void.*__GLXextFuncPtr/ d' \
        ${WRKSRC}/src/external/GLee.h
    @${REINPLACE_CMD} -e '/SET(CMAKE_BUILD_TYPE/ 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 installs one that
# doesn't handle FontChange)
    @${FIND} ${WRKSRC}/src ${WRKSRC}/plugins -type f -print0 | \
        ${XARGS} -0 ${REINPLACE_CMD} -i '' -e 's/fixx11h.h/fixx11qt4h.h/'
    @${MV} ${WRKSRC}/src/external/fixx11h.h ${WRKSRC}/src/external/fixx11qt4h.h

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif

.include <bsd.port.mk>
gnome/commit/editors/gedit?h=gstreamer0.10-removal&id=628190fabfeb8c1639391774b2aea02d156ad50f'>Convert the Python framework bits to USES=python.mva2014-08-091-13/+6 * Link editors/gedit and graphics/evince with libICE. (Fixup for r351936)tijl2014-04-241-1/+5 * When linking a library libA with a library libB using libtool, if libB.latijl2014-04-231-2/+3 * Support stagebapt2014-04-112-36/+9 * - Remove manual creation and removal of share/applications, as it's now in th...amdmi32013-10-221-1/+0 * Add NO_STAGE all over the place in preparation for the staging support (cat: ...bapt2013-09-211-0/+1 * Add an explicit dependency on pkgconfbapt2013-09-031-7/+2 * - Convert USE_GETTEXT to USES (part 3)ak2013-04-251-1/+1 * - update png to 1.5.10dinoex2012-06-011-1/+1 * - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)amdmi32011-09-241-2/+2 * - Get Rid MD5 supportmiwi2011-03-201-1/+0 * Sync to new bsd.autotools.mkade2010-12-041-1/+1 * Presenting GNOME 2.32.1 for FreeBSD. The offical release notes for thiskwm2010-11-203-5/+11 * Presenting GNOME 2.30.2. for FreeBSD.kwm2010-07-262-6/+5 * Bounce PORTREVISION for gettext-related ports. Have fun, ya'll.ade2010-05-311-0/+1 * Presenting GNOME 2.30.1 for FreeBSD. The offical release notes for thiskwm2010-05-113-38/+39 * - update to 1.4.1dinoex2010-03-281-1/+1 * - update to jpeg-8dinoex2010-02-051-0/+1 * Update to 2.28.3.kwm2009-12-202-4/+4 * Update to 2.28.2.marcus2009-12-062-4/+4 * Presenting GNOME 2.28.1 for FreeBSD. The official release notes for thismarcus2009-11-293-21/+31 * -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.mezz2009-08-031-1/+1 * - bump all port that indirectly depends on libjpeg and have not yet been bump...dinoex2009-07-311-0/+1 * Update to 2.26.3.avl2009-07-033-4/+15 * Update to 2.26.2.marcus2009-05-183-4/+26 * Presenting GNOME 2.26.1 for FreeBSD.kwm2009-04-243-5/+20 * Presenting GNOME 2.26 for FreeBSD. Seemarcus2009-04-105-65/+60 * Update to 2.24.3.marcus2009-01-132-4/+4 * Presenting GNOME 2.24 for FreeBSD.marcus2009-01-104-35/+66 * Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-0/+1 * Update to 2.22.3.marcus2008-05-282-4/+4 * Update to 2.22.2.marcus2008-05-283-20/+4 * - Remove unneeded dependency from gtk12/gtk20 [1]miwi2008-04-201-1/+1 * Update to 2.22.1ahze2008-04-083-12/+13 * The FreeBSD GNOME team is proud to annunce the release of GNOME 2.22.0 formarcus2008-03-244-13/+52 * Update to 2.20.4.marcus2007-12-122-5/+5 * Presenting GNOME 2.20.1 and all related works for FreeBSD. The officialmarcus2007-10-253-102/+145 * -Update to 2.18.2.mezz2007-07-043-9/+13 * - Welcome X.org 7.2 \o/.flz2007-05-202-38/+1 * Update to 2.18.1.marcus2007-04-113-8/+19 * Presenting GNOME 2.18 for FreeBSD. GNOME 2.18 is a departure from recent GNOMEmarcus2007-03-194-21/+42 * Update to 2.16.2.marcus2006-10-313-5/+16 * Presenting GNOME 2.16.1 for FreeBSD. This release represents a massivemarcus2006-10-143-32/+143 * Update to 2.14.4.marcus2006-07-312-4/+4 * Update to 2.14.3.mezz2006-05-303-4/+7 * Presenting GNOME 2.14.1 for FreeBSD! Checkoutmarcus2006-04-306-83/+195 * Conversion to a single libtool environment.ade2006-02-232-1/+12 * Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtryedwin2006-01-221-2/+2 * - Add SHA256 checksumspav2005-11-241-0/+1 * Presenting GNOME 2.12 for FreeBSD. The release is chock full of bug fixesmarcus2005-11-053-6/+8 * - Update to 2.10.5.mezz2005-08-294-3/+17 * - Update or add WWW: linesahze2005-06-101-1/+1 * Update to 2.10.3.mezz2005-06-092-3/+3 * Update to 2.10.2.marcus2005-04-055-34/+6 * Update to 2.10.1.mezz2005-04-033-4/+4 * Fully-qualify the path to update-desktop-database and update-mime-database inmezz2005-03-172-2/+3 * Presenting GNOME 2.10 for FreeBSD!marcus2005-03-125-9/+41 * Update to 2.8.3.mezz2005-02-133-76/+74 * Add manual to update the mimetype database, it seems like GNOME developersmezz2005-02-101-0/+4 * - Move editors/gedit2 to editors/geditpav2005-01-255-0/+340 * Begin the de-orbit burn of the GNOME 1.4 desktop. This is phase I. Allmarcus2003-07-1617-340/+0 * Remove REINPLACE commands that were rolled into gnomehack.adamw2003-06-121-4/+0 * Remove USE_GNOMENG.marcus2003-04-201-1/+0 * Clear moonlight beckons.ade2003-03-072-1/+1 * GNOME has just changed the layout of their FTP site. This resulted inmarcus2002-09-211-1/+1 * - Use USE_GNOMENG;sobomax2002-07-2016-119/+170 * Use USE_REINPLACE.sobomax2002-07-111-4/+5 * Missed these two in yesterday's uber-patch owing to a botched localade2002-04-141-1/+6 * Backout previous change - it seems that new revision of the patch doesn'tsobomax2001-12-201-17/+8 * Don't filter libc_r on 5-CURRENT.sobomax2001-12-201-8/+17 * Don't link in libc - FreeBSD doesn't need this.sobomax2001-10-311-1/+11 * Update to 0.9.7.sobomax2001-09-114-37/+45 * SWitch maintainership of core GNOME ports to a small group ofade2001-05-121-1/+1 * The new GNOME 1.4 "Fifth-Toe" metaport, bringing together a wholeade2001-05-053-19/+4