mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
38 lines
1.2 KiB
Makefile
38 lines
1.2 KiB
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Astro-Catalog
|
|
PORTVERSION= 4.3.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:${PORTSDIR}/astro/p5-Astro-Coords \
|
|
p5-Astro-FITS-CFITSIO>=1.03:${PORTSDIR}/astro/p5-Astro-FITS-CFITSIO \
|
|
p5-Astro-Flux>=0.01:${PORTSDIR}/astro/p5-Astro-Flux \
|
|
p5-Astro-Telescope>=0.50:${PORTSDIR}/astro/p5-Astro-Telescope \
|
|
p5-DateTime>=0:${PORTSDIR}/devel/p5-DateTime \
|
|
p5-DateTime-Format-ISO8601>=0:${PORTSDIR}/devel/p5-DateTime-Format-ISO8601 \
|
|
p5-Misc-Quality>=0.1:${PORTSDIR}/astro/p5-Misc-Quality \
|
|
p5-Number-Uncertainty>=0.1:${PORTSDIR}/math/p5-Number-Uncertainty \
|
|
p5-SOAP-Lite>=0:${PORTSDIR}/net/p5-SOAP-Lite \
|
|
p5-libwww>=5.53:${PORTSDIR}/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>
|