1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/misc/wmcalendar/Makefile
Muhammad Moinur Rahman c5d13e0da7 misc/wmcalendar: Sanitize MANPREFIX
Approved by:    portmgr (blanket)
2024-01-22 01:06:45 +01:00

36 lines
982 B
Makefile

PORTNAME= wmcalendar
PORTVERSION= 0.5.2
PORTREVISION= 20
CATEGORIES= misc windowmaker
MASTER_SITES= SF
MAINTAINER= xride@FreeBSD.org
COMMENT= Dockable calendar with interface to iCalendar based calendars
WWW= https://wmcalendar.sourceforge.net/
LIB_DEPENDS= libical.so:devel/libical
WRKSRC= ${WRKDIR}/${DISTNAME}/Src
USES= gnome pkgconfig xorg
USE_XORG= xpm
USE_GNOME= gtk20
MAKE_ARGS= CC="${CC}" \
LFLAGS="`pkg-config --libs gtk+-2.0` -L${LOCALBASE}/lib" \
CFLAGS="${CFLAGS} -fcommon" \
INCDIR="`pkg-config --cflags gtk+-2.0` -I${LOCALBASE}/include" \
LIBDIR="" \
LIBS="-lical -lX11 -lXext -lXpm -lm"
PLIST_FILES= bin/wmCalendar share/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}${PREFIX}/share/man/man1
.include <bsd.port.mk>