Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2014 08:54:34 +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: r346151 - head/sysutils/ssync
Message-ID:  <201402260854.s1Q8sYvA009925@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Wed Feb 26 08:54:34 2014
New Revision: 346151
URL: http://svnweb.freebsd.org/changeset/ports/346151
QAT: https://qat.redports.org/buildarchive/r346151/

Log:
  Support staging

Modified:
  head/sysutils/ssync/Makefile
  head/sysutils/ssync/pkg-plist

Modified: head/sysutils/ssync/Makefile
==============================================================================
--- head/sysutils/ssync/Makefile	Wed Feb 26 08:51:59 2014	(r346150)
+++ head/sysutils/ssync/Makefile	Wed Feb 26 08:54:34 2014	(r346151)
@@ -10,13 +10,11 @@ MASTER_SITES=	http://linuxfocus.org/~gui
 MAINTAINER=	samm@os2.kiev.ua
 COMMENT=	A minimalistic tool for keeping filesystems in synchronization
 
+USES=		gmake
+
 ALL_TARGET=	default
-USE_GMAKE=	yes
 MAKEFILE=	makefile
 
-MAN1=		ssync.1
-
-NO_STAGE=	yes
 post-patch:
 	@${REINPLACE_CMD} -e 's@/etc/init.d/ssyncd@\$$0@g' ${WRKSRC}/ssyncd.init
 	@${REINPLACE_CMD} -e "s@/etc@${PREFIX}/etc@g;s@/usr/sbin@${PREFIX}/sbin@g;" \
@@ -26,14 +24,15 @@ post-patch:
 		-e 's@$$(LD)@$$(CC)@' ${WRKSRC}/makefile
 
 do-install:
-	@${INSTALL_PROGRAM} ${WRKSRC}/ssync ${PREFIX}/bin/ssync
-	@${INSTALL_PROGRAM} ${WRKSRC}/ssyncd ${PREFIX}/sbin/ssyncd
-	@${INSTALL_DATA} ${WRKSRC}/ssyncd.conf ${PREFIX}/etc/ssyncd.conf.sample
-	@${INSTALL_DATA} ${WRKSRC}/ssyncd.work ${PREFIX}/etc/ssyncd.work.sample
-	@${INSTALL_SCRIPT} ${WRKSRC}/ssyncd.init ${PREFIX}/etc/rc.d/ssyncd.init
-	@${INSTALL_MAN} ${WRKSRC}/ssync.man ${MAN1PREFIX}/man/man1/ssync.1
-
-post-install:
-	@${CAT} ${PKGMESSAGE}
+	${INSTALL_PROGRAM} ${WRKSRC}/ssync ${STAGEDIR}${PREFIX}/bin/ssync
+	${INSTALL_PROGRAM} ${WRKSRC}/ssyncd ${STAGEDIR}${PREFIX}/sbin/ssyncd
+	${INSTALL_DATA} ${WRKSRC}/ssyncd.conf \
+		${STAGEDIR}${PREFIX}/etc/ssyncd.conf.sample
+	${INSTALL_DATA} ${WRKSRC}/ssyncd.work \
+		${STAGEDIR}${PREFIX}/etc/ssyncd.work.sample
+	${INSTALL_SCRIPT} ${WRKSRC}/ssyncd.init \
+		${STAGEDIR}${PREFIX}/etc/rc.d/ssyncd.init
+	${INSTALL_MAN} ${WRKSRC}/ssync.man \
+		${STAGEDIR}${MANPREFIX}/man/man1/ssync.1
 
 .include <bsd.port.mk>

Modified: head/sysutils/ssync/pkg-plist
==============================================================================
--- head/sysutils/ssync/pkg-plist	Wed Feb 26 08:51:59 2014	(r346150)
+++ head/sysutils/ssync/pkg-plist	Wed Feb 26 08:54:34 2014	(r346151)
@@ -3,3 +3,4 @@ sbin/ssyncd
 etc/ssyncd.conf.sample
 etc/ssyncd.work.sample
 etc/rc.d/ssyncd.init
+man/man1/ssync.1.gz



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