svn commit: r355951 - head/www/mod_tsa
Olli Hauer
ohauer at FreeBSD.org
Sat May 31 10:22:23 UTC 2014
Author: ohauer
Date: Sat May 31 10:22:22 2014
New Revision: 355951
URL: http://svnweb.freebsd.org/changeset/ports/355951
QAT: https://qat.redports.org/buildarchive/r355951/
Log:
- add stage support
Modified:
head/www/mod_tsa/Makefile
Modified: head/www/mod_tsa/Makefile
==============================================================================
--- head/www/mod_tsa/Makefile Sat May 31 09:59:24 2014 (r355950)
+++ head/www/mod_tsa/Makefile Sat May 31 10:22:22 2014 (r355951)
@@ -33,7 +33,6 @@ AP_LIB= ${LOCALBASE}/lib
PORTEXAMPLES= *.sql tsa.conf
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MMYSQL}
@@ -66,11 +65,12 @@ CONFIGURE_ARGS+= --with-debug=yes
CONFIGURE_ARGS+= --with-debug-memory=yes
.endif
+post-patch:
+ ${REINPLACE_CMD} -e 's|-i -a|-i -S LIBEXECDIR=${STAGEDIR}${PREFIX}/${APACHEMODDIR}|' \
+ ${WRKSRC}/Makefile.in
post-install:
-.if ${PORT_OPTIONS:MEXAMPLES}
- ${MKDIR} ${EXAMPLESDIR}/
- ${INSTALL_DATA} ${WRKSRC}/*.sql ${EXAMPLESDIR}/
- ${INSTALL_DATA} ${WRKSRC}/tsa.conf ${EXAMPLESDIR}/
-.endif
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.sql ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/tsa.conf ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list