d2ca14a3f1
a) refer 'perl' in their Makefile, or b) have a directory name of p5-*, or c) have any dependency on any p5-* package Like last time, where this caused no complaints.
37 lines
1,018 B
Makefile
37 lines
1,018 B
Makefile
# $NetBSD: Makefile,v 1.33 2013/05/31 12:41:25 wiz Exp $
|
|
|
|
DISTNAME= udunits-1.12.1
|
|
PKGREVISION= 7
|
|
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
|
|
|
|
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"
|