aboutsummaryrefslogblamecommitdiff
path: root/deskutils/osmo/Makefile
blob: 0b886a6b9999e97ca6295f06626ac6f86c1e7b64 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                                           
                      
                 









                                                                              

                                                             





                     

                                                                   




                      
                                                                       



                                       



                                                              






                                                             
# New ports collection makefile for: osmo
# Date created:                      29 Sep 2009
# Whom:                              Charlie Kester <corky1951#comcast.net>
#
# $FreeBSD$
#

PORTNAME=	osmo
PORTVERSION=	0.2.10
PORTREVISION=	2
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 \
		gtkhtml:${PORTSDIR}/www/libgtkhtml

USE_GNOME=	gtk20
USE_GETTEXT=	yes
INSTALLS_ICONS=	yes

GNU_CONFIGURE=	yes
CONFIGURE_ENV+=	CFLAGS="${CFLAGS} -I${LOCALBASE}/include/libical" \
		LDFLAGS="-L${LOCALBASE}/lib"

USE_GMAKE=	yes

MAN1=		osmo.1

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

MSGFMT=		${LOCALBASE}/bin/msgfmt

post-patch:
	@${REINPLACE_CMD} -e 's|-DGTK_DISABLE_DEPRECATED||g' \
		${WRKSRC}/src/Makefile.in

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>