2012-08-06 10:10:48 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.34 2012/08/06 14:10:48 naddy Exp $
|
2001-05-05 19:11:14 -04:00
|
|
|
|
2007-09-15 21:40:27 -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
|
2012-08-06 10:10:48 -04:00
|
|
|
REVISION = 7
|
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
|
|
|
|
2012-08-06 10:10:48 -04:00
|
|
|
HOMEPAGE= http://recode.progiciels-bpi.ca
|
1998-04-29 01:09:43 -04:00
|
|
|
|
2009-04-25 14:02:58 -04:00
|
|
|
MODULES= devel/gettext \
|
|
|
|
lang/python
|
2002-07-13 19:59:12 -04:00
|
|
|
|
2009-04-25 14:02:58 -04:00
|
|
|
# (L)GPLv2
|
2000-03-07 18:49:40 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2009-04-25 14:02:58 -04:00
|
|
|
|
2012-08-06 10:10:48 -04:00
|
|
|
WANTLIB= c
|
2000-02-12 03:02:07 -05:00
|
|
|
|
2012-08-06 10:10:48 -04:00
|
|
|
# moved to https://github.com/pinard/Recode/
|
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
|
2009-04-25 14:02:58 -04:00
|
|
|
MODPY_RUNDEP= No
|
|
|
|
|
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
|
|
|
|
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} \
|
2009-04-25 14:02:58 -04:00
|
|
|
PYTHON=${MODPY_BUILD} bigtest
|
2001-10-07 10:19:54 -04:00
|
|
|
|
1998-04-29 01:09:43 -04:00
|
|
|
.include <bsd.port.mk>
|