diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2014-03-20 15:15:53 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2014-03-20 15:15:53 +0800 |
commit | 8da0bbcce3737978a53ef6c30521c57b220ee947 (patch) | |
tree | 6163985df85d1eca45699fd971f93300f4bad4ff /textproc/wbxml2 | |
parent | 418405fd8b7e2ff5933020961b6e6610d5b5e134 (diff) | |
download | freebsd-ports-gnome-8da0bbcce3737978a53ef6c30521c57b220ee947.tar.gz freebsd-ports-gnome-8da0bbcce3737978a53ef6c30521c57b220ee947.tar.zst freebsd-ports-gnome-8da0bbcce3737978a53ef6c30521c57b220ee947.zip |
- Support staging
- Define DOCS option
- Use WWW: with a single space
- Define LICENSE and LICENSE_FILE
- Convert USE_BZIP2=yes to USES=tar:bzip2
Diffstat (limited to 'textproc/wbxml2')
-rw-r--r-- | textproc/wbxml2/Makefile | 17 | ||||
-rw-r--r-- | 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 <bsd.port.mk> 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 <aymerick@jehanne.org> -WWW: http://libwbxml.opensync.org/ +WWW: http://libwbxml.opensync.org/ |