2006-10-28 07:19:20 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.28 2006/10/28 11:19:20 espie 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
|
2005-12-24 10:03:42 -05:00
|
|
|
PKGNAME= ${DISTNAME}p3
|
2006-10-28 07:19:20 -04:00
|
|
|
SHARED_LIBS += recode 0.0 # .0.0
|
2003-04-27 17:00:21 -04:00
|
|
|
|
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
|
|
|
|
2006-01-07 17:26:07 -05:00
|
|
|
# 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
|
2004-11-21 17:53:58 -05:00
|
|
|
WANTLIB= c
|
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
|
|
|
|
2005-12-24 10:03:42 -05:00
|
|
|
USE_LIBTOOL= Yes
|
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
|
|
|
|
2005-01-28 16:00:28 -05:00
|
|
|
REGRESS_DEPENDS= :python-2.3*:lang/python/2.3
|
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>
|