mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-12 03:00:28 +00:00
3f651573ad
Begin autotools sanitization sequence by requiring ports to explicitly specify which version of {libtool,autoconf,automake} they need, erasing the concept of a "system default". For ports-in-waiting: USE_LIBTOOL=YES -> USE_LIBTOOL_VER=13 USE_AUTOCONF=YES -> USE_AUTOCONF_VER=213 USE_AUTOMAKE=YES -> USE_AUTOMAKE_VER=14 Ports attempting to use the old style system after June 1st 2004 will be sorely disappointed.
40 lines
927 B
Makefile
40 lines
927 B
Makefile
# Ports collection makefile for: enca
|
|
# Date created: Fri Sep 20, 2002
|
|
# Whom: Alexandr Kovalenko <never@nevermind.kiev.ua>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= enca
|
|
PORTVERSION= 1.2
|
|
PORTREVISION= 1
|
|
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
|
|
|
|
LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
|
|
|
|
USE_GNOME= pkgconfig
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
USE_LIBTOOL_VER= 13
|
|
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>
|