1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

Add support for NOPORTDOCS.

PR:		44412
Submitted by:	maintainer
This commit is contained in:
Oliver Braun 2002-10-23 17:04:23 +00:00
parent 4748fe666a
commit ad36aa3bfb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68677
2 changed files with 15 additions and 9 deletions

View File

@ -17,6 +17,7 @@ LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
USE_BZIP2= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
USE_REINPLACE= yes
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc/enca \
--without-librecode \
@ -27,4 +28,9 @@ CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include \
MAN1= enca.1
MLINKS= enca.1 enconv.1
post-patch::
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e 's#\ devel-docs##g' ${WRKSRC}/Makefile.in
.endif
.include <bsd.port.mk>

View File

@ -8,12 +8,12 @@ include/enca.h
lib/libenca.a
lib/libenca.so
lib/libenca.so.2
share/doc/enca/libenca/c4.html
share/doc/enca/libenca/index.html
share/doc/enca/libenca/index.sgml
share/doc/enca/libenca/libenca-analyser.html
share/doc/enca/libenca/libenca-auxiliary-functions.html
share/doc/enca/libenca/libenca-charsets-and-surfaces.html
share/doc/enca/libenca/libenca-typedefs-and-constants.html
@dirrm share/doc/enca/libenca
@dirrm share/doc/enca
%%PORTDOCS%%share/doc/enca/libenca/c4.html
%%PORTDOCS%%share/doc/enca/libenca/index.html
%%PORTDOCS%%share/doc/enca/libenca/index.sgml
%%PORTDOCS%%share/doc/enca/libenca/libenca-analyser.html
%%PORTDOCS%%share/doc/enca/libenca/libenca-auxiliary-functions.html
%%PORTDOCS%%share/doc/enca/libenca/libenca-charsets-and-surfaces.html
%%PORTDOCS%%share/doc/enca/libenca/libenca-typedefs-and-constants.html
%%PORTDOCS%%@dirrm share/doc/enca/libenca
%%PORTDOCS%%@dirrm share/doc/enca