aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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