32 lines
711 B
Makefile
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>
|