diff options
author | hrs <hrs@FreeBSD.org> | 2008-11-16 22:04:45 +0800 |
---|---|---|
committer | hrs <hrs@FreeBSD.org> | 2008-11-16 22:04:45 +0800 |
commit | c9392c32043c1793ba28e0c3d8f3a7a0d56cfdc0 (patch) | |
tree | e479992641df51f5f207a6c07dca9f93ffd5aedc /textproc/xmlstarlet | |
parent | 931b26194a981386e1963256311093093cdbd5aa (diff) | |
download | freebsd-ports-gnome-c9392c32043c1793ba28e0c3d8f3a7a0d56cfdc0.tar.gz freebsd-ports-gnome-c9392c32043c1793ba28e0c3d8f3a7a0d56cfdc0.tar.zst freebsd-ports-gnome-c9392c32043c1793ba28e0c3d8f3a7a0d56cfdc0.zip |
- Install documents in doc directory when !NOPORTDOCS.
- Take maintainership.
Diffstat (limited to 'textproc/xmlstarlet')
-rw-r--r-- | textproc/xmlstarlet/Makefile | 14 |
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> |