d20d655018
Move all the data files for the calendar(1) program, except calendar.freebsd to the calendar-data package. When a file can't be found, and /usr/local/share/calendar doesn't exist provide a helpful hint to install this package. Reviewed by: se@ Differential Revision: https://reviews.freebsd.org/D26926
23 lines
407 B
Makefile
23 lines
407 B
Makefile
# @(#)Makefile 8.1 (Berkeley) 6/6/93
|
|
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
PROG= calendar
|
|
SRCS= calendar.c locale.c events.c dates.c parsedata.c io.c day.c \
|
|
ostern.c paskha.c pom.c sunpos.c
|
|
LIBADD= m util
|
|
|
|
.if ${MK_ICONV} == "yes"
|
|
CFLAGS+= -DWITH_ICONV
|
|
.endif
|
|
|
|
FILESGROUPS+= CALS
|
|
CALS= calendars/calendar.freebsd
|
|
CALSDIR= ${SHAREDIR}/calendar
|
|
|
|
HAS_TESTS=
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
|
|
.include <bsd.prog.mk>
|