aboutsummaryrefslogtreecommitdiff
path: root/textproc/xmlstarlet
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2008-11-16 14:04:45 +0000
committerHiroki Sato <hrs@FreeBSD.org>2008-11-16 14:04:45 +0000
commit5378d3a0c2cdf8de6d52df5f4bb4436fb0df31a1 (patch)
tree5a61d2d850b78be807428822b8c92f22f1972595 /textproc/xmlstarlet
parentf292361a281f4bfefb9797b5ed40229f79e116c2 (diff)
downloadports-5378d3a0c2cdf8de6d52df5f4bb4436fb0df31a1.tar.gz
ports-5378d3a0c2cdf8de6d52df5f4bb4436fb0df31a1.zip
Notes
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>