From 3ddb981390d05018465e18c339faaaac7cb41fd1 Mon Sep 17 00:00:00 2001 From: ehaupt Date: Fri, 7 Sep 2012 18:20:54 +0000 Subject: - Convert to OPTIONSng - Remove deprecated header information - Pacify portlint --- audio/adplay/Makefile | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) (limited to 'audio/adplay') diff --git a/audio/adplay/Makefile b/audio/adplay/Makefile index a1242cf394f4..27aef9447839 100644 --- a/audio/adplay/Makefile +++ b/audio/adplay/Makefile @@ -1,9 +1,4 @@ -# New ports collection makefile for: adplay -# Date created: 10 August 2004 -# Whom: Emanuel Haupt -# # $FreeBSD$ -# PORTNAME= adplay PORTVERSION= 1.7 @@ -19,7 +14,7 @@ COMMENT= AdLib player using adplug library 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 +.include -.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 +.include -- cgit