Date: Sat, 2 Nov 2013 18:08:12 +0000 (UTC) From: Hiroki Sato <hrs@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332529 - head/textproc/xmlstarlet Message-ID: <201311021808.rA2I8D2i083761@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311021808.rA2I8D2i083761>