summaryrefslogtreecommitdiff
path: root/www/geeklog/Makefile.common
blob: a7cc7ef6c5d767a9bfa86d60d8bc17d5a651697b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $NetBSD: Makefile.common,v 1.4 2007/05/20 15:56:44 taca Exp $
#

GEEKLOG_BASE=		share/geeklog
GEEKLOG_PUB=		share/httpd/geeklog
GEEKLOG_ADMIN=		${GEEKLOG_BASE}/admin
GEEKLOG_TMPL=		${GEEKLOG_BASE}/default

# Geeklog system
GEEKLOG_DIR=		${PREFIX}/${GEEKLOG_BASE}

# Geeklog public area
GEEKLOG_PUBDIR=		${PREFIX}/${GEEKLOG_PUB}
GEEKLOG_ADMIN_DIR=	${PREFIX}/${GEEKLOG_ADMIN}
GEEKLOG_TMPL_DIR=	${PREFIX}/${GEEKLOG_TMPL}

GEEKLOG_DOCDIR=		${PREFIX}/share/doc/geeklog
GEEKLOG_EXAMPLESDIR=	${PREFIX}/share/examples/geeklog

.include "../../mk/bsd.prefs.mk"

# access Geeklog as its own directory?
GEEKLOG_SITEBASE?=	geeklog

BUILD_DEFS+=		GEEKLOG_SITEBASE

.if !empty(GEEKLOG_SITEBASE)
GEEKLOG_SITESUBDIR=	/${GEEKLOG_SITEBASE}
.endif