ports/110781: [PATCH] move WWWDIR macro to pre-makefile section of bsd.port.mk
Alexander Logvinov
ports at logvinov.com
Sun Mar 25 02:20:03 UTC 2007
>Number: 110781
>Category: ports
>Synopsis: [PATCH] move WWWDIR macro to pre-makefile section of bsd.port.mk
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Mar 25 02:20:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Alexander Logvinov
>Release: FreeBSD 6.2-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
This patch allows to use WWWDIR macro in "exists" function and etc.
>How-To-Repeat:
>Fix:
Index: bsd.port.mk
===================================================================
RCS file: /home/pcvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.557
diff -u -r1.557 bsd.port.mk
--- bsd.port.mk 24 Mar 2007 14:02:06 -0000 1.557
+++ bsd.port.mk 25 Mar 2007 02:03:03 -0000
@@ -1583,6 +1583,9 @@
WWWOWN?= www
WWWGRP?= www
+# Name of the directory to install the packages www data in
+WWWDIR?= ${TARGETDIR}/www/${PORTNAME}
+
.endif
# End of pre-makefile section.
@@ -2965,7 +2968,6 @@
EXAMPLESDIR_REL?= ${EXAMPLESDIR:S,^${TARGETDIR}/,,}
DATADIR?= ${TARGETDIR}/share/${PORTNAME}
DATADIR_REL?= ${DATADIR:S,^${TARGETDIR}/,,}
-WWWDIR?= ${TARGETDIR}/www/${PORTNAME}
WWWDIR_REL?= ${WWWDIR:S,^${TARGETDIR}/,,}
PLIST_SUB+= DOCSDIR="${DOCSDIR_REL}" \
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list