aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-09-20 14:36:40 +0800
committerijliao <ijliao@FreeBSD.org>2002-09-20 14:36:40 +0800
commitd7cff92c2705c82c77cb4de5f86946cb8c8313ee (patch)
treebace2459cdf67bd8711cdc8a1109705790fa3c30 /textproc
parent16cdbbf3e8f72401712c16958b7880b62a2e01fe (diff)
downloadfreebsd-ports-gnome-d7cff92c2705c82c77cb4de5f86946cb8c8313ee.tar.gz
freebsd-ports-gnome-d7cff92c2705c82c77cb4de5f86946cb8c8313ee.tar.zst
freebsd-ports-gnome-d7cff92c2705c82c77cb4de5f86946cb8c8313ee.zip
- Support NOPORTDOCS properly
PR: 42893 Submitted by: Ports Fury Approved by: maintainer
Diffstat (limited to 'textproc')
-rw-r--r--textproc/aspell/Makefile1
-rw-r--r--textproc/aspell/files/patch-Makefile.in15
-rw-r--r--textproc/aspell/pkg-plist10
3 files changed, 21 insertions, 5 deletions
diff --git a/textproc/aspell/Makefile b/textproc/aspell/Makefile
index 4ecb6b1fafdf..80377b2b99c6 100644
--- a/textproc/aspell/Makefile
+++ b/textproc/aspell/Makefile
@@ -22,6 +22,7 @@ BUILD_DEPENDS+= bzip2:${PORTSDIR}/archivers/bzip2
.endif
USE_LIBTOOL= yes
+CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-dict-dir=${DATADIR} \
--enable-doc-dir=${DOCSDIR}
USE_GMAKE= yes
diff --git a/textproc/aspell/files/patch-Makefile.in b/textproc/aspell/files/patch-Makefile.in
new file mode 100644
index 000000000000..0bf73cabe49c
--- /dev/null
+++ b/textproc/aspell/files/patch-Makefile.in
@@ -0,0 +1,15 @@
+--- Makefile.in.orig Wed Aug 28 17:02:39 2002
++++ Makefile.in Fri Sep 13 08:09:01 2002
+@@ -97,7 +97,11 @@
+
+ AUTOMAKE_OPTIONS = foreign
+
+-SUBDIRS = auto common modules lib examples prog data scripts interfaces manual
++ifndef NOPORTDOCS
++MANUALSUBDIR = manual
++endif
++
++SUBDIRS = auto common modules lib prog data scripts interfaces $(MANUALSUBDIR)
+
+ EXTRA_DIST = README
+ subdir = .
diff --git a/textproc/aspell/pkg-plist b/textproc/aspell/pkg-plist
index 8ebb48a56f00..062c6ae713b3 100644
--- a/textproc/aspell/pkg-plist
+++ b/textproc/aspell/pkg-plist
@@ -94,9 +94,9 @@ share/aspell/viscii.dat
%%PORTDOCS%%share/doc/aspell/manual.dvi
%%PORTDOCS%%share/doc/aspell/manual.tex
%%PORTDOCS%%share/doc/aspell/manual2.lyx
+%%PORTDOCS%%@dirrm share/doc/aspell/man-text
+%%PORTDOCS%%@dirrm share/doc/aspell/man-html
+%%PORTDOCS%%@dirrm share/doc/aspell/dev-text
+%%PORTDOCS%%@dirrm share/doc/aspell/dev-html
+%%PORTDOCS%%@dirrm share/doc/aspell
@dirrm include/pspell
-@dirrm %%PORTDOCS%%share/doc/aspell/dev-html
-@dirrm %%PORTDOCS%%share/doc/aspell/dev-text
-@dirrm %%PORTDOCS%%share/doc/aspell/man-html
-@dirrm %%PORTDOCS%%share/doc/aspell/man-text
-@dirrm %%PORTDOCS%%share/doc/aspell