aboutsummaryrefslogtreecommitdiff
path: root/audio/adplay
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2012-09-07 18:20:54 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2012-09-07 18:20:54 +0000
commit1f6a99b447e60818cb38b1c9aca613f2b4b73f1f (patch)
tree0421d5b659beb5ca9339e10ba3c5844f907e379c /audio/adplay
parent5bba7f333a7526554311730b63a47bdad7ed529c (diff)
downloadports-1f6a99b447e60818cb38b1c9aca613f2b4b73f1f.tar.gz
ports-1f6a99b447e60818cb38b1c9aca613f2b4b73f1f.zip
- Convert to OPTIONSng
- Remove deprecated header information - Pacify portlint
Notes
Notes: svn path=/head/; revision=303816
Diffstat (limited to 'audio/adplay')
-rw-r--r--audio/adplay/Makefile15
1 files changed, 5 insertions, 10 deletions
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 <ehaupt@critical.ch>
-#
# $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 <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>