pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/geeklog make GEEKLOG_BASE and GEEKLOG_PUB settable.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ba0610117e3a
branches:  trunk
changeset: 543467:ba0610117e3a
user:      taca <taca%pkgsrc.org@localhost>
date:      Thu Jun 19 12:38:45 2008 +0000

description:
make GEEKLOG_BASE and GEEKLOG_PUB settable.

diffstat:

 www/geeklog/Makefile.common |  10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 42231a7e41b3 -r ba0610117e3a www/geeklog/Makefile.common
--- a/www/geeklog/Makefile.common       Thu Jun 19 11:30:20 2008 +0000
+++ b/www/geeklog/Makefile.common       Thu Jun 19 12:38:45 2008 +0000
@@ -1,8 +1,6 @@
-# $NetBSD: Makefile.common,v 1.4 2007/05/20 15:56:44 taca Exp $
+# $NetBSD: Makefile.common,v 1.5 2008/06/19 12:38:45 taca Exp $
 #
 
-GEEKLOG_BASE=          share/geeklog
-GEEKLOG_PUB=           share/httpd/geeklog
 GEEKLOG_ADMIN=         ${GEEKLOG_BASE}/admin
 GEEKLOG_TMPL=          ${GEEKLOG_BASE}/default
 
@@ -19,10 +17,14 @@
 
 .include "../../mk/bsd.prefs.mk"
 
+# Geeklog's basic directories.
+GEEKLOG_BASE?=         share/geeklog
+GEEKLOG_PUB?=          share/httpd/geeklog
+
 # access Geeklog as its own directory?
 GEEKLOG_SITEBASE?=     geeklog
 
-BUILD_DEFS+=           GEEKLOG_SITEBASE
+BUILD_DEFS+=           GEEKLOG_BASE GEEKLOG_PUB GEEKLOG_SITEBASE
 
 .if !empty(GEEKLOG_SITEBASE)
 GEEKLOG_SITESUBDIR=    /${GEEKLOG_SITEBASE}



Home | Main Index | Thread Index | Old Index