diff options
author | manu <manu@pkgsrc.org> | 2011-06-06 15:53:13 +0000 |
---|---|---|
committer | manu <manu@pkgsrc.org> | 2011-06-06 15:53:13 +0000 |
commit | 013ac4b3d8300582f7263c871e3a35e68491c5ed (patch) | |
tree | 6e0aea38a28eb1feaa3d903dbbe3306218d2319c /filesystems/glusterfs/Makefile | |
parent | 0d0c96edf72ea122fc950fcf04803538b7858d0f (diff) | |
download | pkgsrc-013ac4b3d8300582f7263c871e3a35e68491c5ed.tar.gz |
Support the glusterd daemon (volume management tool).
Diffstat (limited to 'filesystems/glusterfs/Makefile')
-rw-r--r-- | filesystems/glusterfs/Makefile | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/filesystems/glusterfs/Makefile b/filesystems/glusterfs/Makefile index a915679be3e..7e1f70ce6c9 100644 --- a/filesystems/glusterfs/Makefile +++ b/filesystems/glusterfs/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.9 2011/05/19 14:54:22 manu Exp $ +# $NetBSD: Makefile,v 1.10 2011/06/06 15:53:13 manu Exp $ # DISTNAME= glusterfs-3.2.0 +PKGREVISION= 2 CATEGORIES= filesystems MASTER_SITES= http://download.gluster.com/pub/gluster/glusterfs/3.2/LATEST/ @@ -55,17 +56,25 @@ SUBST_FILES.etc+= doc/glusterfsd.8 SUBST_FILES.etc+= doc/glusterfsd.vol.sample SUBST_SED.etc= -e "s,/etc/gluster,${PREFIX}/etc/gluster,g" +SUBST_CLASSES+= vol +SUBST_STAGE.vol= post-build +SUBST_FILES.vol= doc/Makefile +SUBST_SED.vol= -e "s/glusterd.vol/glusterd.vol.sample/g" + REPLACE_PYTHON+= ${WRKSRC}/extras/volgen/glusterfs-volgen EGDIR= ${PREFIX}/etc/glusterfs CONF_FILES+= ${EGDIR}/glusterfs.vol.sample ${EGDIR}/glusterfs.vol CONF_FILES+= ${EGDIR}/glusterfsd.vol.sample ${EGDIR}/glusterfsd.vol -CONF_FILES+= ${EGDIR}/glusterd.vol ${EGDIR}/glusterd.vol +CONF_FILES+= ${EGDIR}/glusterd.vol.sample ${EGDIR}/glusterd.vol OWN_DIRS+= ${VARBASE}/log/glusterfs BUILD_DEFS+= VARBASE RCD_SCRIPTS= glusterfsd glusterd +post-build: + cp ${WRKSRC}/doc/glusterd.vol ${WRKSRC}/doc/glusterd.vol.sample + post-install: ${INSTALL_SCRIPT} ${DESTDIR}/sbin/mount.glusterfs \ ${DESTDIR}/${PREFIX}/sbin/ |