cdc3f61df1
(to note that this package installs a Perl module). While I'm here, bl3ify the package.
32 lines
899 B
Makefile
32 lines
899 B
Makefile
# $NetBSD: Makefile,v 1.15 2004/03/22 17:29:02 jlam Exp $
|
|
|
|
DISTNAME= udunits
|
|
PKGNAME= udunits-1.12.1
|
|
CATEGORIES= math devel
|
|
MASTER_SITES= http://www.unidata.ucar.edu/packages/udunits/
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://www.unidata.ucar.edu/packages/udunits/
|
|
COMMENT= Library and program for manipulating units of physical quantities
|
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}/src
|
|
DIST_SUBDIR= ${PKGNAME_NOREV}
|
|
|
|
USE_BUILDLINK3= yes
|
|
USE_PKGINSTALL= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
|
|
|
CPPFLAGS+= -Df2cFortran -Dunix
|
|
PERL5_CONFIGURE= no
|
|
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/UDUNITS/.packlist
|
|
|
|
EGDIR= ${PREFIX}/share/examples/udunits
|
|
CONF_FILES= ${EGDIR}/udunits.dat ${PKG_SYSCONFDIR}/udunits.dat
|
|
|
|
post-install:
|
|
${RM} -rf ${WRKSRC}/perl/blib/lib
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|