diff options
Diffstat (limited to 'devel/id-utils/Makefile')
-rw-r--r-- | devel/id-utils/Makefile | 50 |
1 files changed, 16 insertions, 34 deletions
diff --git a/devel/id-utils/Makefile b/devel/id-utils/Makefile index 5038e181555..32d78299742 100644 --- a/devel/id-utils/Makefile +++ b/devel/id-utils/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.44 2006/03/04 21:29:16 jlam Exp $ +# $NetBSD: Makefile,v 1.45 2006/04/08 21:20:06 jlam Exp $ DISTNAME= id-utils-3.2 -PKGREVISION= 8 +PKGREVISION= 9 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNU:=id-utils/} @@ -9,43 +9,25 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.gnu.org/software/idutils/idutils.html COMMENT= Classic Berkeley gid/lid tools for looking up variables in code -CONFLICTS= sh-utils>=2.0nb2 +CONFLICTS= sh-utils>=2.0nb2 coreutils-[0-9]* BUILD_USES_MSGFMT= yes - USE_PKGLOCALEDIR= yes -INFO_FILES= id-utils.info -GNU_CONFIGURE= yes - -.include "../../mk/bsd.prefs.mk" - -.if defined(USE_XEMACS) -EMACS= ${LOCALBASE}/bin/xemacs -BUILD_DEPENDS+= xemacs-[0-9]*:../../editors/xemacs -BUILD_DEPENDS+= xemacs-packages-[0-9]*:../../editors/xemacs-packages -.elif defined(USE_EMACS) -EMACS= ${LOCALBASE}/bin/emacs -BUILD_DEPENDS+= emacs-[0-9]*:../../editors/emacs -.endif - -# install byte-compiled file here whenever we use emacs or xemacs... -.if defined(USE_EMACS) || defined(USE_XEMACS) -# we end-up installing .el file there whenever we use emacs or xemacs -PLIST_SUBST+= LISPDIR=share/emacs/site-lisp -PLIST_SUBST+= CLISPDIR=share/emacs/site-lisp -.else -# ...or don't install it at all -PLIST_SUBST+= LISPDIR='@comment ' -PLIST_SUBST+= CLISPDIR='@comment ' -.endif -# if not already, set this to the *full* pathname to false command -# so configure won't search further for emacs -EMACS?= ${FALSE:S|^false$|/usr/bin/false|} - -CONFIGURE_ENV+= EMACS=${EMACS:Q} -BUILD_DEFS+= EMACS +GNU_CONFIGURE= yes +CONFIGURE_ENV+= ac_cv_path_EMACS=no +INFO_FILES= # PLIST MAKE_ENV+= BSD_SETENV=${SETENV:Q} +# Don't byte-compile the .el file. +MAKE_FLAGS+= elc_SCRIPTS= + +LISPDIR= ${PREFIX}/share/emacs/site-lisp +REQD_DIRS= ${LISPDIR} + .include "../../devel/gettext-lib/buildlink3.mk" + +post-install: + ${INSTALL_DATA} ${WRKSRC}/lisp/id-utils.el ${LISPDIR} + .include "../../mk/bsd.pkg.mk" |