summaryrefslogtreecommitdiffstats
path: root/astro/p5-Astro-Catalog/Makefile
blob: 55d96681717707e51cd7bc3b5c37332bdf48d8f4 (plain)
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
# Created by: ijliao
# $FreeBSD$

PORTNAME=	Astro-Catalog
PORTVERSION=	4.3.1
PORTREVISION=	1
CATEGORIES=	astro perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-
DISTNAME=	${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}

MAINTAINER=	perl@FreeBSD.org
COMMENT=	Generic stellar catalogue object

LICENSE=	GPLv3

# p5-Astro-FITS-CFITSIO is a recommended dependency
BUILD_DEPENDS=	p5-Astro-Coords>=0.12:astro/p5-Astro-Coords \
		p5-Astro-FITS-CFITSIO>=1.03:astro/p5-Astro-FITS-CFITSIO \
		p5-Astro-Flux>=0.01:astro/p5-Astro-Flux \
		p5-Astro-Telescope>=0.50:astro/p5-Astro-Telescope \
		p5-DateTime>=0:devel/p5-DateTime \
		p5-DateTime-Format-ISO8601>=0:devel/p5-DateTime-Format-ISO8601 \
		p5-Misc-Quality>=0.1:astro/p5-Misc-Quality \
		p5-Number-Uncertainty>=0.1:math/p5-Number-Uncertainty \
		p5-SOAP-Lite>=0:net/p5-SOAP-Lite \
		p5-libwww>=5.53:www/p5-libwww
RUN_DEPENDS:=	${BUILD_DEPENDS}

CFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
USES=		perl5
USE_PERL5=	modbuild

post-patch:
	@${REINPLACE_CMD} -e '/\.cfg/ s|\.cfg|&.sample|2' ${WRKSRC}/Build.PL

.include <bsd.port.mk>
OpenPOWER on IntegriCloud