freebsd-ports/misc/wmcalendar/Makefile

42 lines
1,019 B
Makefile
Raw Normal View History

# Created by: Alexey Dokuchaev <danfe@regency.nsu.ru>
# $FreeBSD$
PORTNAME= wmcalendar
2007-01-17 07:37:42 +01:00
PORTVERSION= 0.5.2
PORTREVISION= 13
CATEGORIES= misc windowmaker
MASTER_SITES= SF
2007-01-17 07:37:42 +01:00
MAINTAINER= xride@FreeBSD.org
COMMENT= A dockable calendar with interface to iCalendar based calendars
LIB_DEPENDS= ical:${PORTSDIR}/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 -lXpm"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
MAN1= wmCalendar.1
2004-02-05 21:38:07 +01:00
PLIST_FILES= bin/wmCalendar
NO_STAGE= yes
2007-01-17 07:37:42 +01:00
post-patch:
${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' \
-e 's#/usr/X11R6#${LOCALBASE}#g' \
2007-01-17 07:37:42 +01:00
${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wmCalendar ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/wmCalendar.1 ${MANPREFIX}/man/man1
.include <bsd.port.mk>