pkgsrc/math/udunits/Makefile
seb c3f1e700ad Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.

sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
2010-08-21 16:32:42 +00:00

38 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.29 2010/08/21 16:35:15 seb Exp $
DISTNAME= udunits-1.12.1
PKGREVISION= 4
CATEGORIES= math devel
MASTER_SITES= ftp://ftp.unidata.ucar.edu/pub/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
PKG_DESTDIR_SUPPORT= user-destdir
MAKE_JOBS_SAFE= no
USE_TOOLS+= perl
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}/src
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
INSTALL_MAKE_FLAGS+= MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR} \
BINDIR=${DESTDIR}${PREFIX}/bin \
INCDIR=${DESTDIR}${PREFIX}/include \
LIBDIR=${DESTDIR}${PREFIX}/lib
post-install:
${RM} -rf ${WRKSRC}/perl/blib/lib
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"