aboutsummaryrefslogtreecommitdiffstats
path: root/misc/wmcalendar/Makefile
blob: 4b3c5e507c0fbe18b194e0430ce97e7c7e34c05d (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
# New ports collection makefile for:    wmcalendar
# Date created:             24 Apr 2003
# Whom:                 Alexey Dokuchaev <danfe@regency.nsu.ru>
#
# $FreeBSD$
#

PORTNAME=   wmcalendar
PORTVERSION=    0.5.0
PORTREVISION=   5
CATEGORIES= misc windowmaker
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    A dockable calendar with interface to iCalendar based calendars

LIB_DEPENDS=    ical.0:${PORTSDIR}/devel/libical

WRKSRC=     ${WRKDIR}/${DISTNAME}/Src

USE_X_PREFIX=   yes
USE_XPM=    yes
USE_GNOME=  gtk20
MAKE_ARGS=  CC="${CC}" \
        LFLAGS="`pkg-config --libs gtk+-2.0` -L${LOCALBASE}/lib" \
        CFLAGS="${CFLAGS}" \
        INCDIR="`pkg-config --cflags gtk+-2.0` -I${LOCALBASE}/include" \
        LIBDIR="" \
        LIBS="-lical -lXpm"

MAN1=       wmCalendar.1
PLIST_FILES=    bin/wmCalendar

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/wmCalendar ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/wmCalendar.1 ${MANPREFIX}/man/man1

.include <bsd.port.mk>