pkgsrc/filesystems/fuse-gmailfs/Makefile
joerg a77e7015fe Update PYTHON_VERSIONS_COMPATIBLE
- assume that Python 2.4 and 2.5 are compatible and allow checking for
fallout.
- remove PYTHON_VERSIONS_COMPATIBLE that are obsoleted by the 2.3+
default. Modify the others to deal with the removals.
2008-04-25 20:39:06 +00:00

47 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.3 2008/04/25 20:39:09 joerg Exp $
#
DISTNAME= gmailfs-0.7.2
PKGNAME= fuse-${DISTNAME}
CATEGORIES= filesystems
MASTER_SITES= http://richard.jones.name/google-hacks/gmail-filesystem/
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= 25 24
PYTHON_PATCH_SCRIPTS= gmailfs.py mount.gmailfs
CONF_FILES= ${PREFIX}/share/examples/gmailfs/gmailfs.conf \
${PKG_SYSCONFDIR}/gmailfs.conf
SUBST_CLASSES+= config
SUBST_STAGE.config= post-patch
SUBST_FILES.config= gmailfs.py mount.gmailfs
SUBST_SED.config= -e "s|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g"
SUBST_SED.config+= -e "s|@PREFIX@|${PREFIX}|g"
SUBST_SED.config+= -e "s|@PYSITELIB@|${PREFIX}/${PYSITELIB}|g"
SUBST_MESSAGE.config= Fixing paths.
PLIST_SUBST+= PYSITELIB=${PYSITELIB:Q}
INSTALLATION_DIRS= sbin ${PYSITELIB}
do-install:
${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"
.include "../../lang/python/application.mk"
.include "../../mk/fuse.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"