diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2012-09-08 02:20:54 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2012-09-08 02:20:54 +0800 |
commit | 3ddb981390d05018465e18c339faaaac7cb41fd1 (patch) | |
tree | 0421d5b659beb5ca9339e10ba3c5844f907e379c /audio/adplay | |
parent | df7d60b4f1dd7ffe98a294a2164dfef12b89a902 (diff) | |
download | freebsd-ports-gnome-3ddb981390d05018465e18c339faaaac7cb41fd1.tar.gz freebsd-ports-gnome-3ddb981390d05018465e18c339faaaac7cb41fd1.tar.zst freebsd-ports-gnome-3ddb981390d05018465e18c339faaaac7cb41fd1.zip |
- Convert to OPTIONSng
- Remove deprecated header information
- Pacify portlint
Diffstat (limited to 'audio/adplay')
-rw-r--r-- | audio/adplay/Makefile | 15 |
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> |