eee58d187e
Before, we had: site_perl : lib/perl5/site_perl/5.18 site_perl/perl_arch : lib/perl5/site_perl/5.18/mach perl_man3 : lib/perl5/5.18/man/man3 Now we have: site_perl : lib/perl5/site_perl site_arch : lib/perl5/site_perl/mach/5.18 perl_man3 : lib/perl5/site_perl/man/man3 Modules without any .so will be installed at the same place regardless of the Perl version, minimizing the upgrade when the major Perl version is changed. It uses a version dependent directory for modules with compiled bits. As PERL_ARCH is no longer needed in plists, it has been removed from PLIST_SUB. The USE_PERL5=fixpacklist keyword is removed, the .packlist file is now always removed, as is perllocal.pod. The old site_perl and site_perl/arch directories have been kept in the default Perl @INC for all Perl ports, and will be phased out as these old Perl versions expire. PR: 194969 Differential Revision: https://reviews.freebsd.org/D1019 Exp-run by: antoine Reviewed by: perl@ Approved by: portmgr
38 lines
1.2 KiB
Makefile
38 lines
1.2 KiB
Makefile
# 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:${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>
|