Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 May 2014 10:22:22 +0000 (UTC)
From:      Olli Hauer <ohauer@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r355951 - head/www/mod_tsa
Message-ID:  <201405311022.s4VAMMju037135@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405311022.s4VAMMju037135>