Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Mar 2014 12:24:23 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r347187 - head/databases/mysqlbackup
Message-ID:  <201403061224.s26CONID080136@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Thu Mar  6 12:24:22 2014
New Revision: 347187
URL: http://svnweb.freebsd.org/changeset/ports/347187
QAT: https://qat.redports.org/buildarchive/r347187/

Log:
  Support staging

Modified:
  head/databases/mysqlbackup/Makefile

Modified: head/databases/mysqlbackup/Makefile
==============================================================================
--- head/databases/mysqlbackup/Makefile	Thu Mar  6 12:22:07 2014	(r347186)
+++ head/databases/mysqlbackup/Makefile	Thu Mar  6 12:24:22 2014	(r347187)
@@ -20,25 +20,25 @@ PERIODICS=	200.mysqlbackup.daily \
 		200.mysqlbackup.weekly \
 		200.mysqlbackup.monthly
 
-MAN1=		mysqlbackup.1
 PLIST_FILES=	bin/mysqlbackup \
-		${PERIODICS:C,^(.*)\.(.*)$,\2/\1,:S,^,etc/periodic/,}
+		${PERIODICS:C,^(.*)\.(.*)$,\2/\1,:S,^,etc/periodic/,} \
+		man/man1/mysqlbackup.1.gz
 PLIST_DIRS=	${PERIODICS:C,^(.*)\.(.*)$,etc/periodic/\2,:u} \
 		etc/periodic
 
-NO_STAGE=	yes
 pre-install:
 	${REINPLACE_CMD} ${SUB_LIST:S,$,!g,:S,^, -e s!%%,:S,=,%%!,} \
 		${PERIODICS:S,^,${WRKSRC}/,}
 
 do-install:
 .for periodic in ${PERIODICS}
-	${MKDIR} ${PREFIX}/etc/periodic/${periodic:E}
+	${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/${periodic:E}
 	${INSTALL_SCRIPT} ${WRKSRC}/${periodic} \
-		${PREFIX}/etc/periodic/${periodic:E}/${periodic:R}
+		${STAGEDIR}${PREFIX}/etc/periodic/${periodic:E}/${periodic:R}
 .endfor
 	${INSTALL_MAN} ${WRKSRC}/mysqlbackup.1 \
-		${MAN1PREFIX}/man/man1/mysqlbackup.1
-	${INSTALL_SCRIPT} ${WRKSRC}/mysqlbackup ${PREFIX}/bin/mysqlbackup
+		${STAGEDIR}${MANPREFIX}/man/man1/mysqlbackup.1
+	${INSTALL_SCRIPT} ${WRKSRC}/mysqlbackup \
+		${STAGEDIR}${PREFIX}/bin/mysqlbackup
 
 .include <bsd.port.mk>



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