2007-09-15 18:36:51 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.5 2007/09/15 22:37:00 merdely Exp $
|
2007-02-07 22:23:35 -05:00
|
|
|
|
2007-09-15 18:36:51 -04:00
|
|
|
COMMENT= XML-RPC C/C++ client-server implementation
|
2007-02-07 22:23:35 -05:00
|
|
|
CATEGORIES= net devel textproc
|
|
|
|
|
|
|
|
DISTNAME= xmlrpc-epi-0.51
|
2007-04-28 05:18:51 -04:00
|
|
|
PKGNAME= ${DISTNAME}p1
|
2007-02-08 14:00:17 -05:00
|
|
|
SHARED_LIBS += xmlrpc-epi 0.3
|
2007-02-07 22:23:35 -05:00
|
|
|
|
|
|
|
HOMEPAGE= http://xmlrpc-epi.sourceforge.net/
|
|
|
|
|
|
|
|
WANTLIB += c expat
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xmlrpc-epi/}
|
|
|
|
|
|
|
|
# BSD
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
|
|
|
LIB_DEPENDS= iconv::devel/gettext
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu autoconf
|
|
|
|
USE_LIBTOOL= Yes
|
|
|
|
USE_GMAKE= Yes
|
2007-07-11 07:05:38 -04:00
|
|
|
USE_X11= Yes
|
2007-02-07 22:23:35 -05:00
|
|
|
|
2007-04-28 05:18:51 -04:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib -liconv"
|
2007-02-07 22:23:35 -05:00
|
|
|
|
2007-02-08 14:00:17 -05:00
|
|
|
CONFIGURE_ARGS+= --includedir=${LOCALBASE}/include/xmlrpc-epi
|
|
|
|
|
2007-02-07 22:23:35 -05:00
|
|
|
post-extract:
|
|
|
|
rm -rf ${WRKSRC}/expat
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|