aboutsummaryrefslogtreecommitdiff
path: root/textproc/xmlstarlet/Makefile
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2013-11-02 18:08:12 +0000
committerHiroki Sato <hrs@FreeBSD.org>2013-11-02 18:08:12 +0000
commita0f0c7d4c5b3760f8c518bcc3a822bfa1dd76d41 (patch)
tree7ea4d999e3e893c4be6c5d2ea0770cf7899b179c /textproc/xmlstarlet/Makefile
parent826d91412111d080c37e5e6461335d16cb246fed (diff)
Notes
Diffstat (limited to 'textproc/xmlstarlet/Makefile')
-rw-r--r--textproc/xmlstarlet/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/textproc/xmlstarlet/Makefile b/textproc/xmlstarlet/Makefile
index 1ddc1f50b31d..b2778e13e788 100644
--- a/textproc/xmlstarlet/Makefile
+++ b/textproc/xmlstarlet/Makefile
@@ -15,24 +15,24 @@ LICENSE_FILE= ${WRKSRC}/COPYING
USE_GNOME= libxslt
USES= iconv
GNU_CONFIGURE= yes
-NO_STAGE= yes
CONFIGURE_ARGS= --with-libxml-prefix=${LOCALBASE} \
--with-libxslt-prefix=${LOCALBASE} \
${ICONV_CONFIGURE_ARG} \
--disable-static-libs
-
-MAN1= xmlstarlet.1
-PLIST_FILES= bin/xml
+PLIST_FILES= bin/xml man/man1/xmlstarlet.1.gz
PORTDOCS= xmlstarlet.txt \
xmlstarlet-man.xml \
xmlstarlet-ug.html xmlstarlet-ug.pdf \
xmlstarlet-ug.ps xmlstarlet-ug.xml \
html.css
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
post-install:
- ${MKDIR} ${DOCSDIR}
- cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC}/doc && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>