blob: db730f987e1731895b85ed49cf5b00e1e2ac7aaa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Ports collection makefile for: enca
# Date created: Fri Sep 20, 2002
# Whom: Alexandr Kovalenko <never@nevermind.kiev.ua>
#
# $FreeBSD$
#
PORTNAME= enca
PORTVERSION= 1.5
CATEGORIES= converters textproc russian ukrainian
MASTER_SITES= http://kf.fyz.fce.vutbr.cz/~yeti/Ftp/enca/
MAINTAINER= never@nevermind.kiev.ua
COMMENT= A package for detecting encoding of text files
USE_GNOME= pkgconfig
USE_ICONV= yes
USE_BZIP2= yes
USE_GMAKE= yes
USE_INC_LIBTOOL_VER= 13
USE_REINPLACE= yes
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --with-html-dir=${DOCSDIR} \
--without-librecode \
--with-libiconv=${LOCALBASE}
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
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>
|