Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 May 2013 14:20:56 +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: r317613 - head/audio/mikmod
Message-ID:  <201305071420.r47EKuae033140@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Tue May  7 14:20:56 2013
New Revision: 317613
URL: http://svnweb.freebsd.org/changeset/ports/317613

Log:
  - Use new options framework
  - Trim header

Modified:
  head/audio/mikmod/Makefile

Modified: head/audio/mikmod/Makefile
==============================================================================
--- head/audio/mikmod/Makefile	Tue May  7 14:20:19 2013	(r317612)
+++ head/audio/mikmod/Makefile	Tue May  7 14:20:56 2013	(r317613)
@@ -1,9 +1,5 @@
-# ports collection makefile for:   mikmod304
-# Date created:        16 November 1998
-# Whom:                yoshiaki Uchikawa
-#
+# Created by: Yoshiaki Uchikawa
 # $FreeBSD$
-#
 
 PORTNAME=	mikmod
 PORTVERSION=	3.2.1
@@ -17,19 +13,27 @@ COMMENT=	Mod player which plays MTM, STM
 
 LICENSE=	GPLv2
 
-LIB_DEPENDS=	mikmod.2:${PORTSDIR}/audio/libmikmod
+LIB_DEPENDS=	mikmod:${PORTSDIR}/audio/libmikmod
 
 USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 MAKE_JOBS_SAFE=	yes
 
-.ifdef (WITH_COLOR)
-CONFIGURE_ARGS+=	--enable-color-interface
-.endif
-
 MAN1=		mikmod.1
 PLIST_FILES=	bin/mikmod
 
 PORTSCOUT=	skipv:3.3.0
 
+OPTIONS_DEFINE=	COLOR
+
+COLOR_DESC=	Build with color support
+
+OPTIONS_DEFAULT=COLOR
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MCOLOR}
+CONFIGURE_ARGS+=	--enable-color-interface
+.endif
+
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305071420.r47EKuae033140>