aboutsummaryrefslogtreecommitdiffstats
path: root/astro/nova/Makefile
blob: ed2ad5826aa20201d83535c13ca6de9576dca303 (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
# ex:ts=8
# Ports collection makefile for:    nova
# Date created:         Apr 16, 2004
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   nova
PORTVERSION=    0.4
CATEGORIES= astro
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    An Integrated Observational Environment for amatuer astronomers

LIB_DEPENDS=    sigc-1.2.5:${PORTSDIR}/devel/libsigc++12 \
        gtkmm-2.0.6:${PORTSDIR}/x11-toolkits/gtk--2 \
        gnomemm-2.0.1:${PORTSDIR}/x11/libgnomemm \
        glademm-2.0.1:${PORTSDIR}/devel/libglademm \
        gconfmm-2.0.1:${PORTSDIR}/devel/gconfmm \
        gnomecanvasmm-2.0.1:${PORTSDIR}/graphics/libgnomecanvasmm \
        gnomeuimm-2.0.1:${PORTSDIR}/x11-toolkits/libgnomeuimm \
        xml\\+\\+-1.0.1:${PORTSDIR}/textproc/libxml++ \
        nova-0.9.0:${PORTSDIR}/astro/libnova
RUN_DEPENDS=    ${LOCALBASE}/share/nova/catalogs/sky2000.ncd:${PORTSDIR}/astro/sky2000

USE_REINPLACE=  yes
USE_GCC=    3.3
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib"

post-patch:
    @${REINPLACE_CMD} -e 's,/nova/,/share/nova/,' ${WRKSRC}/configure

.include <bsd.port.mk>