blob: f1b599d87e54091460b5ce232ada26619360a8ae (
plain)
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
|
# Created by: Alexey Dokuchaev <danfe@regency.nsu.ru>
# $FreeBSD$
PORTNAME= wmcalendar
PORTVERSION= 0.5.2
PORTREVISION= 14
CATEGORIES= misc windowmaker
MASTER_SITES= SF
MAINTAINER= xride@FreeBSD.org
COMMENT= Dockable calendar with interface to iCalendar based calendars
LIB_DEPENDS= libical.so:devel/libical
WRKSRC= ${WRKDIR}/${DISTNAME}/Src
USES= pkgconfig
USE_XORG= xpm
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 -lX11 -lXext -lXpm -lm"
PLIST_FILES= bin/wmCalendar man/man1/wmCalendar.1.gz
post-patch:
${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' \
-e 's#/usr/X11R6#${LOCALBASE}#g' \
${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wmCalendar ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/wmCalendar.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>
|