Subject: Re: PLIST_SUBST guru wanted
To: None <tech-pkg@netbsd.org>
From: Bernd Ernesti <netbsd@arresum.inka.de>
List: tech-pkg
Date: 03/24/2002 16:39:47
On Sun, Mar 24, 2002 at 04:19:32PM +0100, Bernd Ernesti wrote:
> Hi,
> 
> i have the following lines in a new package Makefile:
> 
> EZM3_SUBDIR?=   ezm3
> EZM3_BASEDIR=   ${PREFIX}/${EZM3_SUBDIR}
> 
> PLIST_SUBST+=   EZM3_SUBST=${EZM3_BASEDIR:S/${PREFIX}\///}

Even after removing the PLIST_SUBST, striping down the Makefile so it contains
only this lines:

# $NetBSD$
#

DISTNAME=       ezm3-1.0-src
PKGNAME=        ezm3-1.0
CATEGORIES=     lang
MASTER_SITES=   ftp://ftp.freebsd.org/pub/FreeBSD/development/CVSup/ezm3/

MAINTAINER=     packages@netbsd.org
HOMEPAGE=       http://www.polstra.com/projects/freeware/ezm3/
COMMENT=        Easier Modula-3 Distribution

.include "../../mk/bsd.pkg.mk"

and using the following line in PLIST:

man/man1/m3bundle.1

produce an empty .PLIST file.

Bernd