dc9594e09d
automatically detects whether we want the pkginstall machinery to be used by the package Makefile.
37 lines
869 B
Makefile
37 lines
869 B
Makefile
# $NetBSD: Makefile,v 1.13 2005/12/29 06:22:24 jlam Exp $
|
|
#
|
|
|
|
DISTNAME= screws-0.56
|
|
PKGREVISION= 2
|
|
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
|
|
|
|
BUILD_DEFS+= SCREWS_USER SCREWS_GROUP
|
|
|
|
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
|
|
CONF_FILES= ${EGDIR}/default.conf ${PKG_SYSCONFDIR}/screws.conf
|
|
FILESDIR= ${WRKSRC}/src/Utils/files
|
|
|
|
RCD_SCRIPTS= screws
|
|
|
|
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'
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|