From owner-svn-ports-head@FreeBSD.ORG Sun Sep 9 00:06:58 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 576BF106566C; Sun, 9 Sep 2012 00:06:58 +0000 (UTC) (envelope-from ehaupt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 427748FC08; Sun, 9 Sep 2012 00:06:58 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q8906wBR074659; Sun, 9 Sep 2012 00:06:58 GMT (envelope-from ehaupt@svn.freebsd.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q8906wXa074657; Sun, 9 Sep 2012 00:06:58 GMT (envelope-from ehaupt@svn.freebsd.org) Message-Id: <201209090006.q8906wXa074657@svn.freebsd.org> From: Emanuel Haupt Date: Sun, 9 Sep 2012 00:06:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r303942 - head/misc/ddate X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Sep 2012 00:06:58 -0000 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 -# # $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 +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 + +.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 +.include