Update games/scummvm to version 1.7.0
[dports.git] / textproc / expat2 / Makefile
1 # Created by: Dirk Froemberg <dirk@FreeBSD.org>
2 # $FreeBSD$
3
4 PORTNAME=       expat
5 PORTVERSION=    2.1.0
6 PORTREVISION=   1
7 CATEGORIES=     textproc
8 MASTER_SITES=   SF
9
10 MAINTAINER=     kuriyama@FreeBSD.org
11 COMMENT=        XML 1.0 parser written in C
12
13 GNU_CONFIGURE=  yes
14 ALL_TARGET=     default
15 USES=           pathfix libtool:keepla
16 USE_LDCONFIG=   yes
17
18 # Increment only when there are incompatible API changes.
19 SHLIB_MAJOR=    6
20
21 PLIST_SUB=      SHLIB_MAJOR="${SHLIB_MAJOR}"
22
23 post-patch:
24         @${REINPLACE_CMD} \
25                 -e 's/@LIBCURRENT.*@/${SHLIB_MAJOR}/' \
26                 -e '/^DESTDIR =/d' ${WRKSRC}/Makefile.in
27
28 list-depend-ports:
29         cd ${PORTSDIR}; \
30         ${FIND} . -mindepth 3 -maxdepth 3 -name Makefile -execdir ${SH} -c \
31                 '${FIND} . -type f | ${GREP} -v CVS | ${XARGS} ${GREP} -q expat.5' \; \
32                 -print
33
34 .include <bsd.port.mk>