74 lines
1.2 KiB
Text
74 lines
1.2 KiB
Text
#!@SH@
|
|
#
|
|
# $NetBSD: header,v 1.3 2014/12/30 15:13:20 wiz Exp $
|
|
|
|
SELF="$0"
|
|
PKGNAME="$1"
|
|
STAGE="$2"
|
|
shift 2
|
|
|
|
AWK="@AWK@"
|
|
BASENAME="@BASENAME@"
|
|
CAT="@CAT@"
|
|
CHGRP="@CHGRP@"
|
|
CHMOD="@CHMOD@"
|
|
CHOWN="@CHOWN@"
|
|
CMP="@CMP@"
|
|
CP="@CP@"
|
|
DIRNAME="@DIRNAME@"
|
|
ECHO="@ECHO@"
|
|
ECHO_N="@ECHO_N@"
|
|
EGREP="@EGREP@"
|
|
EXPR="@EXPR@"
|
|
FALSE="@FALSE@"
|
|
FIND="@FIND@"
|
|
GREP="@GREP@"
|
|
GTAR="@GTAR@"
|
|
HEAD="@HEAD@"
|
|
ID="@ID@"
|
|
LINKFARM="@LINKFARM@"
|
|
LN="@LN@"
|
|
LS="@LS@"
|
|
MKDIR="@MKDIR@"
|
|
MV="@MV@"
|
|
PERL5="@PERL5@"
|
|
PKG_ADMIN="@PKG_ADMIN@"
|
|
PKG_INFO="@PKG_INFO@"
|
|
PWD_CMD="@PWD_CMD@"
|
|
RM="@RM@"
|
|
RMDIR="@RMDIR@"
|
|
SED="@SED@"
|
|
SETENV="@SETENV@"
|
|
SH="@SH@"
|
|
SORT="@SORT@"
|
|
SU="@SU@"
|
|
TEST="@TEST@"
|
|
TOUCH="@TOUCH@"
|
|
TR="@TR@"
|
|
TRUE="@TRUE@"
|
|
XARGS="@XARGS@"
|
|
|
|
CURDIR=`${PWD_CMD}`
|
|
: ${PKG_METADATA_DIR=${CURDIR}}
|
|
PKGBASE="@PKGBASE@"
|
|
|
|
LOCALBASE="@LOCALBASE@"
|
|
X11BASE="@X11BASE@"
|
|
PREFIX="@PREFIX@"
|
|
|
|
PKG_SYSCONFBASE="@PKG_SYSCONFBASE@"
|
|
PKG_SYSCONFBASEDIR="@PKG_SYSCONFBASEDIR@"
|
|
PKG_SYSCONFDIR="@PKG_SYSCONFDIR@"
|
|
CONF_DEPENDS="@CONF_DEPENDS@"
|
|
|
|
CONF_IGNORE_FILES="*[~#] *.OLD *.orig *,v .pkgsrc */.pkgsrc"
|
|
|
|
case "${PKG_CONFIG:-@PKG_CONFIG@}" in
|
|
[Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1)
|
|
_PKG_CONFIG=yes
|
|
;;
|
|
[Nn][Oo]|[Ff][Aa][Ll][Ss][Ee]|[Oo][Ff][Ff]|0)
|
|
_PKG_CONFIG=yes
|
|
;;
|
|
esac
|
|
|