[csw-devel] SF.net SVN: gar:[19619] csw/mgar/pkg/squidguard/trunk/Makefile
dmichelsen at users.sourceforge.net
dmichelsen at users.sourceforge.net
Sat Nov 10 20:18:55 CET 2012
Revision: 19619
http://gar.svn.sourceforge.net/gar/?rev=19619&view=rev
Author: dmichelsen
Date: 2012-11-10 19:18:54 +0000 (Sat, 10 Nov 2012)
Log Message:
-----------
squidguard/trunk: Add overrides and docs
Modified Paths:
--------------
csw/mgar/pkg/squidguard/trunk/Makefile
Modified: csw/mgar/pkg/squidguard/trunk/Makefile
===================================================================
--- csw/mgar/pkg/squidguard/trunk/Makefile 2012-11-10 19:08:40 UTC (rev 19618)
+++ csw/mgar/pkg/squidguard/trunk/Makefile 2012-11-10 19:18:54 UTC (rev 19619)
@@ -1,6 +1,7 @@
# $Id$
NAME = squidguard
-VERSION = 1.4
+PKGVERSION = 1.4
+VERSION = $(PKGVERSION),20091019
CATEGORIES = net
GARTYPE = v2
@@ -10,7 +11,7 @@
MASTER_SITES = http://squidguard.org/Downloads/
MASTER_SITES += http://squidguard.org/Downloads/Patches/1.4/
-DISTNAME = squidGuard-$(VERSION)
+DISTNAME = squidGuard-$(PKGVERSION)
DISTFILES = $(DISTNAME).tar.gz
# These files do patch the source, but they are not in "patch-format"
@@ -29,6 +30,20 @@
# PKGFILES is catchall
RUNTIME_DEP_PKGS_CSWsquidguard += CSWbdb48
+# Just docs, leave for now
+CHECKPKG_OVERRIDES_CSWsquidguard += file-with-bad-content|/usr/local|root/opt/csw/share/doc/squidguard/configure.txt
+CHECKPKG_OVERRIDES_CSWsquidguard += file-with-bad-content|/usr/local|root/opt/csw/share/doc/squidguard/features.txt
+CHECKPKG_OVERRIDES_CSWsquidguard += file-with-bad-content|/usr/local|root/opt/csw/share/doc/squidguard/features.html
+CHECKPKG_OVERRIDES_CSWsquidguard += file-with-bad-content|/usr/local|root/opt/csw/share/doc/squidguard/faq.txt
+CHECKPKG_OVERRIDES_CSWsquidguard += file-with-bad-content|/usr/local|root/opt/csw/share/doc/squidguard/installation.html
+CHECKPKG_OVERRIDES_CSWsquidguard += file-with-bad-content|/usr/local|root/opt/csw/share/doc/squidguard/configuration.txt
+CHECKPKG_OVERRIDES_CSWsquidguard += file-with-bad-content|/usr/local|root/opt/csw/share/doc/squidguard/install.txt
+CHECKPKG_OVERRIDES_CSWsquidguard += file-with-bad-content|/usr/local|root/opt/csw/share/doc/squidguard/configure.html
+CHECKPKG_OVERRIDES_CSWsquidguard += file-with-bad-content|/usr/local|root/opt/csw/share/doc/squidguard/configuration.html
+CHECKPKG_OVERRIDES_CSWsquidguard += file-with-bad-content|/usr/local|root/opt/csw/share/doc/squidguard/install.html
+CHECKPKG_OVERRIDES_CSWsquidguard += file-with-bad-content|/usr/local|root/opt/csw/share/doc/squidguard/faq.html
+CHECKPKG_OVERRIDES_CSWsquidguard += file-with-bad-content|/usr/local|root/opt/csw/share/doc/squidguard/installation.txt
+
REINPLACEMENTS += nochown
REINPLACE_MATCH_nochown = (.*)(chown.*)
REINPLACE_WITH_nochown = \1\# \2
@@ -69,3 +84,8 @@
-gzip -c -d $(DOWNLOADDIR)/squidGuard-1.4-patch-20091015.tar.gz | (cd $(WORKSRC) && tar xvf -)
-gzip -c -d $(DOWNLOADDIR)/squidGuard-1.4-patch-20091019.tar.gz | (cd $(WORKSRC) && tar xvf -)
@$(MAKECOOKIE)
+
+post-install-modulated:
+ ginstall -d $(DESTDIR)$(sharedstatedir)/doc/squidguard
+ ginstall $(WORKSRC)/doc/* $(DESTDIR)$(sharedstatedir)/doc/squidguard
+ @$(MAKECOOKIE)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the devel
mailing list