aboutsummaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-07-10 17:27:17 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-07-10 17:27:17 +0000
commit2197d4f17d0e111b29a8f0b1af68486883ee7890 (patch)
treee02e634337bf752f396c3c21c2d55550cbd71a4f /astro
parentca9c2bfb9c84a566ea2e1d07f3f77951781ec258 (diff)
downloadports-2197d4f17d0e111b29a8f0b1af68486883ee7890.tar.gz
ports-2197d4f17d0e111b29a8f0b1af68486883ee7890.zip
- Change path detection of cfitsio
- Pet portlint: remove ABI version number from LIB_DEPENDS
Notes
Notes: svn path=/head/; revision=300728
Diffstat (limited to 'astro')
-rw-r--r--astro/p5-Astro-FITS-CFITSIO/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/astro/p5-Astro-FITS-CFITSIO/Makefile b/astro/p5-Astro-FITS-CFITSIO/Makefile
index d6fa6333c57f..360f5c0cb70b 100644
--- a/astro/p5-Astro-FITS-CFITSIO/Makefile
+++ b/astro/p5-Astro-FITS-CFITSIO/Makefile
@@ -14,15 +14,11 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl extension for using the cfitsio library
-LIB_DEPENDS= cfitsio.0:${PORTSDIR}/astro/cfitsio
+LIB_DEPENDS= cfitsio:${PORTSDIR}/astro/cfitsio
+CONFIGURE_ENV= CFITSIO=${LOCALBASE}
PERL_CONFIGURE= yes
-MAN3= Astro::FITS::CFITSIO.3
+MAN3= Astro::FITS::CFITSIO.3
-.include <bsd.port.pre.mk>
-
-post-patch:
- ${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' ${WRKSRC}/Makefile.PL
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>