1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/textproc/wbxml2/Makefile
Emanuel Haupt a82a0364dc - Support staging
- Define DOCS option
- Use WWW: with a single space
- Define LICENSE and LICENSE_FILE
- Convert USE_BZIP2=yes to USES=tar:bzip2
2014-03-20 07:15:53 +00:00

41 lines
965 B
Makefile

# Created by: Clemens Zauner <czauner+ports@onlineloop.com>
# $FreeBSD$
PORTNAME= wbxml2
PORTVERSION= 0.10.9
CATEGORIES= textproc devel
MASTER_SITES= SF/libwbxml/libwbxml/${PORTVERSION}
DISTNAME= libwbxml-${PORTVERSION}
MAINTAINER= flo@FreeBSD.org
COMMENT= Library & tools for converting wbxml<->xml
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2
WRKSRC= ${WRKDIR}/libwbxml-${PORTVERSION}
CONFIGURE_WRKSRC= ${WRKDIR}/libwbxml-${PORTVERSION}/build
BUILD_WRKSRC= ${CONFIGURE_WRKSRC}
INSTALL_WRKSRC= ${CONFIGURE_WRKSRC}
USES= cmake iconv tar:bzip2
CMAKE_SOURCE_PATH= ..
USE_LDCONFIG= yes
DOCSDIR= ${PREFIX}/share/doc/libwbxml
OPTIONS_DEFINE= DOCS
post-extract:
@${MKDIR} ${CONFIGURE_WRKSRC}
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in AUTHORS BUGS ChangeLog NEWS README References THANKS TODO
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>