freebsd-ports/textproc/expat2/Makefile
Dmitry Marakasov 309f4d24a3 - Switch to USES=libtool
Approved by:	portmgr blanket
2014-06-20 10:45:45 +00:00

34 lines
759 B
Makefile

# Created by: Dirk Froemberg <dirk@FreeBSD.org>
# $FreeBSD$
PORTNAME= expat
PORTVERSION= 2.1.0
PORTREVISION= 1
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 libtool:keepla
USE_LDCONFIG= yes
# Increment only when there are incompatible API changes.
SHLIB_MAJOR= 6
PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
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>