2013-09-12 10:41:52 +02:00
|
|
|
# Created by: Alexey Dokuchaev <danfe@regency.nsu.ru>
|
2003-04-24 14:04:15 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= wmcalendar
|
2007-01-17 07:37:42 +01:00
|
|
|
PORTVERSION= 0.5.2
|
2012-12-30 06:14:01 +01:00
|
|
|
PORTREVISION= 13
|
2003-04-24 14:04:15 +02:00
|
|
|
CATEGORIES= misc windowmaker
|
2009-08-22 02:28:34 +02:00
|
|
|
MASTER_SITES= SF
|
2003-04-24 14:04:15 +02:00
|
|
|
|
2007-01-17 07:37:42 +01:00
|
|
|
MAINTAINER= xride@FreeBSD.org
|
2003-04-24 14:04:15 +02:00
|
|
|
COMMENT= A dockable calendar with interface to iCalendar based calendars
|
|
|
|
|
2012-12-30 06:14:01 +01:00
|
|
|
LIB_DEPENDS= ical:${PORTSDIR}/devel/libical
|
2003-04-24 14:04:15 +02:00
|
|
|
|
2003-07-28 07:50:16 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/Src
|
2003-04-24 14:04:15 +02:00
|
|
|
|
2013-09-12 10:41:52 +02:00
|
|
|
USES= pkgconfig
|
2008-04-20 19:49:34 +02:00
|
|
|
USE_XORG= xpm
|
2003-07-28 07:50:16 +02:00
|
|
|
USE_GNOME= gtk20
|
2005-05-03 11:02:17 +02:00
|
|
|
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="" \
|
2003-07-28 07:50:16 +02:00
|
|
|
LIBS="-lical -lXpm"
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2003-04-24 14:04:15 +02:00
|
|
|
|
|
|
|
MAN1= wmCalendar.1
|
2004-02-05 21:38:07 +01:00
|
|
|
PLIST_FILES= bin/wmCalendar
|
2003-04-24 14:04:15 +02:00
|
|
|
|
2013-09-20 22:50:57 +02:00
|
|
|
NO_STAGE= yes
|
2007-01-17 07:37:42 +01:00
|
|
|
post-patch:
|
|
|
|
${REINPLACE_CMD} -e 's#/usr/local#${LOCALBASE}#g' \
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
-e 's#/usr/X11R6#${LOCALBASE}#g' \
|
2007-01-17 07:37:42 +01:00
|
|
|
${WRKSRC}/Makefile
|
2003-04-24 14:04:15 +02:00
|
|
|
do-install:
|
2003-07-28 07:50:16 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/wmCalendar ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/wmCalendar.1 ${MANPREFIX}/man/man1
|
2003-04-24 14:04:15 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|