2015-03-16 18:07:34 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.39 2015/03/16 18:07:38 naddy 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
|
2015-03-16 18:07:34 +00:00
|
|
|
REVISION = 9
|
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
|
|
|
|
2012-08-06 14:10:48 +00:00
|
|
|
HOMEPAGE= http://recode.progiciels-bpi.ca
|
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
|
2009-04-25 18:02:58 +00:00
|
|
|
|
2012-08-06 14:10:48 +00:00
|
|
|
WANTLIB= c
|
2000-02-12 08:02:07 +00:00
|
|
|
|
2012-08-06 14:10:48 +00:00
|
|
|
# moved to https://github.com/pinard/Recode/
|
2002-05-13 18:50:36 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=recode/}
|
1998-10-08 04:05:12 +00:00
|
|
|
|
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
|
|
|
|
|
2013-03-11 01:30:26 +00:00
|
|
|
post-test:
|
2014-09-27 21:46:32 +00:00
|
|
|
@cd ${WRKBUILD}/tests && ${MAKE_PROGRAM} PYTHON=${MODPY_BIN} bigtest
|
2001-10-07 14:19:54 +00:00
|
|
|
|
1998-04-29 05:09:43 +00:00
|
|
|
.include <bsd.port.mk>
|