- Support NOPORTDOCS properly

PR:		42893
Submitted by:	Ports Fury
Approved by:	maintainer
This commit is contained in:
Ying-Chieh Liao 2002-09-20 06:36:40 +00:00
parent b4119dd256
commit ce563ea1bb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=66799
3 changed files with 21 additions and 5 deletions

View file

@ -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

View file

@ -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 = .

View file

@ -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