diff options
author | ohauer <ohauer@FreeBSD.org> | 2014-05-31 18:22:22 +0800 |
---|---|---|
committer | ohauer <ohauer@FreeBSD.org> | 2014-05-31 18:22:22 +0800 |
commit | 20c67b716178697f286f3ebb12f14adebd56bee8 (patch) | |
tree | b4542a0189bb5db814c9a7b85543fb8756354934 /www | |
parent | 7e4bf9888f733146d474dde0b7425abcba2569be (diff) | |
download | freebsd-ports-gnome-20c67b716178697f286f3ebb12f14adebd56bee8.tar.gz freebsd-ports-gnome-20c67b716178697f286f3ebb12f14adebd56bee8.tar.zst freebsd-ports-gnome-20c67b716178697f286f3ebb12f14adebd56bee8.zip |
- add stage support
Diffstat (limited to 'www')
-rw-r--r-- | www/mod_tsa/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/www/mod_tsa/Makefile b/www/mod_tsa/Makefile index 0c802974355e..6075efe78e62 100644 --- a/www/mod_tsa/Makefile +++ b/www/mod_tsa/Makefile @@ -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> |