497bd48afc
The C++-style comment marker "//" has been added with the rewrite of the preprocessor features. Since this character sequence occurs in ULRS, the reminder of the URL was considered a comment and stripped from the calendar line. Change parsing of "//" to only start a comment at the begin of a line or when preceded by a white-space character.
28 lines
622 B
Makefile
28 lines
622 B
Makefile
PORTNAME= calendar
|
|
DISTVERSION= 0.9.2
|
|
CATEGORIES= deskutils
|
|
|
|
MAINTAINER= se@FreeBSD.org
|
|
COMMENT= Port of the FreeBSD calendar program
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/share/calendar/calendar.all:deskutils/calendar-data
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= stesser
|
|
|
|
CFLAGS+= -D_PATH_LOCALBASE='\"${LOCALBASE}\"'
|
|
LDFLAGS+= -lm -lutil
|
|
|
|
PLIST_FILES= bin/calendar \
|
|
share/man/man1/calendar.1.gz
|
|
|
|
OPTIONS_DEFINE= NLS
|
|
NLS_CFLAGS= -DWITH_ICONV
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/calendar ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/calendar.1 ${STAGEDIR}${PREFIX}/share/man/man1
|
|
|
|
.include <bsd.port.mk>
|