Subject: Re: pkg/28977: a couple of problems with editors/emacs
To: Greg A. Woods <woods@planix.com>
From: Julio M. Merino Vidal <jmmv84@gmail.com>
List: pkgsrc-bugs
Date: 01/16/2005 00:49:16
On Sat, 2005-01-15 at 23:24 +0000, Greg A. Woods wrote:
> @@ -67,6 +67,15 @@
>  
>  REPLACE_PERL=	lib-src/grep-changelog
>  
> +BUILD_TARGET=	all info
> +
> +# Note:  ${PKGVERSION} here is not the same as ${PKGVERSION} in the PLIST!
> +# The expression below is the one used in PLIST_SUBST.
> +#
> +EGDIR =		${PREFIX}/share/examples/emacs-${PKGVERSION:C/nb[0-9]*$//}

Couldn't this simply be:

EGDIR=	${PREFIX}/share/examples/${PKGNAME_NOREV}

?

-- 
Julio M. Merino Vidal <jmmv84@gmail.com>
http://www.livejournal.com/users/jmmv/
The NetBSD Project - http://www.NetBSD.org/