aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/expat2/Makefile
blob: dd870b86b14c1a036053751cfa301cf4d1062dc9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Created by: Dirk Froemberg <dirk@FreeBSD.org>
# $FreeBSD$

PORTNAME=   expat
PORTVERSION=    2.1.0
CATEGORIES= textproc
MASTER_SITES=   SF

MAINTAINER= kuriyama@FreeBSD.org
COMMENT=    XML 1.0 parser written in C

GNU_CONFIGURE=  yes
ALL_TARGET= default
USES=       pathfix
USE_LDCONFIG=   yes
MAN1=       xmlwf.1

# Increment only when there are incompatible API changes.
SHLIB_MAJOR=    6

PLIST_SUB=  SHLIB_MAJOR="${SHLIB_MAJOR}"

NO_STAGE=   yes
post-patch:
    @${REINPLACE_CMD} \
        -e 's/@LIBCURRENT.*@/${SHLIB_MAJOR}/' \
        -e '/^DESTDIR =/d' ${WRKSRC}/Makefile.in

list-depend-ports:
    cd ${PORTSDIR}; \
    ${FIND} . -mindepth 3 -maxdepth 3 -name Makefile -execdir ${SH} -c \
        '${FIND} . -type f | ${GREP} -v CVS | ${XARGS} ${GREP} -q expat.5' \; \
        -print

.include <bsd.port.mk>