1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/misc/ddate/Makefile
2021-04-06 16:31:07 +02:00

40 lines
891 B
Makefile

# Created by: Emanuel Haupt <ehaupt@critical.ch>
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
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>