diff options
author | Lars Thegler <lth@FreeBSD.org> | 2005-04-08 07:43:43 +0000 |
---|---|---|
committer | Lars Thegler <lth@FreeBSD.org> | 2005-04-08 07:43:43 +0000 |
commit | ecf1d7f111e5eabb933c9b53c5088e4cb1e066c6 (patch) | |
tree | 12f5e475439a1004282e53755214377fe9cff39d /devel/p4ftpd | |
parent | 87cc36bd11cbe03b38eb95685eaa64764081a250 (diff) | |
download | ports-ecf1d7f111e5eabb933c9b53c5088e4cb1e066c6.tar.gz ports-ecf1d7f111e5eabb933c9b53c5088e4cb1e066c6.zip |
Notes
Diffstat (limited to 'devel/p4ftpd')
-rw-r--r-- | devel/p4ftpd/Makefile | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/devel/p4ftpd/Makefile b/devel/p4ftpd/Makefile index 85974927db1a..a3acc7cbabb1 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} \ |