aboutsummaryrefslogtreecommitdiff
path: root/sysutils/flyback/Makefile
blob: 0c8716481d5566c1e6429318da08170c9e7f70c8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# New ports collection makefile for:	flyback
# Date created:		2008-01-20
# Whom:			Lars Engels <lme@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	flyback
PORTVERSION=	0.4.0
PORTREVISION=	2
CATEGORIES=	sysutils
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
DISTNAME=	${PORTNAME}_${PORTVERSION}

MAINTAINER=	lme@FreeBSD.org
COMMENT=	A backup frontend like Apple's Time Machine

RUN_DEPENDS=	rsync:${PORTSDIR}/net/rsync \
		${PYTHON_SITELIBDIR}/pysqlite2/__init__.py:${PORTSDIR}/databases/py-pysqlite23

NO_BUILD=	yes
WRKSRC=		${WRKDIR}/${PORTNAME}

USE_PYTHON=	yes
USE_GNOME=	pygtk2 pygnome2 libglade2

.include <bsd.port.pre.mk>

SUB_FILES=	flyback.sh

do-install:
	@${MKDIR} ${DATADIR}
	${INSTALL_SCRIPT} ${WRKSRC}/*.py ${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/GPL.txt ${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/viewer.glade ${DATADIR}
	${INSTALL_SCRIPT} ${WRKDIR}/flyback.sh ${PREFIX}/bin/flyback

.include <bsd.port.post.mk>