1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/converters/enca/Makefile
Oliver Braun ad36aa3bfb Add support for NOPORTDOCS.
PR:		44412
Submitted by:	maintainer
2002-10-23 17:04:23 +00:00

37 lines
802 B
Makefile

# Ports collection makefile for: enca
# Date created: Fri Sep 20, 2002
# Whom: Alexandr Kovalenko <never@nevermind.kiev.ua>
#
# $FreeBSD$
#
PORTNAME= enca
PORTVERSION= 0.10.6
CATEGORIES= converters textproc
MASTER_SITES= http://web.dkm.cz/yeti/enca/
MAINTAINER= never@nevermind.kiev.ua
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 \
--with-libiconv=${LOCALBASE}
CONFIGURE_ENV= CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib
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>