Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correctly use config file framework for wwwoffle.conf, also move
it under share/examples/wwwoffle like all other packages do. Bump revision.
- Loading branch information
joerg
committed
Apr 11, 2006
1 parent
347caa1
commit 2366cd6
Showing
4 changed files
with
30 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
$NetBSD: distinfo,v 1.22 2005/05/07 11:02:48 abs Exp $ | ||
$NetBSD: distinfo,v 1.23 2006/04/11 08:10:41 joerg Exp $ | ||
|
||
SHA1 (wwwoffle-2.8e.tgz) = 719cc53a2c66c14aa7dfcb6ca0ef9f033b454bd9 | ||
RMD160 (wwwoffle-2.8e.tgz) = a9243f0c2aab2c735ce355ee81d3a802e8d797dc | ||
Size (wwwoffle-2.8e.tgz) = 1015694 bytes | ||
SHA1 (patch-aa) = 897de385a47826e16a8a09b1bc1c207a2d350f94 | ||
SHA1 (patch-ab) = 7f73e34c6f80ee5febadbe2da3fbda9499226490 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
$NetBSD: patch-ab,v 1.11 2006/04/11 08:10:41 joerg Exp $ | ||
|
||
--- conf/Makefile.in.orig 2006-04-10 16:42:27.000000000 +0000 | ||
+++ conf/Makefile.in | ||
@@ -23,7 +23,7 @@ SHELL=/bin/sh | ||
prefix=@prefix@ | ||
|
||
SPOOLDIR=$(DESTDIR)@SPOOLDIR@ | ||
-CONFDIR=$(DESTDIR)@CONFDIR@ | ||
+CONFDIR=$(DESTDIR)$(prefix)/share/examples/wwwoffle | ||
|
||
REAL_SPOOLDIR=@SPOOLDIR@ | ||
REAL_CONFDIR=@CONFDIR@ | ||
@@ -45,6 +45,7 @@ compile : conf-file | ||
######## INSTALLATION ######## | ||
|
||
install : compile | ||
+ | ||
sed -e 's%SPOOLDIR%$(REAL_SPOOLDIR)%' -e 's%CONFDIR%$(REAL_CONFDIR)%' < wwwoffle.conf > wwwoffle.conf.install | ||
[ -x $(CONFDIR) ] || $(INSTALL) -d -m 750 $(CONFDIR) | ||
@[ ! -f $(DESTDIR)/etc/wwwoffle.conf ] || \ |