svn commit: r320972 - in head/audio: dumb dumb-allegro
Baptiste Daroussin
bapt at FreeBSD.org
Fri Jun 14 22:25:53 UTC 2013
Author: bapt
Date: Fri Jun 14 22:25:52 2013
New Revision: 320972
URL: http://svnweb.freebsd.org/changeset/ports/320972
Log:
Finish convertion to new options framework
Modified:
head/audio/dumb-allegro/Makefile
head/audio/dumb/Makefile
Modified: head/audio/dumb-allegro/Makefile
==============================================================================
--- head/audio/dumb-allegro/Makefile Fri Jun 14 22:25:13 2013 (r320971)
+++ head/audio/dumb-allegro/Makefile Fri Jun 14 22:25:52 2013 (r320972)
@@ -1,11 +1,7 @@
-# New ports collection makefile for: audio/dumb-allegro
-# Date created: 13 Oct 2009
-# Whom: Stas Timokhin <stast at bsdportal.ru>
-#
+# Created by: Stas Timokhin <stast at bsdportal.ru>
# $FreeBSD$
-#
-WITH_ALLEGRO= yes
+OPTIONS_SLAVE= ALLEGRO
MASTERDIR= ${.CURDIR}/../dumb
.include "${MASTERDIR}/Makefile"
Modified: head/audio/dumb/Makefile
==============================================================================
--- head/audio/dumb/Makefile Fri Jun 14 22:25:13 2013 (r320971)
+++ head/audio/dumb/Makefile Fri Jun 14 22:25:52 2013 (r320972)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: dumb
-# Date created: 26 January 2005
-# Whom: Andreas Kohn <andreas at syndrom23.de>
-#
+# Created by: Andreas Kohn <andreas at 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, at LOCALBASE@,${LOCALBASE}," ${WRKSRC}/make/config.txt
-.if defined(WITH_ALLEGRO)
+.if ${PORT_OPTIONS:MALLEGRO}
@${REINPLACE_CMD} -e "s, at ALLEGRO@,," ${WRKSRC}/make/config.txt
.else
@${REINPLACE_CMD} -e "s, at ALLEGRO@,#," ${WRKSRC}/make/config.txt
More information about the svn-ports-all
mailing list