svn commit: r332529 - head/textproc/xmlstarlet
Hiroki Sato
hrs at FreeBSD.org
Sat Nov 2 18:08:13 UTC 2013
Author: hrs
Date: Sat Nov 2 18:08:12 2013
New Revision: 332529
URL: http://svnweb.freebsd.org/changeset/ports/332529
Log:
- Add STAGEDIR support.
- Use OPTIONS_DEFINE.
Modified:
head/textproc/xmlstarlet/Makefile
Modified: head/textproc/xmlstarlet/Makefile
==============================================================================
--- head/textproc/xmlstarlet/Makefile Sat Nov 2 18:07:46 2013 (r332528)
+++ head/textproc/xmlstarlet/Makefile Sat Nov 2 18:08:12 2013 (r332529)
@@ -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>
More information about the svn-ports-head
mailing list