aboutsummaryrefslogtreecommitdiff
path: root/deskutils/osmo/Makefile
blob: f8db20f7f973aa8dda1f71d0cab27558ef17b26d (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
39
40
41
42
43
44
45
# New ports collection makefile for: osmo
# Date created:                      29 Sep 2009
# Whom:                              Charlie Kester <corky1951#comcast.net>
#
# $FreeBSD$
#

PORTNAME=	osmo
PORTVERSION=	0.2.8
PORTREVISION=	1
CATEGORIES=	deskutils
MASTER_SITES=	SF/${PORTNAME}-pim/${PORTNAME}-pim/${PORTNAME}-${PORTVERSION}/

MAINTAINER=	corky1951@comcast.net
COMMENT=	A personal organizer

LIB_DEPENDS=	xml2:${PORTSDIR}/textproc/libxml2 \
		notify:${PORTSDIR}/devel/libnotify \
		ical:${PORTSDIR}/devel/libical \
		tar:${PORTSDIR}/devel/libtar \
		gringotts:${PORTSDIR}/security/libgringotts

USE_GNOME=	gtk20
USE_GETTEXT=	yes
INSTALLS_ICONS=	yes

GNU_CONFIGURE=	yes
CONFIGURE_ENV+=	LDFLAGS="-L${LOCALBASE}/lib"

USE_GMAKE=	yes

MAN1=		osmo.1

POFILES=	ca cs de el es fi fr hu it ja lt nl pl pt \
		ru sv tr uk zh_CN

MSGFMT=		${LOCALBASE}/bin/msgfmt

pre-install:
# workaround to problem in po makefile
.for p in ${POFILES}
	${MSGFMT} -c ${WRKSRC}/po/$p.po -o ${WRKSRC}/po/$p.mo
.endfor

.include <bsd.port.mk>