svn commit: r348663 - head/textproc/wbxml2
Emanuel Haupt
ehaupt at FreeBSD.org
Thu Mar 20 07:15:54 UTC 2014
Author: ehaupt
Date: Thu Mar 20 07:15:53 2014
New Revision: 348663
URL: http://svnweb.freebsd.org/changeset/ports/348663
QAT: https://qat.redports.org/buildarchive/r348663/
Log:
- Support staging
- Define DOCS option
- Use WWW: with a single space
- Define LICENSE and LICENSE_FILE
- Convert USE_BZIP2=yes to USES=tar:bzip2
Modified:
head/textproc/wbxml2/Makefile
head/textproc/wbxml2/pkg-descr
Modified: head/textproc/wbxml2/Makefile
==============================================================================
--- head/textproc/wbxml2/Makefile Thu Mar 20 03:41:04 2014 (r348662)
+++ head/textproc/wbxml2/Makefile Thu Mar 20 07:15:53 2014 (r348663)
@@ -10,30 +10,31 @@ DISTNAME= libwbxml-${PORTVERSION}
MAINTAINER= flo at 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>
Modified: head/textproc/wbxml2/pkg-descr
==============================================================================
--- head/textproc/wbxml2/pkg-descr Thu Mar 20 03:41:04 2014 (r348662)
+++ head/textproc/wbxml2/pkg-descr Thu Mar 20 07:15:53 2014 (r348663)
@@ -5,4 +5,4 @@ The WBXML format is a binary representat
and used to reduce bandwidth in mobile communications.
Author: Aymerick Jehanne <aymerick at jehanne.org>
-WWW: http://libwbxml.opensync.org/
+WWW: http://libwbxml.opensync.org/
More information about the svn-ports-head
mailing list