Date: Sun, 9 Sep 2012 00:06:58 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r303942 - head/misc/ddate Message-ID: <201209090006.q8906wXa074657@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Sun Sep 9 00:06:57 2012 New Revision: 303942 URL: http://svn.freebsd.org/changeset/ports/303942 Log: - Use OPTIONSng - Remove deprecated header information Modified: head/misc/ddate/Makefile Modified: head/misc/ddate/Makefile ============================================================================== --- head/misc/ddate/Makefile Sun Sep 9 00:01:29 2012 (r303941) +++ head/misc/ddate/Makefile Sun Sep 9 00:06:57 2012 (r303942) @@ -1,9 +1,4 @@ -# New ports collection makefile for: ddate -# Date created: 26 January 2005 -# Whom: Emanuel Haupt <ehaupt@critical.ch> -# # $FreeBSD$ -# PORTNAME= ddate PORTVERSION= 2.21 @@ -26,21 +21,29 @@ MAKE_JOBS_SAFE= yes MAN1= ddate.1 -OPTIONS= USFORMAT "Use US time format" off \ - PRAISEBOB "Use SubGenius slogans" off \ - KILLBOB "Use countdown to X-Day" on +#OPTIONS= USFORMAT "Use US time format" off \ +# PRAISEBOB "Use SubGenius slogans" off \ +# KILLBOB "Use countdown to X-Day" on -.include <bsd.port.pre.mk> +OPTIONS_DEFINE= USFORMAT PRAISEBOB KILLBOB -.if defined(WITH_USFORMAT) +USFORMAT_DESC= US time format +PRAISEBOB_DESC= SubGenius slogans +KILLBOB_DESC= Countdown to X-Day + +OPTIONS_DEFAULT=KILLBOB + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MUSFORMAT} CFLAGS+= -DUS_FORMAT=\"1\" .endif -.if defined(WITH_PRAISEBOB) +.if ${PORT_OPTIONS:MPRAISEBOB} CFLAGS+= -DPRAISE_BOB=\"13013\" .endif -.if defined(WITH_KILLBOB) +.if ${PORT_OPTIONS:MKILLBOB} CFLAGS+= -DKILL_BOB=\"13013\" .endif @@ -52,4 +55,4 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/misc-utils/${PORTNAME} ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/misc-utils/ddate.1 ${MANPREFIX}/man/man1 -.include <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209090006.q8906wXa074657>