mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
168f57451a
COMMENT typos and surrounding whitespace fixes. A few Makefiles where not included as they contain Latin-1 characters that break the Phabricator workflow. Category M. CR: D306 Approved by: portmgr (bapt)
40 lines
1.0 KiB
Makefile
40 lines
1.0 KiB
Makefile
# 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:${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
|
|
|
|
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>
|