aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-26 16:54:34 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-26 16:54:34 +0800
commit5a692dd6fe8c75479ebcec24a8548a4d023f884f (patch)
tree429a552e9cb52fab642a71cbc5ae758ff6b31bff /sysutils
parent71148df2f047db1baf9337524c1f074ccadb32d0 (diff)
downloadfreebsd-ports-gnome-5a692dd6fe8c75479ebcec24a8548a4d023f884f.tar.gz
freebsd-ports-gnome-5a692dd6fe8c75479ebcec24a8548a4d023f884f.tar.zst
freebsd-ports-gnome-5a692dd6fe8c75479ebcec24a8548a4d023f884f.zip
Support staging
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/ssync/Makefile25
-rw-r--r--sysutils/ssync/pkg-plist1
2 files changed, 13 insertions, 13 deletions
diff --git a/sysutils/ssync/Makefile b/sysutils/ssync/Makefile
index b5ba5fef3260..8bb3c5e8e425 100644
--- a/sysutils/ssync/Makefile
+++ b/sysutils/ssync/Makefile
@@ -10,13 +10,11 @@ MASTER_SITES= http://linuxfocus.org/~guido/
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>
diff --git a/sysutils/ssync/pkg-plist b/sysutils/ssync/pkg-plist
index bd85462a0d2e..6d9b5fe1f70e 100644
--- a/sysutils/ssync/pkg-plist
+++ b/sysutils/ssync/pkg-plist
@@ -3,3 +3,4 @@ sbin/ssyncd
etc/ssyncd.conf.sample
etc/ssyncd.work.sample
etc/rc.d/ssyncd.init
+man/man1/ssync.1.gz