freebsd-ports/textproc/libparsifal/Makefile
Dmitry Marakasov 3174b06d91 - Switch to libtool, drop .la file
- Strip library
- Simplify and optionize docs installation
2014-05-31 00:58:42 +00:00

30 lines
627 B
Makefile

# 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
USES= iconv libtool
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
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:
@(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>