blob: 0d198f4425d6ea836c7d89548c32ee236a6a69e1 (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# $NetBSD: Makefile,v 1.22 2008/05/25 21:42:22 joerg Exp $
#
DISTNAME= screws-0.56
PKGREVISION= 5
CATEGORIES= www
MASTER_SITES= ftp://ftp.nopcode.org/prj/screws/
MAINTAINER= pancake@phreaker.net
HOMEPAGE= http://www.nopcode.org/?t=screws
COMMENT= SCRipt Enhanced Web Server
USE_TOOLS+= perl:run pax
PKG_GROUPS_VARS+= SCREWS_GROUP
PKG_USERS_VARS+= SCREWS_USER
PKG_USERS= ${SCREWS_USER}:${SCREWS_GROUP}
PKG_GROUPS= ${SCREWS_GROUP}
MAKE_ENV+= ETCPREFIX=${PKG_SYSCONFDIR:Q}
MAKE_ENV+= PERL=${PERL5:Q}
EGDIR= ${PREFIX}/share/examples/screws
CONF_FILES= ${EGDIR}/default.conf ${PKG_SYSCONFDIR}/screws.conf
RCD_SCRIPTS= screws
RCD_SCRIPT_SRC.screws= ${WRKSRC}/src/Utils/files/screws.sh
SUBST_CLASSES+= paths
SUBST_MESSAGE.paths= Fixing paths.
SUBST_STAGE.paths= pre-configure
SUBST_FILES.paths= src/Utils/screwsctl
SUBST_SED.paths= -e 's|/var/log|${VARBASE}/log|g'
SUBST_CLASSES+= man
SUBST_STAGE.man= pre-configure
SUBST_FILES.man= Makefile
SUBST_SED.man= -e 's,PREFIX}/man,PREFIX}/${PKGMANDIR},g'
BUILD_DEFS+= VARBASE
# The HSML files do not really contain a script interpreter, only
# something very similar.
CHECK_INTERPRETER_SKIP+= *.hsml
.include "options.mk"
.include "../../mk/bsd.pkg.mk"
|