pkgsrc/www/screws/Makefile

60 lines
1.5 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.35 2013/07/12 10:45:05 jperkin Exp $
#
DISTNAME= screws-0.56
PKGREVISION= 13
CATEGORIES= www
MASTER_SITES= ftp://ftp.nopcode.org/prj/screws/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.nopcode.org/?t=screws
2005-03-21 12:35:39 +01:00
COMMENT= SCRipt Enhanced Web Server
2011-03-02 14:07:35 +01:00
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}
2011-03-02 13:25:16 +01:00
INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX}
EGDIR= ${PREFIX}/share/examples/screws
Update www/screws to 0.54. Changes: 0.54 - * - Separated IO code from Accept - Add HSML comment tag: <?- -?> - Add launcher from cmdline (path|port) using HsmlExec module. - Allow stdin to read the configuration file (-c -) - Disable exectimeout by default to allow large file processing. - Disable keep-alive (not all scripts print Content-Length) - Solve IExplorer 'bug' that forces screws to segfault - Add initial support for Range-bytes in Headers and HsmlExec. - Drop nonblocking sockets, and use IOpoll/IOselect by default. - Solved longfiles buffering problems. - Solve XSS bug on HsmlExec - Initial screws_* API - Allow logs using syslog (LOG_ERR) and piped logs (|...) - Create macros for modules. - Add CleanLog module - Move hsml_lua_init into HsmlExec_init (3x faster) - Exterminate zombies using setsid() - Change bool env from TRUE/"" to 1/0 - patch unicode bug that wraps the ARGV env. - Implement headers support for hsml and .x's (redirect, mimetype, 404...) - do not overwrite user config file - initial alloc drop process. 0.53 - 2004/05/10 - Initial code for file uploading - Solve Dead children ripper bug. - Cleaner Makefiles - add portable getpath(Utils/whereis) - Add nonblocking sockets for child ripping. - Add multi-part support for fileuploading - Solve argument parsing bug. - Add some filechecks in HsmlExec.so - Add csharp support. - Patch an hsml parsing bug. - Hashbang support on hsml (to separate hsml1 and hsml2 code) - Solve http request bug. - Write all manpages.
2004-06-22 14:11:01 +02:00
CONF_FILES= ${EGDIR}/default.conf ${PKG_SYSCONFDIR}/screws.conf
2011-07-03 14:26:34 +02:00
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"