478cba00bb
Makefiles during the build process by touching various auto{conf,make} source files to make them up-to-date. Packages that require regenerating the configure script and Makefile.in files should make the appropriate calls to auto{conf,make} in a pre-configure target. This allows the various targets listed in ${_CONFIG_PREREQ} to modify the generated files without triggering the GNU auto* tools and having the modifications be overwritten.
52 lines
1.5 KiB
Makefile
52 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.21 2001/12/04 06:14:59 jlam Exp $
|
|
# FreeBSD Id: Makefile,v 1.4 1996/11/18 10:22:47 asami Exp
|
|
#
|
|
|
|
DISTNAME= id-utils-3.2
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=id-utils/}
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
HOMEPAGE= http://www.gnu.org/software/idutils/idutils.html
|
|
COMMENT= Classic Berkeley gid/lid tools for looking up variables in code
|
|
|
|
BUILD_USES_MSGFMT= yes
|
|
USE_BUILDLINK_ONLY= yes
|
|
|
|
INFO_FILES= id-utils.info
|
|
GNU_CONFIGURE= yes
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.ifdef USE_XEMACS
|
|
EMACS= ${LOCALBASE}/bin/xemacs
|
|
BUILD_DEPENDS+= xemacs-[0-9]*:../../editors/xemacs
|
|
BUILD_DEPENDS+= xemacs-packages-[0-9]*:../../editors/xemacs-packages
|
|
.elifdef 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
|
|
LISPDIR?= share/emacs/site-lisp
|
|
CLISPDIR= ${LISPDIR}
|
|
.else
|
|
# ...or don't install it at all
|
|
LISPDIR?= '@comment '
|
|
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}
|
|
BUILD_DEFS+= EMACS
|
|
MAKE_ENV+= BSD_SETENV=${SETENV}
|
|
|
|
PLIST_SUBST+= LISPDIR=${LISPDIR}
|
|
PLIST_SUBST+= CLISPDIR=${CLISPDIR}
|
|
|
|
.include "../../devel/gettext-lib/buildlink.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|