aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/libparsifal/Makefile
blob: 9d3c940ea919f1946286c47dfb089fa1a55aac57 (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
36
# ex:ts=8
# Ports collection makefile for:    libparsifal
# Date created:         Jan 6, 2004
# Whom:             ijliao
#
# $FreeBSD$
#

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

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

USE_REINPLACE=  yes
USE_LIBTOOL_VER=    15
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
INSTALLS_SHLIB= yes

PLIST_SUB=  VERSION=${PORTVERSION}

post-patch:
    @${REINPLACE_CMD} -e 's| -O3||g' ${WRKSRC}/src/Makefile.in

post-install:
.ifndef(NOPORTDOCS)
    @${ECHO_MSG} "===>   Installing documentation for ${PKGNAME}"
.for D in "" csrchtml pics
    @${MKDIR} ${DOCSDIR}/${D}
    ${INSTALL_DATA} ${WRKSRC}/doc/${D}/*.* ${DOCSDIR}/${D}
.endfor
.endif

.include <bsd.port.mk>