summaryrefslogtreecommitdiff
path: root/www/ijb/Makefile
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2003-09-12 12:40:57 +0000
committerjmmv <jmmv@pkgsrc.org>2003-09-12 12:40:57 +0000
commite36f2854494b06324f84ecef4de2052af2c0b476 (patch)
tree5e483a679f89912a7a57e2b36401715d6f76f41b /www/ijb/Makefile
parente19df89f4a60f82836b725c61881f1abc27e3f93 (diff)
downloadpkgsrc-e36f2854494b06324f84ecef4de2052af2c0b476.tar.gz
Install all .ini files in the examples directory. Keep CFLAGS' value while
building. Bump PKGREVISION to 1. Closes PR pkg/21862 by Todd Vierling.
Diffstat (limited to 'www/ijb/Makefile')
-rw-r--r--www/ijb/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/www/ijb/Makefile b/www/ijb/Makefile
index 9def90f61a7..2ca7c5aa892 100644
--- a/www/ijb/Makefile
+++ b/www/ijb/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.4 2003/07/17 22:55:37 grant Exp $
+# $NetBSD: Makefile,v 1.5 2003/09/12 12:40:57 jmmv Exp $
#
DISTNAME= ijb20
PKGNAME= ijb-2.0.2
+PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= http://www.junkbuster.com/
EXTRACT_SUFX= .tar.Z
@@ -11,10 +12,17 @@ MAINTAINER= abs@NetBSD.org
HOMEPAGE= http://www.junkbuster.com/
COMMENT= The Internet Junkbuster Proxy blocks unwanted banner ads and cookies
+MAKE_ENV+= MORE_CFLAGS="${CFLAGS}"
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/junkbuster ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/junkbuster.1 ${PREFIX}/man/man1
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/junkbuster
- ${INSTALL_DATA} ${WRKSRC}/junkbstr.ini ${PREFIX}/share/examples/junkbuster/junkbuster.ini
+ ${INSTALL_DATA} ${WRKSRC}/junkbstr.ini \
+ ${PREFIX}/share/examples/junkbuster/junkbuster.ini
+.for f in saclfile sblock scookie sforward strust
+ ${INSTALL_DATA} ${WRKSRC}/${f}.ini \
+ ${PREFIX}/share/examples/junkbuster/${f}.ini
+.endfor
.include "../../mk/bsd.pkg.mk"