openbsd-ports/textproc/expat/Makefile

38 lines
956 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.28 2006/03/20 10:11:02 bernd Exp $
# $FreeBSD: Makefile,v 1.2 1999/08/31 02:09:14 peter Exp $
1999-11-08 09:02:25 -05:00
COMMENT= "XML 1.0 parser written in C"
DISTNAME= expat-2.0.0
SHARED_LIBS= expat 6.0
1999-11-08 09:02:25 -05:00
CATEGORIES= textproc
2002-05-14 08:07:09 -04:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=expat/}
HOMEPAGE= http://expat.sourceforge.net/
# BSD
2000-03-24 10:59:34 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2004-12-06 19:23:20 -05:00
WANTLIB= c
2000-03-24 10:59:34 -05:00
USE_LIBTOOL= Yes
SEPARATE_BUILD= simple
2002-08-04 21:14:29 -04:00
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
2004-08-04 12:12:14 -04:00
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/conftools
DOC=${PREFIX}/share/doc/expat
EXAMPLES=${PREFIX}/share/examples/expat
post-install:
${INSTALL_DATA_DIR} ${DOC} ${EXAMPLES}
${INSTALL_DATA} ${WRKDIST}/doc/{reference.html,style.css,valid-xhtml10.png} ${DOC}
${INSTALL_DATA} ${WRKDIST}/examples/{elements.c,outline.c} ${EXAMPLES}
pre-regress:
@cp ${WRKSRC}/lib/expat*.h ${WRKSRC}/tests
1999-11-08 09:02:25 -05:00
.include <bsd.port.mk>