summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorlth <lth@FreeBSD.org>2005-04-08 07:43:43 +0000
committerlth <lth@FreeBSD.org>2005-04-08 07:43:43 +0000
commit49ed836084fcc29c53dafa215c55890ad5d28483 (patch)
tree66384fcc0054050eaa0520724801ac0156b77198 /devel
parent01410e49a92ed1d25b4428986e0244963d17e4ee (diff)
downloadFreeBSD-ports-49ed836084fcc29c53dafa215c55890ad5d28483.zip
FreeBSD-ports-49ed836084fcc29c53dafa215c55890ad5d28483.tar.gz
- Fix privilege during pre-install
- Reduce portlint nagging PR: ports/79654 Submitted by: John Baldwin <jhb@FreeBSD.org>
Diffstat (limited to 'devel')
-rw-r--r--devel/p4/Makefile18
-rw-r--r--devel/p4d/Makefile18
-rw-r--r--devel/p4ftpd/Makefile18
-rw-r--r--devel/p4p/Makefile18
-rw-r--r--devel/p4web/Makefile18
-rw-r--r--devel/perforce/Makefile18
6 files changed, 54 insertions, 54 deletions
diff --git a/devel/p4/Makefile b/devel/p4/Makefile
index 8597492..a3acc7c 100644
--- a/devel/p4/Makefile
+++ b/devel/p4/Makefile
@@ -10,7 +10,7 @@ PORTVERSION= ${VERSION}
PORTREVISION= ${REVISION}
PORTEPOCH= 1
CATEGORIES= devel
-MASTER_SITES= ftp://ftp.perforce.com/pub/perforce/r${PORTVERSION}/bin.${PLATFORM}/
+MASTER_SITES= ftp://ftp.perforce.com/pub/perforce/r${PORTVERSION}/bin.${PLATFORM}/
EXTRACT_SUFX=
DISTFILES= ${BIN_FILES} ${SBIN_FILES}
EXTRACT_ONLY= # none
@@ -18,17 +18,19 @@ EXTRACT_ONLY= # none
MAINTAINER= lth@FreeBSD.org
COMMENT= Perforce client and server
+.include <bsd.port.pre.mk>
+
#
# This is a kludge. I don't know a better way to set PORTVERSION and
# PORTREVISION such that pkg_version figures out an update is needed
#
-ARCH!= /usr/bin/uname -p
-ARCH?= i386
+ARCH!= ${UNAME} -p
+ARCH?= i386
.if (${ARCH} == i386) || (${ARCH} == amd64)
DIST_SUBDIR= perforce/${VERSION}/i386
VERSION= 04.2
-REVISION= 12
+REVISION= 13
PLATFORM= freebsd4
BIN_FILES= p4
SBIN_FILES= p4d p4ftpd p4p p4web
@@ -58,8 +60,6 @@ NO_WRKSUBDIR= yes
PLIST_FILES= ${BIN_FILES:S+^+bin/+g} \
${SBIN_FILES:S+^+sbin/+g}
-.include <bsd.port.pre.mk>
-
# These variables are all configurable.
PERFORCE_USER?= p4admin
PERFORCE_UID?= 94
@@ -69,8 +69,8 @@ PERFORCE_HOME?= ${LOCALBASE}/perforce
PERFORCE_ROOT?= ${PERFORCE_HOME}/root
PERFORCE_LOGS?= ${PERFORCE_HOME}/logs
PERFORCE_PORT?= 1666
-PERFORCE_CACHE?= ${PERFORCE_HOME}/cache
-PERFORCE_TARGET?= perforce:1666
+PERFORCE_CACHE?= ${PERFORCE_HOME}/cache
+PERFORCE_TARGET?= perforce:1666
pre-everything::
@${ECHO} "If the checksums fail, try doing 'make distclean'"
@@ -97,7 +97,7 @@ do-build:
${SED} -e "s,@PREFIX@,${PREFIX},g" \
< ${FILESDIR}/perforce.sh.in > ${WRKSRC}/perforce.sh
-pre-install:
+pre-su-install:
${SETENV} PKG_PREFIX=${PREFIX} \
PERFORCE_USER=${PERFORCE_USER} \
PERFORCE_UID=${PERFORCE_UID} \
diff --git a/devel/p4d/Makefile b/devel/p4d/Makefile
index 8597492..a3acc7c 100644
--- a/devel/p4d/Makefile
+++ b/devel/p4d/Makefile
@@ -10,7 +10,7 @@ PORTVERSION= ${VERSION}
PORTREVISION= ${REVISION}
PORTEPOCH= 1
CATEGORIES= devel
-MASTER_SITES= ftp://ftp.perforce.com/pub/perforce/r${PORTVERSION}/bin.${PLATFORM}/
+MASTER_SITES= ftp://ftp.perforce.com/pub/perforce/r${PORTVERSION}/bin.${PLATFORM}/
EXTRACT_SUFX=
DISTFILES= ${BIN_FILES} ${SBIN_FILES}
EXTRACT_ONLY= # none
@@ -18,17 +18,19 @@ EXTRACT_ONLY= # none
MAINTAINER= lth@FreeBSD.org
COMMENT= Perforce client and server
+.include <bsd.port.pre.mk>
+
#
# This is a kludge. I don't know a better way to set PORTVERSION and
# PORTREVISION such that pkg_version figures out an update is needed
#
-ARCH!= /usr/bin/uname -p
-ARCH?= i386
+ARCH!= ${UNAME} -p
+ARCH?= i386
.if (${ARCH} == i386) || (${ARCH} == amd64)
DIST_SUBDIR= perforce/${VERSION}/i386
VERSION= 04.2
-REVISION= 12
+REVISION= 13
PLATFORM= freebsd4
BIN_FILES= p4
SBIN_FILES= p4d p4ftpd p4p p4web
@@ -58,8 +60,6 @@ NO_WRKSUBDIR= yes
PLIST_FILES= ${BIN_FILES:S+^+bin/+g} \
${SBIN_FILES:S+^+sbin/+g}
-.include <bsd.port.pre.mk>
-
# These variables are all configurable.
PERFORCE_USER?= p4admin
PERFORCE_UID?= 94
@@ -69,8 +69,8 @@ PERFORCE_HOME?= ${LOCALBASE}/perforce
PERFORCE_ROOT?= ${PERFORCE_HOME}/root
PERFORCE_LOGS?= ${PERFORCE_HOME}/logs
PERFORCE_PORT?= 1666
-PERFORCE_CACHE?= ${PERFORCE_HOME}/cache
-PERFORCE_TARGET?= perforce:1666
+PERFORCE_CACHE?= ${PERFORCE_HOME}/cache
+PERFORCE_TARGET?= perforce:1666
pre-everything::
@${ECHO} "If the checksums fail, try doing 'make distclean'"
@@ -97,7 +97,7 @@ do-build:
${SED} -e "s,@PREFIX@,${PREFIX},g" \
< ${FILESDIR}/perforce.sh.in > ${WRKSRC}/perforce.sh
-pre-install:
+pre-su-install:
${SETENV} PKG_PREFIX=${PREFIX} \
PERFORCE_USER=${PERFORCE_USER} \
PERFORCE_UID=${PERFORCE_UID} \
diff --git a/devel/p4ftpd/Makefile b/devel/p4ftpd/Makefile
index 8597492..a3acc7c 100644
--- a/devel/p4ftpd/Makefile
+++ b/devel/p4ftpd/Makefile
@@ -10,7 +10,7 @@ PORTVERSION= ${VERSION}
PORTREVISION= ${REVISION}
PORTEPOCH= 1
CATEGORIES= devel
-MASTER_SITES= ftp://ftp.perforce.com/pub/perforce/r${PORTVERSION}/bin.${PLATFORM}/
+MASTER_SITES= ftp://ftp.perforce.com/pub/perforce/r${PORTVERSION}/bin.${PLATFORM}/
EXTRACT_SUFX=
DISTFILES= ${BIN_FILES} ${SBIN_FILES}
EXTRACT_ONLY= # none
@@ -18,17 +18,19 @@ EXTRACT_ONLY= # none
MAINTAINER= lth@FreeBSD.org
COMMENT= Perforce client and server
+.include <bsd.port.pre.mk>
+
#
# This is a kludge. I don't know a better way to set PORTVERSION and
# PORTREVISION such that pkg_version figures out an update is needed
#
-ARCH!= /usr/bin/uname -p
-ARCH?= i386
+ARCH!= ${UNAME} -p
+ARCH?= i386
.if (${ARCH} == i386) || (${ARCH} == amd64)
DIST_SUBDIR= perforce/${VERSION}/i386
VERSION= 04.2
-REVISION= 12
+REVISION= 13
PLATFORM= freebsd4
BIN_FILES= p4
SBIN_FILES= p4d p4ftpd p4p p4web
@@ -58,8 +60,6 @@ NO_WRKSUBDIR= yes
PLIST_FILES= ${BIN_FILES:S+^+bin/+g} \
${SBIN_FILES:S+^+sbin/+g}
-.include <bsd.port.pre.mk>
-
# These variables are all configurable.
PERFORCE_USER?= p4admin
PERFORCE_UID?= 94
@@ -69,8 +69,8 @@ PERFORCE_HOME?= ${LOCALBASE}/perforce
PERFORCE_ROOT?= ${PERFORCE_HOME}/root
PERFORCE_LOGS?= ${PERFORCE_HOME}/logs
PERFORCE_PORT?= 1666
-PERFORCE_CACHE?= ${PERFORCE_HOME}/cache
-PERFORCE_TARGET?= perforce:1666
+PERFORCE_CACHE?= ${PERFORCE_HOME}/cache
+PERFORCE_TARGET?= perforce:1666
pre-everything::
@${ECHO} "If the checksums fail, try doing 'make distclean'"
@@ -97,7 +97,7 @@ do-build:
${SED} -e "s,@PREFIX@,${PREFIX},g" \
< ${FILESDIR}/perforce.sh.in > ${WRKSRC}/perforce.sh
-pre-install:
+pre-su-install:
${SETENV} PKG_PREFIX=${PREFIX} \
PERFORCE_USER=${PERFORCE_USER} \
PERFORCE_UID=${PERFORCE_UID} \
diff --git a/devel/p4p/Makefile b/devel/p4p/Makefile
index 8597492..a3acc7c 100644
--- a/devel/p4p/Makefile
+++ b/devel/p4p/Makefile
@@ -10,7 +10,7 @@ PORTVERSION= ${VERSION}
PORTREVISION= ${REVISION}
PORTEPOCH= 1
CATEGORIES= devel
-MASTER_SITES= ftp://ftp.perforce.com/pub/perforce/r${PORTVERSION}/bin.${PLATFORM}/
+MASTER_SITES= ftp://ftp.perforce.com/pub/perforce/r${PORTVERSION}/bin.${PLATFORM}/
EXTRACT_SUFX=
DISTFILES= ${BIN_FILES} ${SBIN_FILES}
EXTRACT_ONLY= # none
@@ -18,17 +18,19 @@ EXTRACT_ONLY= # none
MAINTAINER= lth@FreeBSD.org
COMMENT= Perforce client and server
+.include <bsd.port.pre.mk>
+
#
# This is a kludge. I don't know a better way to set PORTVERSION and
# PORTREVISION such that pkg_version figures out an update is needed
#
-ARCH!= /usr/bin/uname -p
-ARCH?= i386
+ARCH!= ${UNAME} -p
+ARCH?= i386
.if (${ARCH} == i386) || (${ARCH} == amd64)
DIST_SUBDIR= perforce/${VERSION}/i386
VERSION= 04.2
-REVISION= 12
+REVISION= 13
PLATFORM= freebsd4
BIN_FILES= p4
SBIN_FILES= p4d p4ftpd p4p p4web
@@ -58,8 +60,6 @@ NO_WRKSUBDIR= yes
PLIST_FILES= ${BIN_FILES:S+^+bin/+g} \
${SBIN_FILES:S+^+sbin/+g}
-.include <bsd.port.pre.mk>
-
# These variables are all configurable.
PERFORCE_USER?= p4admin
PERFORCE_UID?= 94
@@ -69,8 +69,8 @@ PERFORCE_HOME?= ${LOCALBASE}/perforce
PERFORCE_ROOT?= ${PERFORCE_HOME}/root
PERFORCE_LOGS?= ${PERFORCE_HOME}/logs
PERFORCE_PORT?= 1666
-PERFORCE_CACHE?= ${PERFORCE_HOME}/cache
-PERFORCE_TARGET?= perforce:1666
+PERFORCE_CACHE?= ${PERFORCE_HOME}/cache
+PERFORCE_TARGET?= perforce:1666
pre-everything::
@${ECHO} "If the checksums fail, try doing 'make distclean'"
@@ -97,7 +97,7 @@ do-build:
${SED} -e "s,@PREFIX@,${PREFIX},g" \
< ${FILESDIR}/perforce.sh.in > ${WRKSRC}/perforce.sh
-pre-install:
+pre-su-install:
${SETENV} PKG_PREFIX=${PREFIX} \
PERFORCE_USER=${PERFORCE_USER} \
PERFORCE_UID=${PERFORCE_UID} \
diff --git a/devel/p4web/Makefile b/devel/p4web/Makefile
index 8597492..a3acc7c 100644
--- a/devel/p4web/Makefile
+++ b/devel/p4web/Makefile
@@ -10,7 +10,7 @@ PORTVERSION= ${VERSION}
PORTREVISION= ${REVISION}
PORTEPOCH= 1
CATEGORIES= devel
-MASTER_SITES= ftp://ftp.perforce.com/pub/perforce/r${PORTVERSION}/bin.${PLATFORM}/
+MASTER_SITES= ftp://ftp.perforce.com/pub/perforce/r${PORTVERSION}/bin.${PLATFORM}/
EXTRACT_SUFX=
DISTFILES= ${BIN_FILES} ${SBIN_FILES}
EXTRACT_ONLY= # none
@@ -18,17 +18,19 @@ EXTRACT_ONLY= # none
MAINTAINER= lth@FreeBSD.org
COMMENT= Perforce client and server
+.include <bsd.port.pre.mk>
+
#
# This is a kludge. I don't know a better way to set PORTVERSION and
# PORTREVISION such that pkg_version figures out an update is needed
#
-ARCH!= /usr/bin/uname -p
-ARCH?= i386
+ARCH!= ${UNAME} -p
+ARCH?= i386
.if (${ARCH} == i386) || (${ARCH} == amd64)
DIST_SUBDIR= perforce/${VERSION}/i386
VERSION= 04.2
-REVISION= 12
+REVISION= 13
PLATFORM= freebsd4
BIN_FILES= p4
SBIN_FILES= p4d p4ftpd p4p p4web
@@ -58,8 +60,6 @@ NO_WRKSUBDIR= yes
PLIST_FILES= ${BIN_FILES:S+^+bin/+g} \
${SBIN_FILES:S+^+sbin/+g}
-.include <bsd.port.pre.mk>
-
# These variables are all configurable.
PERFORCE_USER?= p4admin
PERFORCE_UID?= 94
@@ -69,8 +69,8 @@ PERFORCE_HOME?= ${LOCALBASE}/perforce
PERFORCE_ROOT?= ${PERFORCE_HOME}/root
PERFORCE_LOGS?= ${PERFORCE_HOME}/logs
PERFORCE_PORT?= 1666
-PERFORCE_CACHE?= ${PERFORCE_HOME}/cache
-PERFORCE_TARGET?= perforce:1666
+PERFORCE_CACHE?= ${PERFORCE_HOME}/cache
+PERFORCE_TARGET?= perforce:1666
pre-everything::
@${ECHO} "If the checksums fail, try doing 'make distclean'"
@@ -97,7 +97,7 @@ do-build:
${SED} -e "s,@PREFIX@,${PREFIX},g" \
< ${FILESDIR}/perforce.sh.in > ${WRKSRC}/perforce.sh
-pre-install:
+pre-su-install:
${SETENV} PKG_PREFIX=${PREFIX} \
PERFORCE_USER=${PERFORCE_USER} \
PERFORCE_UID=${PERFORCE_UID} \
diff --git a/devel/perforce/Makefile b/devel/perforce/Makefile
index 8597492..a3acc7c 100644
--- a/devel/perforce/Makefile
+++ b/devel/perforce/Makefile
@@ -10,7 +10,7 @@ PORTVERSION= ${VERSION}
PORTREVISION= ${REVISION}
PORTEPOCH= 1
CATEGORIES= devel
-MASTER_SITES= ftp://ftp.perforce.com/pub/perforce/r${PORTVERSION}/bin.${PLATFORM}/
+MASTER_SITES= ftp://ftp.perforce.com/pub/perforce/r${PORTVERSION}/bin.${PLATFORM}/
EXTRACT_SUFX=
DISTFILES= ${BIN_FILES} ${SBIN_FILES}
EXTRACT_ONLY= # none
@@ -18,17 +18,19 @@ EXTRACT_ONLY= # none
MAINTAINER= lth@FreeBSD.org
COMMENT= Perforce client and server
+.include <bsd.port.pre.mk>
+
#
# This is a kludge. I don't know a better way to set PORTVERSION and
# PORTREVISION such that pkg_version figures out an update is needed
#
-ARCH!= /usr/bin/uname -p
-ARCH?= i386
+ARCH!= ${UNAME} -p
+ARCH?= i386
.if (${ARCH} == i386) || (${ARCH} == amd64)
DIST_SUBDIR= perforce/${VERSION}/i386
VERSION= 04.2
-REVISION= 12
+REVISION= 13
PLATFORM= freebsd4
BIN_FILES= p4
SBIN_FILES= p4d p4ftpd p4p p4web
@@ -58,8 +60,6 @@ NO_WRKSUBDIR= yes
PLIST_FILES= ${BIN_FILES:S+^+bin/+g} \
${SBIN_FILES:S+^+sbin/+g}
-.include <bsd.port.pre.mk>
-
# These variables are all configurable.
PERFORCE_USER?= p4admin
PERFORCE_UID?= 94
@@ -69,8 +69,8 @@ PERFORCE_HOME?= ${LOCALBASE}/perforce
PERFORCE_ROOT?= ${PERFORCE_HOME}/root
PERFORCE_LOGS?= ${PERFORCE_HOME}/logs
PERFORCE_PORT?= 1666
-PERFORCE_CACHE?= ${PERFORCE_HOME}/cache
-PERFORCE_TARGET?= perforce:1666
+PERFORCE_CACHE?= ${PERFORCE_HOME}/cache
+PERFORCE_TARGET?= perforce:1666
pre-everything::
@${ECHO} "If the checksums fail, try doing 'make distclean'"
@@ -97,7 +97,7 @@ do-build:
${SED} -e "s,@PREFIX@,${PREFIX},g" \
< ${FILESDIR}/perforce.sh.in > ${WRKSRC}/perforce.sh
-pre-install:
+pre-su-install:
${SETENV} PKG_PREFIX=${PREFIX} \
PERFORCE_USER=${PERFORCE_USER} \
PERFORCE_UID=${PERFORCE_UID} \
OpenPOWER on IntegriCloud