freebsd-ports/converters/recode/Makefile
Jeremy Messenger 789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00

46 lines
948 B
Makefile

# New ports collection makefile for: recode
# Date created: 14 Jul 1995
# Whom: torstenb@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= recode
PORTVERSION= 3.6
PORTREVISION= 7
CATEGORIES= converters
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= recode
MAINTAINER= demon@FreeBSD.org
COMMENT= Converts files between character sets and usages
USE_GETTEXT= yes
USE_AUTOTOOLS= libtool:22
USE_PERL5= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS= --without-included-gettext
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CFLAGS+= -fPIC
MAN1= recode.1
INFO= recode
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:
@${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>