add time/ddate
ddate prints the date in Discordian date format. It can be used to convert Gregorian calendar dates to Discordian calendar dates.
This commit is contained in:
parent
af59666d93
commit
1d68d3eab6
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.223 2021/09/08 14:57:41 mef Exp $
|
||||
# $NetBSD: Makefile,v 1.224 2021/12/14 10:34:07 nia Exp $
|
||||
#
|
||||
|
||||
COMMENT= Clocks, calendars, daily planners and other time related applications
|
||||
|
@ -18,6 +18,7 @@ SUBDIR+= cardboard-schedule
|
|||
SUBDIR+= catclock
|
||||
SUBDIR+= dateutils
|
||||
SUBDIR+= dclock
|
||||
SUBDIR+= ddate
|
||||
SUBDIR+= deforaos-todo
|
||||
SUBDIR+= devtodo
|
||||
SUBDIR+= emiclock
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
ddate prints the date in Discordian date format. It can be used to
|
||||
convert Gregorian calendar dates to Discordian calendar dates.
|
|
@ -0,0 +1,25 @@
|
|||
# $NetBSD: Makefile,v 1.1 2021/12/14 10:34:07 nia Exp $
|
||||
|
||||
DISTNAME= ddate-0.2.2
|
||||
CATEGORIES= time
|
||||
MASTER_SITES= ${MASTER_SITE_GITHUB:=bo0ts/}
|
||||
GITHUB_TAG= v${PKGVERSION_NOREV}
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= https://github.com/bo0ts/ddate
|
||||
COMMENT= Discordian calendar date(1) command
|
||||
LICENSE= public-domain
|
||||
|
||||
INSTALLATION_DIRS+= bin
|
||||
INSTALLATION_DIRS+= ${PKGMANDIR}/man1
|
||||
|
||||
pre-configure:
|
||||
${CP} ${FILESDIR}/Makefile ${WRKSRC}/Makefile
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/ddate \
|
||||
${DESTDIR}${PREFIX}/bin/ddate
|
||||
${INSTALL_MAN} ${WRKSRC}/ddate.1 \
|
||||
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/ddate.1
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
|
@ -0,0 +1,3 @@
|
|||
@comment $NetBSD: PLIST,v 1.1 2021/12/14 10:34:07 nia Exp $
|
||||
bin/ddate
|
||||
man/man1/ddate.1
|
|
@ -0,0 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.1 2021/12/14 10:34:07 nia Exp $
|
||||
|
||||
BLAKE2s (ddate-0.2.2.tar.gz) = aadca773dc4eedf6581f7935e951557af2c7c86a265af7f04ccf257a36abb0a1
|
||||
SHA512 (ddate-0.2.2.tar.gz) = 5d148e030bee392eb93c5ae519061af0736f2f75eaae916e3efaf927d9f4de8cc72afc4a5121b6fbc0264b73e9f580330a38b97bb78837d447d0b4c1fc29ec06
|
||||
Size (ddate-0.2.2.tar.gz) = 8049 bytes
|
|
@ -0,0 +1,12 @@
|
|||
# $NetBSD: Makefile,v 1.1 2021/12/14 10:34:07 nia Exp $
|
||||
# The provided CMake file doesn't handle man page installation the
|
||||
# proper way, and it's simple enough that we might as well rewrite it
|
||||
# and avoid the CMake dependency entirely.
|
||||
|
||||
all: ddate
|
||||
|
||||
ddate: ddate.o
|
||||
$(CC) $(LDFLAGS) -o ddate ddate.o
|
||||
|
||||
ddate.o: ddate.c
|
||||
$(CC) $(CFLAGS) -c ddate.c
|
Loading…
Reference in New Issue