aboutsummaryrefslogtreecommitdiff
path: root/textproc/aspell
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-09-20 06:36:40 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-09-20 06:36:40 +0000
commitce563ea1bb7c1f18a7dac485b4401afd4671459c (patch)
tree370286cbabbbd3761cad3da90df236086995a07e /textproc/aspell
parentb4119dd2565bfc11835278e8c0ab2382c5318e84 (diff)
downloadports-ce563ea1bb7c1f18a7dac485b4401afd4671459c.tar.gz
ports-ce563ea1bb7c1f18a7dac485b4401afd4671459c.zip
- Support NOPORTDOCS properly
PR: 42893 Submitted by: Ports Fury Approved by: maintainer
Notes
Notes: svn path=/head/; revision=66799
Diffstat (limited to 'textproc/aspell')
-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