1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-07 02:06:57 +00:00
freebsd-ports/misc/wmcalendar/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

44 lines
1.0 KiB
Makefile

# New ports collection makefile for: wmcalendar
# Date created: 24 Apr 2003
# Whom: Alexey Dokuchaev <danfe@regency.nsu.ru>
#
# $FreeBSD$
#
PORTNAME= wmcalendar
PORTVERSION= 0.5.2
PORTREVISION= 11
CATEGORIES= misc windowmaker
MASTER_SITES= SF
MAINTAINER= xride@FreeBSD.org
COMMENT= A dockable calendar with interface to iCalendar based calendars
LIB_DEPENDS= ical.44:${PORTSDIR}/devel/libical
WRKSRC= ${WRKDIR}/${DISTNAME}/Src
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
PLIST_FILES= bin/wmCalendar
post-patch:
${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' \
-e 's#/usr/X11R6#${LOCALBASE}#g' \
${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wmCalendar ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/wmCalendar.1 ${MANPREFIX}/man/man1
.include <bsd.port.mk>