aboutsummaryrefslogtreecommitdiffstats
path: root/converters/enca/Makefile
diff options
context:
space:
mode:
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 7021af5e026..b69a049ddf4 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>