2013-03-26 12:56:14 +00:00
|
|
|
# Created by: torstenb@FreeBSD.org
|
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
|
2013-03-26 12:56:14 +00:00
|
|
|
PORTREVISION= 9
|
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
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= Converts files between character sets and usages
|
1995-07-17 01:04:44 +00:00
|
|
|
|
2013-07-31 06:54:09 +00:00
|
|
|
USES= gettext iconv perl5
|
2010-12-04 07:34:27 +00:00
|
|
|
USE_AUTOTOOLS= libtool
|
2013-07-31 06:54:09 +00:00
|
|
|
USE_PERL5= patch run build
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
USE_LDCONFIG= yes
|
2002-04-17 07:16:33 +00:00
|
|
|
CONFIGURE_ARGS= --without-included-gettext
|
2011-09-23 22:26:39 +00:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2013-09-24 22:53:40 +00:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
|
2004-02-08 22:51:27 +00:00
|
|
|
CFLAGS+= -fPIC
|
1999-12-29 08:13:15 +00:00
|
|
|
|
2003-08-13 07:23:29 +00:00
|
|
|
INFO= recode
|
1995-07-17 01:04:44 +00:00
|
|
|
|
2014-01-09 13:27:26 +00:00
|
|
|
post-extract:
|
2002-04-29 07:08:02 +00:00
|
|
|
@${CP} ${FILESDIR}/ru.po ${WRKSRC}/i18n
|
2001-09-09 09:17:09 +00:00
|
|
|
@${RM} -f ${WRKSRC}/doc/${PORTNAME}.info*
|
|
|
|
|
2003-08-13 07:23:29 +00:00
|
|
|
post-patch:
|
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
|
|
|
|
|
1995-07-17 01:04:44 +00:00
|
|
|
.include <bsd.port.mk>
|