2011-06-08 17:31:05 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.33 2011/06/08 17:32:05 jasper Exp $
|
2001-05-05 23:11:14 +00:00
|
|
|
|
2007-09-16 01:40:27 +00:00
|
|
|
COMMENT= convert files between character sets and usages
|
1998-04-29 05:09:43 +00:00
|
|
|
|
2001-08-02 19:00:56 +00:00
|
|
|
DISTNAME= recode-3.6
|
2011-06-08 17:31:05 +00:00
|
|
|
REVISION = 6
|
2006-10-28 11:19:20 +00:00
|
|
|
SHARED_LIBS += recode 0.0 # .0.0
|
2003-04-27 21:00:21 +00:00
|
|
|
|
2000-03-07 23:49:40 +00:00
|
|
|
CATEGORIES= converters textproc
|
2002-07-13 23:59:12 +00:00
|
|
|
|
|
|
|
HOMEPAGE= http://www.gnu.org/software/recode/
|
1998-04-29 05:09:43 +00:00
|
|
|
|
2009-04-25 18:02:58 +00:00
|
|
|
MODULES= devel/gettext \
|
|
|
|
lang/python
|
2002-07-13 23:59:12 +00:00
|
|
|
|
2009-04-25 18:02:58 +00:00
|
|
|
# (L)GPLv2
|
2000-03-07 23:49:40 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2009-04-25 18:02:58 +00:00
|
|
|
|
2004-11-21 22:53:58 +00:00
|
|
|
WANTLIB= c
|
2000-02-12 08:02:07 +00:00
|
|
|
|
2002-05-13 18:50:36 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=recode/}
|
1998-10-08 04:05:12 +00:00
|
|
|
|
2005-12-24 15:03:42 +00:00
|
|
|
USE_LIBTOOL= Yes
|
2010-10-18 17:06:05 +00:00
|
|
|
USE_GROFF = Yes
|
2009-04-25 18:02:58 +00:00
|
|
|
MODPY_RUNDEP= No
|
|
|
|
|
2001-10-25 18:59:10 +00:00
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS= --without-included-gettext
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
1998-04-29 05:09:43 +00:00
|
|
|
|
2003-04-27 21:00:21 +00:00
|
|
|
post-extract:
|
|
|
|
@cd ${WRKSRC}/lib && cp -p error.c ../src
|
|
|
|
|
2001-10-07 14:19:54 +00:00
|
|
|
post-regress:
|
2001-10-25 18:59:10 +00:00
|
|
|
@cd ${WRKBUILD}/tests && ${MAKE} \
|
2009-04-25 18:02:58 +00:00
|
|
|
PYTHON=${MODPY_BUILD} bigtest
|
2001-10-07 14:19:54 +00:00
|
|
|
|
1998-04-29 05:09:43 +00:00
|
|
|
.include <bsd.port.mk>
|