pkgsrc/math/udunits/Makefile
2007-12-20 12:08:22 +00:00

32 lines
881 B
Makefile

# $NetBSD: Makefile,v 1.24 2007/12/20 12:08:22 obache Exp $
DISTNAME= udunits
PKGNAME= udunits-1.12.1
PKGREVISION= 2
CATEGORIES= math devel
MASTER_SITES= http://www.unidata.ucar.edu/software/udunits/
EXTRACT_SUFX= .tar.Z
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.unidata.ucar.edu/software/udunits/
COMMENT= Library and program for manipulating units of physical quantities
USE_TOOLS+= perl
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}/src
DIST_SUBDIR= ${PKGNAME_NOREV}
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
CPPFLAGS+= -Df2cFortran -Dunix
PERL5_CONFIGURE= no
PERL5_PACKLIST= 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"