1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Support staging

- Define DOCS option
- Use WWW: with a single space
- Define LICENSE and LICENSE_FILE
- Convert USE_BZIP2=yes to USES=tar:bzip2
This commit is contained in:
Emanuel Haupt 2014-03-20 07:15:53 +00:00
parent 7921f3a483
commit a82a0364dc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=348663
2 changed files with 10 additions and 9 deletions

View File

@ -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>

View File

@ -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/