summaryrefslogtreecommitdiff
path: root/www/screws
diff options
context:
space:
mode:
authorobache <obache>2011-03-02 12:25:16 +0000
committerobache <obache>2011-03-02 12:25:16 +0000
commitc27cafdee0d0e9f600521a59bac79f1e9ba7f4eb (patch)
treee30c9d3aeeef852b0b6f4a63f3857a09563ec9af /www/screws
parentdc5e42d11f1357ae48338d613f92f4322014dc5f (diff)
downloadpkgsrc-c27cafdee0d0e9f600521a59bac79f1e9ba7f4eb.tar.gz
Add user-destdir installation support.
Diffstat (limited to 'www/screws')
-rw-r--r--www/screws/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/www/screws/Makefile b/www/screws/Makefile
index 5fe77737b9b..aeacc709226 100644
--- a/www/screws/Makefile
+++ b/www/screws/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2010/07/06 10:17:17 jmmv Exp $
+# $NetBSD: Makefile,v 1.25 2011/03/02 12:25:16 obache Exp $
#
DISTNAME= screws-0.56
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.nopcode.org/?t=screws
COMMENT= SCRipt Enhanced Web Server
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_TOOLS+= perl:run pax gmake
PKG_GROUPS_VARS+= SCREWS_GROUP
@@ -20,6 +22,7 @@ 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