- Install documents in doc directory when !NOPORTDOCS.

- Take maintainership.
This commit is contained in:
Hiroki Sato
2008-11-16 14:04:45 +00:00
parent f292361a28
commit 5378d3a0c2

View File

@@ -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>