diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-03 19:21:37 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-03 19:21:37 +0000 |
commit | 0bb78c6c9d3855e92497417696475484322d451c (patch) | |
tree | c5e0c30c0b353fd2092305665ed106c2ef4ca346 /filesystems/fuse-gmailfs | |
parent | 9bd3464e7e916d97f1e733a71b79c48999897987 (diff) | |
download | pkgsrc-0bb78c6c9d3855e92497417696475484322d451c.tar.gz |
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'filesystems/fuse-gmailfs')
-rw-r--r-- | filesystems/fuse-gmailfs/Makefile | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/filesystems/fuse-gmailfs/Makefile b/filesystems/fuse-gmailfs/Makefile index 582b9a03e28..ee41c19666f 100644 --- a/filesystems/fuse-gmailfs/Makefile +++ b/filesystems/fuse-gmailfs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2007/05/04 22:55:10 agc Exp $ +# $NetBSD: Makefile,v 1.2 2008/03/03 19:31:31 jlam Exp $ # DISTNAME= gmailfs-0.7.2 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://richard.jones.name/google-hacks/gmail-filesystem/gmail-filesystem.html COMMENT= FUSE filesystem which uses Google mail for free space +PKG_DESTDIR_SUPPORT= user-destdir + NO_BUILD= yes PYTHON_VERSIONS_ACCEPTED= 24 PYTHON_PATCH_SCRIPTS= gmailfs.py mount.gmailfs @@ -27,11 +29,16 @@ SUBST_MESSAGE.config= Fixing paths. PLIST_SUBST+= PYSITELIB=${PYSITELIB:Q} +INSTALLATION_DIRS= sbin ${PYSITELIB} + do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/gmailfs.py ${PREFIX}/${PYSITELIB}/ - ${INSTALL_SCRIPT} ${WRKSRC}/mount.gmailfs ${PREFIX}/sbin/mount_gmailfs - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gmailfs - ${INSTALL_DATA} ${WRKSRC}/gmailfs.conf ${PREFIX}/share/examples/gmailfs/ + ${INSTALL_SCRIPT} ${WRKSRC}/gmailfs.py \ + ${DESTDIR}${PREFIX}/${PYSITELIB}/ + ${INSTALL_SCRIPT} ${WRKSRC}/mount.gmailfs \ + ${DESTDIR}${PREFIX}/sbin/mount_gmailfs + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/gmailfs + ${INSTALL_DATA} ${WRKSRC}/gmailfs.conf \ + ${DESTDIR}${PREFIX}/share/examples/gmailfs/ .include "../../filesystems/py-fuse-bindings/buildlink3.mk" |