aboutsummaryrefslogtreecommitdiff
path: root/textproc/xmlstarlet
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/xmlstarlet')
-rw-r--r--textproc/xmlstarlet/Makefile14
1 files changed, 13 insertions, 1 deletions
diff --git a/textproc/xmlstarlet/Makefile b/textproc/xmlstarlet/Makefile
index cea7cf412cd0..6baaeef85db4 100644
--- a/textproc/xmlstarlet/Makefile
+++ b/textproc/xmlstarlet/Makefile
@@ -8,11 +8,12 @@
PORTNAME= xmlstarlet
PORTVERSION= 1.0.1
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR= xmlstar
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= hrs@FreeBSD.org
COMMENT= Command Line XML Toolkit
USE_GNOME= libxslt
@@ -24,9 +25,20 @@ CONFIGURE_ARGS= --with-libxml-prefix=${LOCALBASE} \
MAN1= xmlstarlet.1
PLIST_FILES= bin/xml
+PORTDOCS= xmlstarlet.txt xmlstarlet.pdf xmlstarlet.ps \
+ xmlstarlet-man.html xmlstarlet-man.xml \
+ xmlstarlet-ug.html xmlstarlet-ug.pdf \
+ xmlstarlet-ug.ps xmlstarlet-ug.xml \
+ html.css
post-patch:
@${REINPLACE_CMD} -e "s|%%PTHREAD%%|${PTHREAD_LIBS}|g" \
${WRKSRC}/configure
+.if !defined(NOPORTDOCS)
+post-install:
+ ${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+.endif
+
.include <bsd.port.mk>