Date: Fri, 7 Sep 2012 18:20:54 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r303816 - head/audio/adplay Message-ID: <201209071820.q87IKsrR043122@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Fri Sep 7 18:20:54 2012 New Revision: 303816 URL: http://svn.freebsd.org/changeset/ports/303816 Log: - Convert to OPTIONSng - Remove deprecated header information - Pacify portlint Modified: head/audio/adplay/Makefile Modified: head/audio/adplay/Makefile ============================================================================== --- head/audio/adplay/Makefile Fri Sep 7 18:16:57 2012 (r303815) +++ head/audio/adplay/Makefile Fri Sep 7 18:20:54 2012 (r303816) @@ -1,9 +1,4 @@ -# New ports collection makefile for: adplay -# Date created: 10 August 2004 -# Whom: Emanuel Haupt <ehaupt@critical.ch> -# # $FreeBSD$ -# PORTNAME= adplay PORTVERSION= 1.7 @@ -19,7 +14,7 @@ COMMENT= AdLib player using adplug libra LICENSE= GPLv2 -LIB_DEPENDS= adplug-2.2:${PORTSDIR}/audio/libadplug +LIB_DEPENDS= adplug:${PORTSDIR}/audio/libadplug GNU_CONFIGURE= yes WANT_SDL= yes @@ -37,11 +32,11 @@ MAN1= adplay.1 PLIST_FILES= bin/adplay %%DATADIR%%/adplug.db PLIST_DIRS= %%DATADIR%% -OPTIONS= SDL "Build with SDL output support" off +OPTIONS_DEFINE= SDL -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITH_SDL) +.if ${PORT_OPTIONS:MSDL} USE_SDL= sdl mixer .else CONFIGURE_ARGS+= --disable-output-sdl @@ -58,4 +53,4 @@ do-install: ${MKDIR} ${DATADIR} ${INSTALL_DATA} ${WRKDIR}/${DBVERSION}/${DBFILE} ${DATADIR} -.include <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209071820.q87IKsrR043122>