1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/textproc/libparsifal/Makefile

32 lines
667 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= libparsifal
PORTVERSION= 1.1.0
CATEGORIES= textproc
MASTER_SITES= http://www.saunalahti.fi/~samiuus/toni/xmlproc/
MAINTAINER= ports@FreeBSD.org
COMMENT= Lightweight XML Parser
USE_AUTOTOOLS= libtool
USES= iconv
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
PLIST_SUB= VERSION=${PORTVERSION}
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|g' ${WRKSRC}/configure
post-install:
.ifndef(NOPORTDOCS)
@${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
@(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${DOCSDIR})
.endif
.include <bsd.port.mk>