63ad910dee
The automatic truncation in gensolpkg doesn't work for packages which have the same package name for the first 5-6 chars. e.g. amanda-server and amanda-client would be named amanda and amanda. Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for amanda-server. All svr4 packages also have a vendor tag, so we have to reserve some chars for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6 or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the vendor tag enough room. All p5-* packages and a few other packages have now a SVR4_PKGNAME.
25 lines
620 B
Makefile
25 lines
620 B
Makefile
# $NetBSD: Makefile,v 1.7 2001/10/18 15:20:33 veego Exp $
|
|
#
|
|
|
|
DISTNAME= Wais-2.311
|
|
PKGNAME= p5-Wais-2.311
|
|
SVR4_PKGNAME= p5wai
|
|
CATEGORIES= net perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Wais/}
|
|
|
|
MAINTAINER= bad@netbsd.org
|
|
COMMENT= perl5 module for accessing WAIS servers
|
|
|
|
DEPENDS+= freewais-sf-2.2.12:../../net/freewais-sf
|
|
DEPENDS+= p5-Curses>=1.02:../../devel/p5-Curses
|
|
|
|
USE_PERL5= # defined
|
|
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Wais/.packlist
|
|
|
|
post-patch:
|
|
${FIND} ${WRKSRC} -name "*.orig" -exec ${RM} -f {} \;
|
|
|
|
do-configure:
|
|
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|