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

PORTNAME=	nova
PORTVERSION=	0.4
PORTREVISION=	1
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
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
BROKEN=		"Does not compile with gcc 2.x"
.endif

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

.include <bsd.port.post.mk>