2001-11-19 17:18:44 +01:00
|
|
|
#!@SH@
|
|
|
|
#
|
|
|
|
# start of header
|
|
|
|
#
|
2002-09-19 12:20:50 +02:00
|
|
|
# $NetBSD: header,v 1.14 2002/09/19 10:20:51 jlam Exp $
|
2001-11-19 17:18:44 +01:00
|
|
|
|
|
|
|
PKGNAME=$1
|
|
|
|
STAGE=$2
|
|
|
|
|
|
|
|
AWK="@AWK@"
|
|
|
|
BASENAME="@BASENAME@"
|
|
|
|
CAT="@CAT@"
|
|
|
|
CHGRP="@CHGRP@"
|
|
|
|
CHMOD="@CHMOD@"
|
|
|
|
CHOWN="@CHOWN@"
|
|
|
|
CMP="@CMP@"
|
|
|
|
CP="@CP@"
|
|
|
|
DIRNAME="@DIRNAME@"
|
|
|
|
ECHO="@ECHO@"
|
|
|
|
EGREP="@EGREP@"
|
|
|
|
FALSE="@FALSE@"
|
2002-01-10 13:05:26 +01:00
|
|
|
GREP="@GREP@"
|
2001-11-19 17:18:44 +01:00
|
|
|
GROUPADD="@GROUPADD@"
|
2002-01-10 13:05:26 +01:00
|
|
|
GTAR="@GTAR@"
|
|
|
|
HEAD="@HEAD@"
|
2001-11-19 17:18:44 +01:00
|
|
|
ID="@ID@"
|
|
|
|
LN="@LN@"
|
|
|
|
MKDIR="@MKDIR@"
|
|
|
|
MV="@MV@"
|
2002-01-10 13:05:26 +01:00
|
|
|
PERL5="@PERL5@"
|
2001-11-19 17:18:44 +01:00
|
|
|
RM="@RM@"
|
|
|
|
RMDIR="@RMDIR@"
|
|
|
|
SED="@SED@"
|
2002-01-10 13:05:26 +01:00
|
|
|
SH="@SH@"
|
2001-11-19 17:18:44 +01:00
|
|
|
SORT="@SORT@"
|
2002-01-10 13:05:26 +01:00
|
|
|
SU="@SU@"
|
2001-11-19 17:18:44 +01:00
|
|
|
TOUCH="@TOUCH@"
|
|
|
|
TR="@TR@"
|
|
|
|
TRUE="@TRUE@"
|
|
|
|
USERADD="@USERADD@"
|
|
|
|
|
2001-11-26 21:37:38 +01:00
|
|
|
PKGBASE="@PKGBASE@"
|
|
|
|
|
|
|
|
PKG_USERS="@PKG_USERS@"
|
|
|
|
PKG_GROUPS="@PKG_GROUPS@"
|
2001-11-19 17:18:44 +01:00
|
|
|
|
|
|
|
CONF_FILES="@CONF_FILES@"
|
|
|
|
CONF_FILES_PERMS="@CONF_FILES_PERMS@"
|
|
|
|
SUPPORT_FILES="@SUPPORT_FILES@"
|
2001-11-20 00:33:52 +01:00
|
|
|
SUPPORT_FILES_PERMS="@SUPPORT_FILES_PERMS@"
|
2001-11-19 17:18:44 +01:00
|
|
|
RCD_SCRIPTS="@RCD_SCRIPTS@"
|
2001-11-21 16:43:01 +01:00
|
|
|
RCD_SCRIPTS_DIR="@RCD_SCRIPTS_DIR@"
|
2002-07-24 22:30:06 +02:00
|
|
|
RCD_SCRIPTS_EXAMPLEDIR="@RCD_SCRIPTS_EXAMPLEDIR@"
|
2001-11-19 17:18:44 +01:00
|
|
|
|
|
|
|
MAKE_DIRS="@MAKE_DIRS@"
|
|
|
|
MAKE_DIRS_PERMS="@MAKE_DIRS_PERMS@"
|
|
|
|
OWN_DIRS="@OWN_DIRS@"
|
|
|
|
OWN_DIRS_PERMS="@OWN_DIRS_PERMS@"
|
|
|
|
|
2002-06-27 22:42:15 +02:00
|
|
|
PKG_SYSCONFBASE="@PKG_SYSCONFBASE@"
|
|
|
|
PKG_SYSCONFDIR="@PKG_SYSCONFDIR@"
|
|
|
|
|
2001-11-26 21:37:38 +01:00
|
|
|
ALL_USERS=
|
|
|
|
ALL_GROUPS=
|
2001-11-25 19:54:57 +01:00
|
|
|
ALL_FILES=
|
|
|
|
ALL_MAKE_DIRS=
|
|
|
|
ALL_DIRS=
|
|
|
|
|
2002-06-24 15:14:41 +02:00
|
|
|
case "${PKG_CREATE_USERGROUP:-@PKG_CREATE_USERGROUP@}" in
|
2002-06-20 22:15:46 +02:00
|
|
|
[Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1)
|
|
|
|
_PKG_CREATE_USERGROUP=YES
|
|
|
|
;;
|
|
|
|
[Nn][Oo]|[Ff][Aa][Ll][Ss][Ee]|[Oo][Ff][Ff]|0)
|
|
|
|
_PKG_CREATE_USERGROUP=NO
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
2002-06-24 15:14:41 +02:00
|
|
|
case "${PKG_CONFIG:-@PKG_CONFIG@}" in
|
2002-06-20 22:15:46 +02:00
|
|
|
[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=NO
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
2002-09-19 12:20:50 +02:00
|
|
|
case "${PKG_RCD_SCRIPTS:-@PKG_RCD_SCRIPTS@}" in
|
|
|
|
[Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|[Oo][Nn]|1)
|
|
|
|
_PKG_RCD_SCRIPTS=YES
|
|
|
|
;;
|
|
|
|
[Nn][Oo]|[Ff][Aa][Ll][Ss][Ee]|[Oo][Ff][Ff]|0)
|
|
|
|
_PKG_RCD_SCRIPTS=NO
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
2001-11-19 17:18:44 +01:00
|
|
|
# end of header
|