aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver Braun <obraun@FreeBSD.org>2002-10-23 17:04:23 +0000
committerOliver Braun <obraun@FreeBSD.org>2002-10-23 17:04:23 +0000
commitad36aa3bfb32ad9eae0795ef2e6352e5c919466b (patch)
tree93703fce49c7dcb1d5ba5aec0d834bd16b4f46fe
parent4748fe666af35499789e3707570ab056b061557d (diff)
downloadports-ad36aa3bfb32ad9eae0795ef2e6352e5c919466b.tar.gz
ports-ad36aa3bfb32ad9eae0795ef2e6352e5c919466b.zip
Notes
-rw-r--r--converters/enca/Makefile6
-rw-r--r--converters/enca/pkg-plist18
2 files changed, 15 insertions, 9 deletions
diff --git a/converters/enca/Makefile b/converters/enca/Makefile
index 7021af5e0268..b69a049ddf45 100644
--- a/converters/enca/Makefile
+++ b/converters/enca/Makefile
@@ -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>
diff --git a/converters/enca/pkg-plist b/converters/enca/pkg-plist
index 49cbc7547956..18a0c705f8c3 100644
--- a/converters/enca/pkg-plist
+++ b/converters/enca/pkg-plist
@@ -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