freebsd-ports/textproc/libparsifal/Makefile
2021-04-06 16:31:07 +02:00

32 lines
711 B
Makefile

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