blob: 8a92839d59b6d00b4826a64f9ca13b0d9984ac70 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
PORTNAME= ddate
DISTVERSIONPREFIX= v
DISTVERSION= 0.2.2-6
DISTVERSIONSUFFIX= -g899ca66
PORTEPOCH= 3
CATEGORIES= misc
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Command to print the date in Discordian date format
WWW= https://github.com/bo0ts/ddate/
LICENSE= GPLv2
USE_GITHUB= yes
GH_ACCOUNT= bo0ts
OPTIONS_DEFINE= USFORMAT PRAISEBOB KILLBOB
USFORMAT_DESC= US time format
PRAISEBOB_DESC= SubGenius slogans
KILLBOB_DESC= Countdown to X-Day
OPTIONS_DEFAULT=KILLBOB
USFORMAT_CFLAGS= -DUS_FORMAT=\"1\"
PRAISEBOB_CFLAGS= -DPRAISE_BOB=\"13013\"
KILLBOB_CFLAGS= -DKILL_BOB=\"13013\"
PLIST_FILES= bin/ddate man/man1/ddate.1.gz
do-build:
${CC} ${CFLAGS} ${WRKSRC}/${PORTNAME}.c -o ${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
.include <bsd.port.mk>
|