From 6206eb198735d6fa934388b80c68810c6c88507b Mon Sep 17 00:00:00 2001 From: zeising Date: Mon, 30 Jul 2012 15:38:16 +0000 Subject: Misc. fixes: - Remove pre/post include - No need for ARCH check since ONLY_FOR_ARCHS is used - Use USERS/GROUPS - Fix invalid @exec in plist causing directory to be created in the wrong place with pkgng Add nogroup to GIDs since this port uses it. PR: ports/169984 Submitted by: maintainer Approved by: kwm (mentor) --- www/aolserver/Makefile | 10 ++++------ www/aolserver/pkg-plist | 4 ++-- 2 files changed, 6 insertions(+), 8 deletions(-) (limited to 'www/aolserver') diff --git a/www/aolserver/Makefile b/www/aolserver/Makefile index e451072b4a92..c51cea4625a4 100644 --- a/www/aolserver/Makefile +++ b/www/aolserver/Makefile @@ -26,6 +26,8 @@ WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//} AOLSERVERBASE?= ${PORTNAME} AOLSERVERUSER?= nobody AOLSERVERGROUP?= nogroup +USERS= ${AOLSERVERUSER} +GROUPS= ${AOLSERVERGROUP} MANPREFIX= ${PREFIX}/${AOLSERVERBASE} USE_GMAKE= yes @@ -52,15 +54,11 @@ HTMLDOCS_DESC= Install HTML documentation MANPAGES_DESC= Install manpages TESTS_DESC= Install tests in example directory -.include +.include SUB_LIST+= MKDIR="${MKDIR}" ECHO_CMD="${ECHO_CMD}" \ CHOWN="${CHOWN}" CHMOD="${CHMOD}" -.if (${ARCH} == "ia64") -BROKEN= does not compile on ia64 -.endif - CONFIGURE_ENV+= TCLSH="${TCLSH}" CONFIGURE_ARGS+= --prefix="${PREFIX}/${AOLSERVERBASE}" \ --with-tcl="${TCL_LIBDIR}" @@ -738,4 +736,4 @@ post-install: @${CAT} ${PKGMESSAGE} -.include +.include diff --git a/www/aolserver/pkg-plist b/www/aolserver/pkg-plist index 52d6432b2d2d..873ec9752cb5 100644 --- a/www/aolserver/pkg-plist +++ b/www/aolserver/pkg-plist @@ -832,8 +832,8 @@ @dirrmtry %%AOLSERVERBASE%%/servers/server1 @dirrmtry %%AOLSERVERBASE%%/servers @dirrmtry %%AOLSERVERBASE%% -@exec mkdir -p %%AOLSERVERBASE%%/log -@exec mkdir -p %%AOLSERVERBASE%%/servers/server1/modules/nslog +@exec mkdir -p %D/%%AOLSERVERBASE%%/log +@exec mkdir -p %D/%%AOLSERVERBASE%%/servers/server1/modules/nslog %%TESTS%%%%EXAMPLESDIR%%/tests/adp/test1.adp %%TESTS%%%%EXAMPLESDIR%%/tests/adp/test2.adp %%TESTS%%%%EXAMPLESDIR%%/tests/adp/test3.adp -- cgit