diff options
author | obache <obache> | 2011-03-02 12:25:16 +0000 |
---|---|---|
committer | obache <obache> | 2011-03-02 12:25:16 +0000 |
commit | c27cafdee0d0e9f600521a59bac79f1e9ba7f4eb (patch) | |
tree | e30c9d3aeeef852b0b6f4a63f3857a09563ec9af /www/screws | |
parent | dc5e42d11f1357ae48338d613f92f4322014dc5f (diff) | |
download | pkgsrc-c27cafdee0d0e9f600521a59bac79f1e9ba7f4eb.tar.gz |
Add user-destdir installation support.
Diffstat (limited to 'www/screws')
-rw-r--r-- | www/screws/Makefile | 5 |
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 |