aboutsummaryrefslogtreecommitdiff
path: root/misc/diary-hercules/Makefile
blob: 3e2d17504e526090491ed05716bdde76349c4551 (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
# New ports collection makefile for:	diary-hercules
# Date created:		2 May 2006
# Whom:			Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	hercules
PORTVERSION=	0.1.1
CATEGORIES=	misc
MASTER_SITES=	SF/${PORTNAME}/development%20branch/${PORTVERSION}
PKGNAMEPREFIX=	diary-
DISTNAME=	${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A personal workout diary program for bodybuilders

LICENSE=	GPLv2

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}sqlobject>=0.7:${PORTSDIR}/databases/py-sqlobject \
		${PYTHON_PKGNAMEPREFIX}sqlite3>=0:${PORTSDIR}/databases/py-sqlite3

USE_GETTEXT=	yes
USE_PYTHON=	2.5+
USE_PYDISTUTILS=	yes
USE_WX=		2.6+
WX_UNICODE=	yes
WX_COMPS=	python

post-patch:
	@${REINPLACE_CMD} -e 's#%%PREFIX%%#${PREFIX}#g' \
		${WRKSRC}/Hercules/globals.py
post-install:
	@${CHMOD} +r ${PREFIX}/share/${PORTNAME}/xrc/*.xrc

.include <bsd.port.mk>