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

52 lines
1.0 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: recode
# Date created: 14 Jul 1995
# Whom: torstenb@FreeBSD.org
#
1999-08-25 05:28:01 +00:00
# $FreeBSD$
#
PORTNAME= recode
PORTVERSION= 3.6
PORTREVISION= 1
CATEGORIES= converters
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= recode
MAINTAINER= demon@FreeBSD.org
LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext
2000-12-07 12:19:21 +00:00
USE_LIBTOOL= yes
USE_REINPLACE= yes
USE_PERL5= yes
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --without-included-gettext
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
MAN1= recode.1
post-extract: copy-po-files remove-info-files
copy-po-files:
@${CP} ${FILESDIR}/ru.po ${WRKSRC}/i18n
remove-info-files:
@${RM} -f ${WRKSRC}/doc/${PORTNAME}.info*
post-patch: patch-po-files patch-makeinfo
patch-po-files:
@${PERL} -pi -e '\
if (/Project-Id-Version/) { \
s/3\.[45](r|\.[0-9])?/3.6/; \
s/: (Free )?recode/: GNU recode/; \
} \
' ${WRKSRC}/i18n/*.po
patch-makeinfo:
@${REINPLACE_CMD} -e 's|\@MAKEINFO\@|\@MAKEINFO\@ --no-split|g' \
${WRKSRC}/doc/Makefile.in
2000-12-07 12:19:21 +00:00
.include <bsd.port.mk>