f79573370a
foo-* to foo-[0-9]*. This is to cause the dependencies to match only the packages whose base package name is "foo", and not those named "foo-bar". A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net. Also change dependency examples in Packages.txt to reflect this.
31 lines
844 B
Makefile
31 lines
844 B
Makefile
# $NetBSD: Makefile,v 1.8 2001/09/27 23:18:44 jlam Exp $
|
|
|
|
DISTNAME= nut-0.44.3-pre5
|
|
PKGNAME= ups-nut-cgi-0.44.3pre5
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://www.exploits.org/nut/testing/0.44.3-pre/
|
|
|
|
MAINTAINER= collver@linuxfreemail.com
|
|
HOMEPAGE= http://www.exploits.org/nut/
|
|
COMMENT= Network UPS Tools CGI scripts
|
|
|
|
DEPENDS+= gd-[0-9]*:../../graphics/gd
|
|
DEPENDS+= ups-nut-0*:../ups-nut
|
|
BUILD_DEPENDS+= autoconf>=2.13:../../devel/autoconf
|
|
|
|
WRKSRC= ${WRKDIR}/nut-0.44.3
|
|
|
|
ALL_TARGET= cgi
|
|
INSTALL_TARGET= install-cgi
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --sysconfdir=${LOCALBASE}/etc/nut \
|
|
--with-state-path=/var/db \
|
|
--with-cgipath=${LOCALBASE}/share/nut/cgi \
|
|
--with-graphics=${LOCALBASE}
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC}; ${LOCALBASE}/bin/autoreconf --force
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|