aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsumikawa <sumikawa@FreeBSD.org>2009-07-08 15:53:01 +0800
committersumikawa <sumikawa@FreeBSD.org>2009-07-08 15:53:01 +0800
commit5577d7088936cd8468232c33fa240f1a7b8a66be (patch)
treebf04d5b2245f99b2e7825e54e36dfe6236809a99
parent81ddd0375dcdc02bd52c56550fd13d97e8e57700 (diff)
downloadfreebsd-ports-gnome-5577d7088936cd8468232c33fa240f1a7b8a66be.tar.gz
freebsd-ports-gnome-5577d7088936cd8468232c33fa240f1a7b8a66be.tar.zst
freebsd-ports-gnome-5577d7088936cd8468232c33fa240f1a7b8a66be.zip
Fix docdir to be able to install on non-standard LOCALBASE.
-rw-r--r--www/wwwoffle/Makefile1
-rw-r--r--www/wwwoffle/files/patch-doc-Makefile.in (renamed from www/wwwoffle/files/patch-ae)6
2 files changed, 4 insertions, 3 deletions
diff --git a/www/wwwoffle/Makefile b/www/wwwoffle/Makefile
index 434365cd896f..1d4357e7dea1 100644
--- a/www/wwwoffle/Makefile
+++ b/www/wwwoffle/Makefile
@@ -32,6 +32,7 @@ CONFIGURE_ENV= LIBS=-lmd
CONFIGURE_ARGS= --with-confdir=${PREFIX}/etc --with-ipv6 \
--with-gnutls=${PREFIX} \
--with-spooldir=${WWWOFFLE_SPOOL} \
+ --docdir=${DOCSDIR} \
--mandir=${MANPREFIX}/man
RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
diff --git a/www/wwwoffle/files/patch-ae b/www/wwwoffle/files/patch-doc-Makefile.in
index 974583a9cd32..c3eb4a085e75 100644
--- a/www/wwwoffle/files/patch-ae
+++ b/www/wwwoffle/files/patch-doc-Makefile.in
@@ -1,11 +1,11 @@
---- doc/Makefile.in.orig Mon Apr 22 01:53:25 2002
-+++ doc/Makefile.in Mon Apr 22 20:54:11 2002
+--- doc/Makefile.in.orig 2006-02-07 04:06:14.000000000 +0900
++++ doc/Makefile.in 2009-07-08 16:30:38.000000000 +0900
@@ -22,7 +22,7 @@
prefix=@prefix@
mandir=$(DESTDIR)@mandir@
-docdir=$(DESTDIR)${prefix}/doc/wwwoffle
-+docdir=$(DESTDIR)${prefix}/share/doc/wwwoffle
++docdir=$(DESTDIR)@docdir@
SPOOLDIR=@SPOOLDIR@
CONFDIR=@CONFDIR@