diff options
author | obache <obache@pkgsrc.org> | 2011-03-17 08:26:08 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2011-03-17 08:26:08 +0000 |
commit | b7f137e685845c9843fb8c557e488ab5348f1716 (patch) | |
tree | 86fe271d0f76b5035b83fa4811fd53d0d2cb9363 /www/sarg | |
parent | 9608ef89a189ba8b06588341855f871b04b7e302 (diff) | |
download | pkgsrc-b7f137e685845c9843fb8c557e488ab5348f1716.tar.gz |
* set LICENSE=gnu-gpl-v2
* add user-destdir support
Diffstat (limited to 'www/sarg')
-rw-r--r-- | www/sarg/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/www/sarg/Makefile b/www/sarg/Makefile index ab78d827e66..1848e69463b 100644 --- a/www/sarg/Makefile +++ b/www/sarg/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2011/01/13 13:39:40 wiz Exp $ +# $NetBSD: Makefile,v 1.20 2011/03/17 08:26:08 obache Exp $ DISTNAME= sarg-2.1 PKGREVISION= 7 @@ -11,6 +11,9 @@ PATCHFILES= datafile.patch lastlog.patch MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://sarg.sourceforge.net/sarg.php COMMENT= Squid-Cache proxy server Analysis Report Generator +LICENSE= gnu-gpl-v2 # or later + +PKG_DESTDIR_SUPPORT= user-destdir GNU_CONFIGURE= yes CONFIGURE_ARGS+= --with-gcc \ @@ -55,6 +58,10 @@ MAKE_ENV+= PKG_FLAGS="-DSQUID_ACCESSLOG='\"${SQUID_ACCESSLOG}\"' \ -DSARG_REPORTSDIR='\"${SARG_REPORTSDIR}\"'" \ EGDIR=${EGDIR:Q} +INSTALL_MAKE_FLAGS+= BINDIR=${DESTDIR}${PREFIX}/bin +INSTALL_MAKE_FLAGS+= MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 +INSTALL_MAKE_FLAGS+= EGDIR=${DESTDIR}${EGDIR} + CONF_FILES= ${EGDIR}/sarg.conf ${PKG_SYSCONFDIR}/sarg.conf \ ${EGDIR}/exclude_codes ${PKG_SYSCONFDIR}/exclude_codes \ ${EGLNG}/Bulgarian_windows1251 \ |