openbsd-ports/textproc/expat/Makefile
2002-05-14 12:07:09 +00:00

36 lines
947 B
Makefile

# $OpenBSD: Makefile,v 1.16 2002/05/14 12:07:09 naddy Exp $
# $FreeBSD: Makefile,v 1.2 1999/08/31 02:09:14 peter Exp $
COMMENT= "XML 1.0 parser written in C"
DISTNAME= expat-1.95.2
CATEGORIES= textproc
NEED_VERSION= 1.500
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=expat/}
HOMEPAGE= http://expat.sourceforge.net/
MAINTAINER= Brad Smith <brad@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= gnu dest
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/conftools
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static
post-patch:
@cd ${WRKSRC}/conftools; \
${PATCH} --forward --quiet -E < \
${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltconfig && \
${PATCH} --forward --quiet -E < \
${PORTSDIR}/infrastructure/patches/patch-lt1.3.5-ltmain_sh
post-install:
${INSTALL_PROGRAM} ${WRKBUILD}/xmlwf/xmlwf ${PREFIX}/bin
.include <bsd.port.mk>