svn commit: r329980 - head/textproc/xqilla

Pietro Cerutti gahr at FreeBSD.org
Thu Oct 10 09:13:08 UTC 2013


Author: gahr
Date: Thu Oct 10 09:13:07 2013
New Revision: 329980
URL: http://svnweb.freebsd.org/changeset/ports/329980

Log:
  - Remove indefinite article from COMMENT
  - Add LICENSE (AL2)
  - Add DOCS OPTION
  - Convert to USES+=gmake
  - Convert to new LIB_DEPENDS format
  - STAGE-clean
  - Bump PORTREVISION

Modified:
  head/textproc/xqilla/Makefile

Modified: head/textproc/xqilla/Makefile
==============================================================================
--- head/textproc/xqilla/Makefile	Thu Oct 10 08:59:13 2013	(r329979)
+++ head/textproc/xqilla/Makefile	Thu Oct 10 09:13:07 2013	(r329980)
@@ -3,21 +3,38 @@
 
 PORTNAME=	xqilla
 PORTVERSION=	2.3.0
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	textproc
 MASTER_SITES=	SF
 DISTNAME=	XQilla-${PORTVERSION}
 
 MAINTAINER=	gahr at FreeBSD.org
-COMMENT=	An XQuery and XPath2 library
+COMMENT=	XQuery and XPath2 library
 
-LIB_DEPENDS=	xerces-c.3:${PORTSDIR}/textproc/xerces-c3
+OPTIONS_DEFINE=	DOCS
 
-USE_GMAKE=	yes
-USES=		perl5
+LICENSE=	AL2
+
+LIB_DEPENDS=	libxerces-c.so.3:${PORTSDIR}/textproc/xerces-c3
+
+USES=		gmake
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include
+PORTDOCS=	*
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
+BUILD_DEPENDS+=	doxygen:${PORTSDIR}/devel/doxygen
+
+post-build:
+	cd ${WRKSRC} && ${GMAKE} docs
+
+post-install:
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC}/docs && ${COPYTREE_SHARE} \*-api ${STAGEDIR}${DOCSDIR}
+.endif
 
-NO_STAGE=	yes
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list