1995-07-17 01:04:44 +00:00
|
|
|
# New ports collection makefile for: recode
|
|
|
|
# Date created: 14 Jul 1995
|
1999-08-31 06:53:31 +00:00
|
|
|
# Whom: torstenb@FreeBSD.org
|
1995-07-17 01:04:44 +00:00
|
|
|
#
|
1999-08-25 05:28:01 +00:00
|
|
|
# $FreeBSD$
|
1995-07-17 01:04:44 +00:00
|
|
|
#
|
|
|
|
|
2000-04-08 23:24:42 +00:00
|
|
|
PORTNAME= recode
|
2001-09-09 09:17:09 +00:00
|
|
|
PORTVERSION= 3.6
|
2002-04-12 17:10:20 +00:00
|
|
|
PORTREVISION= 1
|
1997-04-26 23:55:25 +00:00
|
|
|
CATEGORIES= converters
|
1996-11-18 10:25:35 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
1999-01-27 07:41:29 +00:00
|
|
|
MASTER_SITE_SUBDIR= recode
|
1995-07-17 01:04:44 +00:00
|
|
|
|
2001-09-09 09:17:09 +00:00
|
|
|
MAINTAINER= demon@FreeBSD.org
|
1995-07-17 01:04:44 +00:00
|
|
|
|
2002-08-01 16:22:41 +00:00
|
|
|
LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext
|
2000-12-07 12:19:21 +00:00
|
|
|
|
1999-12-29 08:13:15 +00:00
|
|
|
USE_LIBTOOL= yes
|
2002-11-04 22:57:37 +00:00
|
|
|
USE_REINPLACE= yes
|
2002-11-05 00:53:43 +00:00
|
|
|
USE_PERL5= yes
|
2000-06-16 21:52:40 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
2002-04-17 07:16:33 +00:00
|
|
|
CONFIGURE_ARGS= --without-included-gettext
|
2002-04-12 17:10:20 +00:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2002-04-17 07:16:33 +00:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
1999-12-29 08:13:15 +00:00
|
|
|
|
|
|
|
MAN1= recode.1
|
1995-07-17 01:04:44 +00:00
|
|
|
|
2002-04-29 07:08:02 +00:00
|
|
|
post-extract: copy-po-files remove-info-files
|
|
|
|
|
|
|
|
copy-po-files:
|
|
|
|
@${CP} ${FILESDIR}/ru.po ${WRKSRC}/i18n
|
2001-09-09 09:17:09 +00:00
|
|
|
|
|
|
|
remove-info-files:
|
|
|
|
@${RM} -f ${WRKSRC}/doc/${PORTNAME}.info*
|
|
|
|
|
2002-04-17 07:16:33 +00:00
|
|
|
post-patch: patch-po-files patch-makeinfo
|
2001-09-09 09:17:09 +00:00
|
|
|
|
|
|
|
patch-po-files:
|
2002-11-05 00:53:43 +00:00
|
|
|
@${PERL} -pi -e '\
|
2001-09-09 09:17:09 +00:00
|
|
|
if (/Project-Id-Version/) { \
|
|
|
|
s/3\.[45](r|\.[0-9])?/3.6/; \
|
|
|
|
s/: (Free )?recode/: GNU recode/; \
|
|
|
|
} \
|
|
|
|
' ${WRKSRC}/i18n/*.po
|
|
|
|
|
|
|
|
patch-makeinfo:
|
2002-11-04 22:57:37 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|\@MAKEINFO\@|\@MAKEINFO\@ --no-split|g' \
|
2001-09-09 09:17:09 +00:00
|
|
|
${WRKSRC}/doc/Makefile.in
|
2000-12-07 12:19:21 +00:00
|
|
|
|
1995-07-17 01:04:44 +00:00
|
|
|
.include <bsd.port.mk>
|