aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-11-29 15:00:03 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-11-29 15:00:03 +0800
commit12326010aa7cee9b963ce1ff6ac1e35401d04641 (patch)
tree08e61ce0fb975f55cd08f4543f75a109ae74b9a5 /textproc
parent6bc009df4ac2a9fca2ec5c2e285cdd26973323e5 (diff)
downloadfreebsd-ports-gnome-12326010aa7cee9b963ce1ff6ac1e35401d04641.tar.gz
freebsd-ports-gnome-12326010aa7cee9b963ce1ff6ac1e35401d04641.tar.zst
freebsd-ports-gnome-12326010aa7cee9b963ce1ff6ac1e35401d04641.zip
- Add LICENSE
- Sort *_DEPENDS - Use CONFLICTS_INSTALL instead of CONFLICTS - Use USE_GNOME=libxslt - Sort USES - Reformat pkg-descr - Take maintainership
Diffstat (limited to 'textproc')
-rw-r--r--textproc/docbook2X/Makefile31
-rw-r--r--textproc/docbook2X/pkg-descr8
2 files changed, 20 insertions, 19 deletions
diff --git a/textproc/docbook2X/Makefile b/textproc/docbook2X/Makefile
index ffe512b1e909..e03a05e0d2e9 100644
--- a/textproc/docbook2X/Makefile
+++ b/textproc/docbook2X/Makefile
@@ -7,31 +7,34 @@ PORTREVISION= 3
CATEGORIES= textproc
MASTER_SITES= SF
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Convert DocBook documents into UNIX man page and GNU Texinfo formats
-BUILD_DEPENDS= p5-XML-NamespaceSupport>=0:${PORTSDIR}/textproc/p5-XML-NamespaceSupport \
- p5-XML-SAX>=0:${PORTSDIR}/textproc/p5-XML-SAX \
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+BUILD_DEPENDS= OpenSP>=0:${PORTSDIR}/textproc/opensp \
+ dsssl-docbook-modular>=0:${PORTSDIR}/textproc/dsssl-docbook-modular \
+ p5-XML-NamespaceSupport>=0:${PORTSDIR}/textproc/p5-XML-NamespaceSupport \
p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser \
+ p5-XML-SAX>=0:${PORTSDIR}/textproc/p5-XML-SAX \
p5-XML-SAX-Expat>=0:${PORTSDIR}/textproc/p5-XML-SAX-Expat \
- libxslt>=0:${PORTSDIR}/textproc/libxslt \
- sdocbook-xml>=0:${PORTSDIR}/textproc/sdocbook-xml \
- dsssl-docbook-modular>=0:${PORTSDIR}/textproc/dsssl-docbook-modular \
- OpenSP>=0:${PORTSDIR}/textproc/opensp
+ sdocbook-xml>=0:${PORTSDIR}/textproc/sdocbook-xml
RUN_DEPENDS:= ${BUILD_DEPENDS}
-CONFLICTS= docbook-utils-*
-
-GNU_CONFIGURE= yes
-USES= iconv gmake perl5
-CONFIGURE_ENV= PERL=${PERL}
+CONFLICTS_INSTALL= docbook-utils-*
OPTIONS_DEFINE= DOCS
+CONFIGURE_ENV= PERL=${PERL}
+GNU_CONFIGURE= yes
+USE_GNOME= libxslt
+USES= gmake iconv perl5
+WANT_GNOME= yes
+
INFO= docbook2X docbook2man-xslt docbook2texi-xslt
post-patch:
- @${REINPLACE_CMD} "s|\$${prefix}|${PREFIX}|" \
- ${WRKSRC}/configure
+ @${REINPLACE_CMD} 's|$${prefix}|${PREFIX}|' ${WRKSRC}/configure
.include <bsd.port.mk>
diff --git a/textproc/docbook2X/pkg-descr b/textproc/docbook2X/pkg-descr
index ac262acf1152..2746d805627b 100644
--- a/textproc/docbook2X/pkg-descr
+++ b/textproc/docbook2X/pkg-descr
@@ -1,8 +1,6 @@
-docbook2X converts DocBook documents into man pages and Texinfo
-documents.
+docbook2X converts DocBook documents into man pages and Texinfo documents.
-It aims to support DocBook version 4.2, excepting the features that
-cannot be supported or are not useful in a man page or Texinfo
-document.
+It aims to support DocBook version 4.2, excepting the features that cannot be
+supported or are not useful in a man page or Texinfo document.
WWW: http://docbook2x.sourceforge.net/