diff options
author | obache <obache@pkgsrc.org> | 2011-03-02 12:25:16 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2011-03-02 12:25:16 +0000 |
commit | e8a989cb754bd0f7ddd3f64b921dab1752c666b1 (patch) | |
tree | e30c9d3aeeef852b0b6f4a63f3857a09563ec9af /www/screws | |
parent | 36f52bf1e44ef600f7388faa7ff95a5e836c8463 (diff) | |
download | pkgsrc-e8a989cb754bd0f7ddd3f64b921dab1752c666b1.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 |