aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-06-15 06:25:52 +0800
committerbapt <bapt@FreeBSD.org>2013-06-15 06:25:52 +0800
commit1a778c5ae570c7f830bb404fcd4633daaf09093d (patch)
treefc73418b11bcde072c51ce253c89ab230c7386f2 /audio
parentcfb7aed180175213bdf9aa267a09d5e693b73e99 (diff)
downloadfreebsd-ports-gnome-1a778c5ae570c7f830bb404fcd4633daaf09093d.tar.gz
freebsd-ports-gnome-1a778c5ae570c7f830bb404fcd4633daaf09093d.tar.zst
freebsd-ports-gnome-1a778c5ae570c7f830bb404fcd4633daaf09093d.zip
Finish convertion to new options framework
Diffstat (limited to 'audio')
-rw-r--r--audio/dumb-allegro/Makefile8
-rw-r--r--audio/dumb/Makefile8
2 files changed, 4 insertions, 12 deletions
diff --git a/audio/dumb-allegro/Makefile b/audio/dumb-allegro/Makefile
index 89fd2bf1b1be..ed4625b29708 100644
--- a/audio/dumb-allegro/Makefile
+++ b/audio/dumb-allegro/Makefile
@@ -1,11 +1,7 @@
-# New ports collection makefile for: audio/dumb-allegro
-# Date created: 13 Oct 2009
-# Whom: Stas Timokhin <stast@bsdportal.ru>
-#
+# Created by: Stas Timokhin <stast@bsdportal.ru>
# $FreeBSD$
-#
-WITH_ALLEGRO= yes
+OPTIONS_SLAVE= ALLEGRO
MASTERDIR= ${.CURDIR}/../dumb
.include "${MASTERDIR}/Makefile"
diff --git a/audio/dumb/Makefile b/audio/dumb/Makefile
index e90b1931e961..29d9d2203b9a 100644
--- a/audio/dumb/Makefile
+++ b/audio/dumb/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: dumb
-# Date created: 26 January 2005
-# Whom: Andreas Kohn <andreas@syndrom23.de>
-#
+# Created by: Andreas Kohn <andreas@syndrom23.de>
# $FreeBSD$
-#
PORTNAME= dumb
PORTVERSION= 0.9.3
@@ -40,7 +36,7 @@ CFLAGS+= -fPIC
pre-configure:
@${CP} ${FILESDIR}/config.txt ${WRKSRC}/make
@${REINPLACE_CMD} -e "s,@LOCALBASE@,${LOCALBASE}," ${WRKSRC}/make/config.txt
-.if defined(WITH_ALLEGRO)
+.if ${PORT_OPTIONS:MALLEGRO}
@${REINPLACE_CMD} -e "s,@ALLEGRO@,," ${WRKSRC}/make/config.txt
.else
@${REINPLACE_CMD} -e "s,@ALLEGRO@,#," ${WRKSRC}/make/config.txt