svn commit: r317613 - head/audio/mikmod
Emanuel Haupt
ehaupt at FreeBSD.org
Tue May 7 14:20:57 UTC 2013
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>
More information about the svn-ports-head
mailing list