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

                           
                     
                 


                                                               
                                 

                                      




                                                                     
                             
                   
                   
                             
 
                                      
 

                    
           
                                                                    
 
                     
                                                                         
 
                      
# Created by: ijliao

PORTNAME=	libparsifal
PORTVERSION=	1.1.0
PORTREVISION=	2
CATEGORIES=	textproc
MASTER_SITES=	http://www.saunalahti.fi/~samiuus/toni/xmlproc/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Lightweight XML Parser

LICENSE=	PARSIFAL
LICENSE_NAME=	Parsifal license
LICENSE_FILE=	${WRKSRC}/COPYING
LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

USES=		iconv libtool
GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes
INSTALL_TARGET=	install-strip

PLIST_SUB=	VERSION=${PORTVERSION}

OPTIONS_DEFINE=	DOCS

post-patch:
	@${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|g' ${WRKSRC}/configure

post-install-DOCS-on:
	@(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})

.include <bsd.port.mk>