Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Oct 2013 09:13:08 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r329980 - head/textproc/xqilla
Message-ID:  <201310100913.r9A9D8if003742@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310100913.r9A9D8if003742>