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.
26 lines
756 B
Makefile
26 lines
756 B
Makefile
# $NetBSD: Makefile,v 1.4 2001/09/27 23:18:50 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= HTML-Embperl-1.2.0
|
|
PKGNAME= ap-Embperl-1.2.0
|
|
CATEGORIES= www perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Apache/}
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
HOMEPAGE= http://perl.apache.org/embperl/
|
|
COMMENT= perl5 library for embedding perl in HTML documents
|
|
|
|
DEPENDS+= ap-perl-[0-9]*:../../www/ap-perl
|
|
DEPENDS+= p5-HTML-Parser-[0-9]*:../../www/p5-HTML-Parser
|
|
|
|
USE_PERL5= # defined
|
|
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/HTML/Embperl/.packlist
|
|
|
|
MAKE_ENV+= APACHE_SRC=${PREFIX}/include/httpd
|
|
MAKE_ENV+= APACHE_MODULES=${PREFIX}/lib/httpd
|
|
MAKE_ENV+= APACHE=${PREFIX}/sbin/httpd
|
|
|
|
do-configure:
|
|
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|