2004-08-10 04:12:09 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.23 2004/08/10 08:12:09 xsa Exp $
|
2001-05-05 19:11:14 -04:00
|
|
|
|
|
|
|
COMMENT= "convert files between character sets and usages"
|
1998-04-29 01:09:43 -04:00
|
|
|
|
2001-08-02 15:00:56 -04:00
|
|
|
DISTNAME= recode-3.6
|
2003-04-27 17:00:21 -04:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
|
|
|
|
2000-03-07 18:49:40 -05:00
|
|
|
CATEGORIES= converters textproc
|
2002-07-13 19:59:12 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.gnu.org/software/recode/
|
1998-04-29 01:09:43 -04:00
|
|
|
|
2004-08-10 04:12:09 -04:00
|
|
|
MODULES= devel/gettext
|
2002-07-13 19:59:12 -04:00
|
|
|
|
2001-06-19 21:43:11 -04:00
|
|
|
# License: GPL
|
2000-03-07 18:49:40 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2002-05-13 14:50:36 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=recode/}
|
1998-10-08 00:05:12 -04:00
|
|
|
|
2001-10-25 14:59:10 -04:00
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS= --without-included-gettext
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
1998-04-29 01:09:43 -04:00
|
|
|
|
2001-10-25 14:59:10 -04:00
|
|
|
PATCH_LIST= ${PORTSDIR}/infrastructure/patches/patch-lt1.3.4-ltconfig \
|
|
|
|
${PORTSDIR}/infrastructure/patches/patch-lt1.3.4-ltmain_sh \
|
|
|
|
patch-*
|
|
|
|
|
|
|
|
REGRESS_DEPENDS= :python-*:lang/python
|
2001-10-07 10:19:54 -04:00
|
|
|
|
2003-04-27 17:00:21 -04:00
|
|
|
post-extract:
|
|
|
|
@cd ${WRKSRC}/lib && cp -p error.c ../src
|
|
|
|
|
2001-10-07 10:19:54 -04:00
|
|
|
post-regress:
|
2001-10-25 14:59:10 -04:00
|
|
|
@cd ${WRKBUILD}/tests && ${MAKE} \
|
|
|
|
PYTHON=${LOCALBASE}/bin/python bigtest
|
2001-10-07 10:19:54 -04:00
|
|
|
|
1998-04-29 01:09:43 -04:00
|
|
|
.include <bsd.port.mk>
|