aboutsummaryrefslogtreecommitdiff
path: root/audio/mikmod
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2013-05-07 14:20:56 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2013-05-07 14:20:56 +0000
commitc6ea280b9af81df124eb73878ee15fee7ba4cd92 (patch)
treee81232938ede13c262a5a9f86ea11e66d91b90ec /audio/mikmod
parentc77e09fc0892a90d6bb5adab79ea3c93d7390635 (diff)
downloadports-c6ea280b9af81df124eb73878ee15fee7ba4cd92.tar.gz
ports-c6ea280b9af81df124eb73878ee15fee7ba4cd92.zip
- Use new options framework
- Trim header
Notes
Notes: svn path=/head/; revision=317613
Diffstat (limited to 'audio/mikmod')
-rw-r--r--audio/mikmod/Makefile24
1 files changed, 14 insertions, 10 deletions
diff --git a/audio/mikmod/Makefile b/audio/mikmod/Makefile
index 6655e9ec765f..44b68b1637ae 100644
--- a/audio/mikmod/Makefile
+++ b/audio/mikmod/Makefile
@@ -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, XM, MOD, S3M, ULT, UNI, and IT mods
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>