From 8da0bbcce3737978a53ef6c30521c57b220ee947 Mon Sep 17 00:00:00 2001 From: ehaupt Date: Thu, 20 Mar 2014 07:15:53 +0000 Subject: - Support staging - Define DOCS option - Use WWW: with a single space - Define LICENSE and LICENSE_FILE - Convert USE_BZIP2=yes to USES=tar:bzip2 --- textproc/wbxml2/Makefile | 17 +++++++++-------- textproc/wbxml2/pkg-descr | 2 +- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/textproc/wbxml2/Makefile b/textproc/wbxml2/Makefile index 0ec1984fec3f..3713431d068e 100644 --- a/textproc/wbxml2/Makefile +++ b/textproc/wbxml2/Makefile @@ -10,30 +10,31 @@ DISTNAME= libwbxml-${PORTVERSION} MAINTAINER= flo@FreeBSD.org COMMENT= Library & tools for converting wbxml<->xml -LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2 +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} -USE_BZIP2= yes -USES= cmake iconv +USES= cmake iconv tar:bzip2 CMAKE_SOURCE_PATH= .. USE_LDCONFIG= yes DOCSDIR= ${PREFIX}/share/doc/libwbxml -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + post-extract: @${MKDIR} ${CONFIGURE_WRKSRC} post-install: -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in AUTHORS BUGS ChangeLog NEWS README References THANKS TODO - ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor -.endif .include diff --git a/textproc/wbxml2/pkg-descr b/textproc/wbxml2/pkg-descr index 6f5aa5b07673..e4e51f7e924f 100644 --- a/textproc/wbxml2/pkg-descr +++ b/textproc/wbxml2/pkg-descr @@ -5,4 +5,4 @@ The WBXML format is a binary representation of XML, defined by the Wap Forum, and used to reduce bandwidth in mobile communications. Author: Aymerick Jehanne -WWW: http://libwbxml.opensync.org/ +WWW: http://libwbxml.opensync.org/ -- cgit