ac7c03ddea
* Add set attribute functions for various types to XML generation API * Modify xmlsd_generate to take two additional parameters for size of generated XML and a flag to determine whether an XML declaration is prepended * Change prototypes of all string parameters which aren't modified to const * Add new XML code generation APIs * Don't link against clens directly from library ok sthen@
37 lines
761 B
Makefile
37 lines
761 B
Makefile
# $OpenBSD: Makefile,v 1.6 2011/08/29 21:38:46 dhill Exp $
|
|
|
|
COMMENT= XML validation library
|
|
|
|
DISTNAME= xmlsd-0.5.0
|
|
PKGNAME= lib${DISTNAME}
|
|
CATEGORIES= textproc devel
|
|
SHARED_LIBS= xmlsd 1.0
|
|
|
|
HOMEPAGE= http://opensource.conformal.com/wiki/Xmlsd
|
|
MASTER_SITES= http://opensource.conformal.com/snapshots/xmlsd/
|
|
|
|
MAINTAINER= David Hill <dhill@openbsd.org>
|
|
|
|
WANTLIB= expat
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
# ISC
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
# See bsd.lib.mk:162
|
|
.if ${MACHINE_ARCH:Mmips64*}
|
|
PKG_ARGS+= -Dno_mips64=0
|
|
.else
|
|
PKG_ARGS+= -Dno_mips64=1
|
|
.endif
|
|
|
|
do-configure:
|
|
printf "major=${LIBxmlsd_VERSION:R}\nminor=${LIBxmlsd_VERSION:E}\n" \
|
|
> ${WRKSRC}/shlib_version
|
|
|
|
.include <bsd.port.mk>
|