pkgsrc/www/screws/Makefile
wiz 7eeb51b534 Bump for perl-5.20.0.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
2014-05-29 23:35:13 +00:00

59 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.39 2014/05/29 23:38:17 wiz Exp $
#
DISTNAME= screws-0.56
PKGREVISION= 17
CATEGORIES= www
MASTER_SITES= ftp://ftp.nopcode.org/prj/screws/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.nopcode.org/?t=screws
COMMENT= SCRipt Enhanced Web Server
LICENSE= gnu-gpl-v2
USE_TOOLS+= perl:run pax gmake
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}
INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX}
EGDIR= ${PREFIX}/share/examples/screws
CONF_FILES= ${EGDIR}/default.conf ${PKG_SYSCONFDIR}/screws.conf
REPLACE_PERL+= src/Exec/obsd-qos.x
REPLACE_PERL+= src/Exec/perl.pl
REPLACE_PERL+= src/Exec/perl/*.pl
REPLACE_PERL+= src/Exec/perl/htdocs/example.x
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
post-extract:
${CP} ${FILESDIR}/*.[158] ${WRKSRC}/doc/manpage/
.include "options.mk"
.include "../../mk/bsd.pkg.mk"