2016-07-09 08:38:30 +02:00
|
|
|
# $NetBSD: Makefile,v 1.37 2016/07/09 06:38:34 wiz Exp $
|
2001-02-07 05:31:39 +01:00
|
|
|
|
2008-09-02 05:11:08 +02:00
|
|
|
DISTNAME= udunits-1.12.1
|
2016-07-09 08:38:30 +02:00
|
|
|
PKGREVISION= 10
|
2001-02-07 05:31:39 +01:00
|
|
|
CATEGORIES= math devel
|
2008-09-02 05:11:08 +02:00
|
|
|
MASTER_SITES= ftp://ftp.unidata.ucar.edu/pub/udunits/
|
2001-02-07 05:31:39 +01:00
|
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2006-10-04 23:47:16 +02:00
|
|
|
HOMEPAGE= http://www.unidata.ucar.edu/software/udunits/
|
2001-02-17 18:52:59 +01:00
|
|
|
COMMENT= Library and program for manipulating units of physical quantities
|
2001-02-07 05:31:39 +01:00
|
|
|
|
2009-06-30 02:07:09 +02:00
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
|
2015-03-12 18:35:06 +01:00
|
|
|
USE_TOOLS+= perl soelim
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}/src
|
2002-09-29 08:56:18 +02:00
|
|
|
|
2001-02-07 05:31:39 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2005-12-06 00:55:01 +01:00
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
2004-03-22 18:29:02 +01:00
|
|
|
|
2001-02-07 05:31:39 +01:00
|
|
|
CPPFLAGS+= -Df2cFortran -Dunix
|
2004-03-22 18:29:02 +01:00
|
|
|
PERL5_CONFIGURE= no
|
2005-07-13 20:01:18 +02:00
|
|
|
PERL5_PACKLIST= auto/UDUNITS/.packlist
|
2002-12-24 18:21:03 +01:00
|
|
|
|
|
|
|
EGDIR= ${PREFIX}/share/examples/udunits
|
|
|
|
CONF_FILES= ${EGDIR}/udunits.dat ${PKG_SYSCONFDIR}/udunits.dat
|
|
|
|
|
2010-02-04 15:51:44 +01:00
|
|
|
INSTALL_MAKE_FLAGS+= MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR} \
|
|
|
|
BINDIR=${DESTDIR}${PREFIX}/bin \
|
|
|
|
INCDIR=${DESTDIR}${PREFIX}/include \
|
|
|
|
LIBDIR=${DESTDIR}${PREFIX}/lib
|
|
|
|
|
2002-12-24 18:21:03 +01:00
|
|
|
post-install:
|
|
|
|
${RM} -rf ${WRKSRC}/perl/blib/lib
|
2001-02-07 05:31:39 +01:00
|
|
|
|
2004-03-22 18:29:02 +01:00
|
|
|
.include "../../lang/perl5/module.mk"
|
2001-02-07 05:31:39 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|