aboutsummaryrefslogtreecommitdiff
path: root/converters/enca/Makefile
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 /converters/enca/Makefile
parent4748fe666af35499789e3707570ab056b061557d (diff)
downloadports-ad36aa3bfb32ad9eae0795ef2e6352e5c919466b.tar.gz
ports-ad36aa3bfb32ad9eae0795ef2e6352e5c919466b.zip
Notes
Diffstat (limited to 'converters/enca/Makefile')
-rw-r--r--converters/enca/Makefile6
1 files changed, 6 insertions, 0 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>