freebsd-ports/converters/enca/Makefile
Tijl Coosemans 11508622a3 - Replace patch with USES=pathfix and post-patch command
- Remove old libtool patch
- Remove post-patch command that isn't needed with staging
2014-09-18 09:51:18 +00:00

33 lines
831 B
Makefile

# Created by: Alexandr Kovalenko <never@nevermind.kiev.ua>
# $FreeBSD$
PORTNAME= enca
PORTVERSION= 1.13
PORTREVISION= 1
CATEGORIES= converters textproc russian ukrainian
MASTER_SITES= http://dl.cihar.com/enca/
MAINTAINER= never@nevermind.kiev.ua
COMMENT= Detect encoding of text files
BUILD_DEPENDS= umap:${PORTSDIR}/converters/p5-Unicode-Map8
LIB_DEPENDS= librecode.so:${PORTSDIR}/converters/recode
RUN_DEPENDS= umap:${PORTSDIR}/converters/p5-Unicode-Map8
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake iconv libtool pathfix pkgconfig tar:bzip2
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-html-dir=${DOCSDIR}
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} '/SUBDIRS =/s/test//' ${WRKSRC}/src/Makefile.in
.include <bsd.port.mk>