aboutsummaryrefslogblamecommitdiff
path: root/textproc/expat2/Makefile
blob: 7881223c74e2f363e0cf9065eb9969e319e44dd8 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                               
           
 
                     
                     
                        
                  
 
                                    
                                           
 
                   
                       
                       
                   
                       
 
                                                         
                 


                                            




                                                        

                         

                                                                                       

                      
                      
# 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}"

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>