1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/converters/recode/Makefile

38 lines
804 B
Makefile
Raw Normal View History

# Created by: torstenb@FreeBSD.org
1999-08-25 05:28:01 +00:00
# $FreeBSD$
PORTNAME= recode
PORTVERSION= 3.6
PORTREVISION= 9
CATEGORIES= converters
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= recode
MAINTAINER= demon@FreeBSD.org
COMMENT= Converts files between character sets and usages
USES= gettext iconv perl5
2010-12-04 07:34:27 +00:00
USE_AUTOTOOLS= libtool
USE_PERL5= patch run build
USE_LDCONFIG= yes
CONFIGURE_ARGS= --without-included-gettext
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
CFLAGS+= -fPIC
2003-08-13 07:23:29 +00:00
INFO= recode
2014-01-09 13:27:26 +00:00
post-extract:
@${CP} ${FILESDIR}/ru.po ${WRKSRC}/i18n
@${RM} -f ${WRKSRC}/doc/${PORTNAME}.info*
2003-08-13 07:23:29 +00:00
post-patch:
@${PERL} -pi -e '\
if (/Project-Id-Version/) { \
s/3\.[45](r|\.[0-9])?/3.6/; \
s/: (Free )?recode/: GNU recode/; \
} \
' ${WRKSRC}/i18n/*.po
.include <bsd.port.mk>