1995-07-17 03:04:44 +02:00
|
|
|
# New ports collection makefile for: recode
|
|
|
|
# Date created: 14 Jul 1995
|
1999-08-31 08:53:31 +02:00
|
|
|
# Whom: torstenb@FreeBSD.org
|
1995-07-17 03:04:44 +02:00
|
|
|
#
|
1999-08-25 07:28:01 +02:00
|
|
|
# $FreeBSD$
|
1995-07-17 03:04:44 +02:00
|
|
|
#
|
|
|
|
|
2000-04-09 01:24:42 +02:00
|
|
|
PORTNAME= recode
|
2001-09-09 11:17:09 +02:00
|
|
|
PORTVERSION= 3.6
|
2004-02-04 05:36:30 +01:00
|
|
|
PORTREVISION= 4
|
1997-04-27 01:55:25 +02:00
|
|
|
CATEGORIES= converters
|
1996-11-18 11:25:35 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
1999-01-27 08:41:29 +01:00
|
|
|
MASTER_SITE_SUBDIR= recode
|
1995-07-17 03:04:44 +02:00
|
|
|
|
2001-09-09 11:17:09 +02:00
|
|
|
MAINTAINER= demon@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Converts files between character sets and usages
|
1995-07-17 03:04:44 +02:00
|
|
|
|
2004-02-04 05:36:30 +01:00
|
|
|
USE_GETTEXT= yes
|
2004-03-14 07:17:56 +01:00
|
|
|
USE_LIBTOOL_VER= 13
|
2002-11-05 01:53:43 +01:00
|
|
|
USE_PERL5= yes
|
2000-06-16 23:52:40 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2002-04-17 09:16:33 +02:00
|
|
|
CONFIGURE_ARGS= --without-included-gettext
|
2002-04-12 19:10:20 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2002-04-17 09:16:33 +02:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2004-02-08 23:51:27 +01:00
|
|
|
CFLAGS+= -fPIC
|
1999-12-29 09:13:15 +01:00
|
|
|
|
|
|
|
MAN1= recode.1
|
2003-08-13 09:23:29 +02:00
|
|
|
INFO= recode
|
1995-07-17 03:04:44 +02:00
|
|
|
|
2002-04-29 09:08:02 +02:00
|
|
|
post-extract: copy-po-files remove-info-files
|
|
|
|
|
|
|
|
copy-po-files:
|
|
|
|
@${CP} ${FILESDIR}/ru.po ${WRKSRC}/i18n
|
2001-09-09 11:17:09 +02:00
|
|
|
|
|
|
|
remove-info-files:
|
|
|
|
@${RM} -f ${WRKSRC}/doc/${PORTNAME}.info*
|
|
|
|
|
2003-08-13 09:23:29 +02:00
|
|
|
post-patch:
|
2002-11-05 01:53:43 +01:00
|
|
|
@${PERL} -pi -e '\
|
2001-09-09 11:17:09 +02:00
|
|
|
if (/Project-Id-Version/) { \
|
|
|
|
s/3\.[45](r|\.[0-9])?/3.6/; \
|
|
|
|
s/: (Free )?recode/: GNU recode/; \
|
|
|
|
} \
|
|
|
|
' ${WRKSRC}/i18n/*.po
|
|
|
|
|
1995-07-17 03:04:44 +02:00
|
|
|
.include <bsd.port.mk>
|