svn commit: r356564 - head/www/sqstat
Martin Wilke
miwi at FreeBSD.org
Thu Jun 5 01:18:24 UTC 2014
Author: miwi
Date: Thu Jun 5 01:18:24 2014
New Revision: 356564
URL: http://svnweb.freebsd.org/changeset/ports/356564
QAT: https://qat.redports.org/buildarchive/r356564/
Log:
- Stage support
PR: 19063
Modified:
head/www/sqstat/Makefile
Modified: head/www/sqstat/Makefile
==============================================================================
--- head/www/sqstat/Makefile Thu Jun 5 01:13:23 2014 (r356563)
+++ head/www/sqstat/Makefile Thu Jun 5 01:18:24 2014 (r356564)
@@ -15,6 +15,10 @@ USE_PHP= pcre session
NO_BUILD= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
SQSTATDIR?= share/${PORTNAME}
SUB_FILES= pkg-message
@@ -28,20 +32,14 @@ PLIST_FILES= ${SQSTATDIR}/arrow.gif ${SQ
${SQSTATDIR}/config.inc.php.defaults
PORTDOCS= CHANGES FAQ LICENSE README TODO
-NO_STAGE= yes
do-install:
- @${MKDIR} ${PREFIX}/${SQSTATDIR}; \
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${SQSTATDIR}; \
for f in ${PLIST_FILES}; do \
- ${INSTALL_DATA} ${WRKSRC}/$${f##*/} ${PREFIX}/${SQSTATDIR}; \
+ ${INSTALL_DATA} ${WRKSRC}/$${f##*/} ${STAGEDIR}${PREFIX}/${SQSTATDIR}; \
done
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}; \
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}; \
for f in ${PORTDOCS}; do \
- ${INSTALL_DATA} ${WRKSRC}/docs/$$f ${DOCSDIR}; \
+ ${INSTALL_DATA} ${WRKSRC}/docs/$$f ${STAGEDIR}${DOCSDIR}; \
done
-.endif
-
-post-install:
- @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list