diff options
author | Ernst de Haan <znerd@FreeBSD.org> | 2002-03-04 23:19:12 +0000 |
---|---|---|
committer | Ernst de Haan <znerd@FreeBSD.org> | 2002-03-04 23:19:12 +0000 |
commit | 4b972fc88040b49d3680b574cb3f714739475d48 (patch) | |
tree | 071bab364eea96b5b9b91b371e647acfd10eaefc /www/orion-devel/Makefile | |
parent | 55acf188d006aa86373edec58d13bb9dbe3cb474 (diff) | |
download | ports-4b972fc88040b49d3680b574cb3f714739475d48.tar.gz ports-4b972fc88040b49d3680b574cb3f714739475d48.zip |
Notes
Diffstat (limited to 'www/orion-devel/Makefile')
-rw-r--r-- | www/orion-devel/Makefile | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/www/orion-devel/Makefile b/www/orion-devel/Makefile index 0be9a410715b..6f37a99ec6e1 100644 --- a/www/orion-devel/Makefile +++ b/www/orion-devel/Makefile @@ -7,7 +7,7 @@ PORTNAME= orion PORTVERSION= 1.5.2 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= www java MASTER_SITES= http://www.orionserver.com/distributions/ \ http://www.atlassian.com/software/orion/downloads/ \ @@ -32,7 +32,7 @@ APP_TITLE= Orion Server APP_SHORTNAME= ${PORTNAME} APPCTL_NAME= ${APP_SHORTNAME}ctl CTL_SCRIPT= ${PREFIX}/bin/${APPCTL_NAME} -STARTUP_ORDER?= 020 +STARTUP_ORDER= 020 RC_SCRIPT= ${PREFIX}/etc/rc.d/${STARTUP_ORDER}.${PORTNAME}.sh JAVA_HOME?= ${LOCALBASE}/jdk1.3.1 JAVA_PORT?= ${PORTSDIR}/java/jdk13 @@ -41,10 +41,8 @@ WITH_JIKES?= YES .if ${WITH_JIKES} == "YES" RUN_DEPENDS+= ${JIKES_LOCATION}:${PORTSDIR}/java/jikes .endif -USER_NAME?= ${PORTNAME} -GROUP_NAME?= ${USER_NAME} -USER_ID?= 7104 -GROUP_ID?= ${USER_ID} +USER_NAME= www +GROUP_NAME= www PW?= /usr/sbin/pw HTTP_PORT?= 8090 RMI_PORT?= 23791 @@ -58,16 +56,14 @@ pre-install: @${ECHO} " Location of JDK: ${JAVA_HOME}" @${ECHO} " Location of Java port: ${JAVA_PORT}" @${ECHO} " Using Jikes: ${WITH_JIKES}" - @${ECHO} " Running as (user/group): ${USER_NAME}/${GROUP_NAME} (${USER_ID}:${GROUP_ID})" + @${ECHO} " Running as (user/group): ${USER_NAME}/${GROUP_NAME}" @${ECHO} " HTTP port: ${HTTP_PORT}" @${ECHO} " RMI port: ${RMI_PORT}" @${ECHO} " Starting after install: ${AUTO_START}" + PKG_PREFIX=${PREFIX} ${SH} pkg-install ${PKGNAME} PRE-INSTALL -do-install: - @# Add the group and the user if they do not exist - ${PW} groupadd -n ${GROUP_NAME} -g ${GROUP_ID} || true - ${PW} useradd -n ${USER_NAME} -u ${USER_ID} -g ${GROUP_NAME} -c "${APP_TITLE} account" -d ${APP_HOME} -s ${SH} -h - || true +do-install: @# Create the destination directory ${MKDIR} ${APP_HOME} |