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.
26 lines
759 B
Makefile
26 lines
759 B
Makefile
# $NetBSD: Makefile,v 1.10 2001/10/18 15:20:13 veego Exp $
|
|
# FreeBSD Id: Makefile,v 1.8 1998/04/04 13:58:26 vanilla Exp
|
|
#
|
|
|
|
DISTNAME= Curses-1.05
|
|
PKGNAME= p5-${DISTNAME}
|
|
SVR4_PKGNAME= p5cur
|
|
CATEGORIES= devel perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Curses/}
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
HOMEPAGE= http://theory.uwinnipeg.ca/CPAN/data/Curses/Curses.html
|
|
COMMENT= perl5 module for terminal screen handling and optimization
|
|
|
|
DEPENDS= ncurses>=4.2:../../devel/ncurses
|
|
|
|
USE_PERL5= # defined
|
|
PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/Curses/.packlist
|
|
|
|
MAKE_PARAMS= PANELS
|
|
|
|
do-configure:
|
|
@${LN} -sf ${WRKSRC}/hints/c-netbsd.ncurses.h ${WRKSRC}/c-config.h
|
|
@cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL ${MAKE_PARAMS}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|