pkgsrc/math/udunits/Makefile
jlam d7f69e47ce Instead of including bsd.pkg.install.mk directly in a package Makefile,
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES".  This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile.  Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.
2003-01-28 22:03:00 +00:00

31 lines
897 B
Makefile

# $NetBSD: Makefile,v 1.9 2003/01/28 22:03:43 jlam Exp $
DISTNAME= udunits
PKGNAME= udunits-1.11.7
PKGREVISION= 1
CATEGORIES= math devel
MASTER_SITES= http://www.unidata.ucar.edu/packages/udunits/
EXTRACT_SUFX= .tar.Z
MAINTAINER= packages@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_BUILDLINK2= yes
USE_PKGINSTALL= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -Df2cFortran -Dunix
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/UDUNITS/.packlist
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
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/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"