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

                           
                     
                 


                                                               
                                 

                                      




                                                                     
                             
                   
                   
                             
 
                                      
 

                    
           
                                                                    
 
                     
                                                                         
 
                      
# Created by: ijliao
# $FreeBSD$

PORTNAME=	libparsifal
PORTVERSION=	1.1.0
PORTREVISION=	1
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>