1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/misc/ddate/Makefile

56 lines
1.1 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: ddate
# Date created: 26 January 2005
# Whom: Emanuel Haupt <ehaupt@critical.ch>
#
# $FreeBSD$
#
PORTNAME= ddate
2012-03-06 14:23:19 +00:00
PORTVERSION= 2.21
PORTEPOCH= 1
CATEGORIES= misc
2011-03-07 11:02:36 +00:00
MASTER_SITES= http://www.kernel.org/pub/linux/utils/util-linux/v${PORTVERSION}/ \
2008-03-27 19:27:34 +00:00
CRITICAL
DISTNAME= util-linux-${PORTVERSION}
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Command to print the date in Discordian date format
2011-12-27 15:14:23 +00:00
LICENSE= GPLv2
PLIST_FILES= bin/ddate
2009-03-27 09:53:36 +00:00
GNU_CONFIGURE= yes
USE_BZIP2= yes
2009-03-27 09:53:36 +00:00
MAKE_JOBS_SAFE= yes
MAN1= ddate.1
2012-03-07 10:29:11 +00:00
OPTIONS= USFORMAT "Use US time format" off \
PRAISEBOB "Use SubGenius slogans" off \
KILLBOB "Use countdown to X-Day" on
2012-03-07 10:29:11 +00:00
.include <bsd.port.pre.mk>
.if defined(WITH_USFORMAT)
CFLAGS+= -DUS_FORMAT=\"1\"
.endif
2012-03-07 10:29:11 +00:00
.if defined(WITH_PRAISEBOB)
CFLAGS+= -DPRAISE_BOB=\"13013\"
.endif
2012-03-07 10:29:11 +00:00
.if defined(WITH_KILLBOB)
CFLAGS+= -DKILL_BOB=\"13013\"
.endif
do-build:
2006-12-19 22:20:49 +00:00
${CC} ${WRKSRC}/misc-utils/ddate.c ${CFLAGS} \
-o ${WRKSRC}/misc-utils/${PORTNAME}
do-install:
2012-03-07 10:29:11 +00:00
${INSTALL_PROGRAM} ${WRKSRC}/misc-utils/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/misc-utils/ddate.1 ${MANPREFIX}/man/man1
2012-03-07 10:29:11 +00:00
.include <bsd.port.post.mk>