summaryrefslogtreecommitdiff
path: root/net/ssync/Makefile
diff options
context:
space:
mode:
authorkim <kim@pkgsrc.org>2013-03-14 16:36:48 +0000
committerkim <kim@pkgsrc.org>2013-03-14 16:36:48 +0000
commit3caa4495ccb6c198ef3cb9ee4bdcb9f66b1fe852 (patch)
tree583552e398f28fb3df7a0a434e07de7b5313dd70 /net/ssync/Makefile
parent5e98e8f3a0cd728ee64bf5cfccc81a26fac86f6f (diff)
downloadpkgsrc-3caa4495ccb6c198ef3cb9ee4bdcb9f66b1fe852.tar.gz
Revive MASTER_SITES.
Update net/ssync to 1.9.1: - Add configuration file (ssync.conf). - Change the default netgroup to dist-os-rel-arch and add options to not use the release (-c) and/or architecture (-g).
Diffstat (limited to 'net/ssync/Makefile')
-rw-r--r--net/ssync/Makefile20
1 files changed, 14 insertions, 6 deletions
diff --git a/net/ssync/Makefile b/net/ssync/Makefile
index 9bc16af8132..b7c47306e80 100644
--- a/net/ssync/Makefile
+++ b/net/ssync/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.12 2012/10/23 17:19:10 asau Exp $
+# $NetBSD: Makefile,v 1.13 2013/03/14 16:36:48 kim Exp $
#
-DISTNAME= ssync-1.6
+DISTNAME= ssync-1.9.1
CATEGORIES= net
-MASTER_SITES= # ftp://ftp.gw.com/pub/people/kim/
+MASTER_SITES= http://oss.gw.com/people/kim/
MAINTAINER= kim@tac.nyc.ny.us
COMMENT= Invoke rsync to distribute files to a set of hosts
@@ -17,9 +17,17 @@ DEPENDS+= srsh-[0-9]*:../../net/srsh
SSYNC_PAWD?= pwd
+BUILD_DEFS+= SSYNC_PAWD
+
+EGDIR= share/examples/${PKGBASE}
+
+CONF_FILES= ${PREFIX}/${EGDIR}/${PKGBASE}.conf \
+ ${PKG_SYSCONFDIR}/${PKGBASE}.conf
+
+INSTALLATION_DIRS= sbin ${PKGMANDIR}/man8 ${EGDIR}
NO_CONFIGURE= yes
-BUILD_TARGET= all PREFIX=${PREFIX} PAWD=${SSYNC_PAWD}
-INSTALL_TARGET= install PREFIX=${DESTDIR}${PREFIX}
-INSTALLATION_DIRS= sbin ${PKGMANDIR}/man8
+BUILD_MAKE_FLAGS+= PAWD=${SSYNC_PAWD}
+INSTALL_MAKE_FLAGS+= EGDIR=${EGDIR}
+MAKE_FLAGS+= PREFIX=${PREFIX}
.include "../../mk/bsd.pkg.mk"