Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Jul 2014 23:35:56 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r362016 - head/games/scummvm
Message-ID:  <201407152335.s6FNZutk079913@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Tue Jul 15 23:35:56 2014
New Revision: 362016
URL: http://svnweb.freebsd.org/changeset/ports/362016
QAT: https://qat.redports.org/buildarchive/r362016/

Log:
  Use OPTIONS helpers.
  
  Add missing .gz to manpage in plist. PORTREVISION bump for that change.

Modified:
  head/games/scummvm/Makefile
  head/games/scummvm/pkg-plist

Modified: head/games/scummvm/Makefile
==============================================================================
--- head/games/scummvm/Makefile	Tue Jul 15 23:30:05 2014	(r362015)
+++ head/games/scummvm/Makefile	Tue Jul 15 23:35:56 2014	(r362016)
@@ -3,7 +3,7 @@
 
 PORTNAME=	scummvm
 DISTVERSION=	1.6.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	games emulators
 MASTER_SITES=	SF
 MASTER_SITE_SUBDIR=	${PORTNAME}/${PORTNAME}/${DISTVERSION}
@@ -29,51 +29,34 @@ FLUIDSYNTH_DESC=	FluidSynth MIDI synthes
 MT32EMU_DESC=	MT-32 emulator
 OPTIONS_DEFAULT=	VORBIS MP3 PNG MT32EMU
 
-.include <bsd.port.options.mk>
+VORBIS_LIB_DEPENDS=	libogg.so:${PORTSDIR}/audio/libogg \
+			libvorbis.so:${PORTSDIR}/audio/libvorbis
+VORBIS_CONFIGURE_ON=	--with-ogg-prefix=${LOCALBASE} \
+			--with-vorbis-prefix=${LOCALBASE}
+VORBIS_CONFIGURE_OFF=	--disable-vorbis
+
+MP3_LIB_DEPENDS=	libmad.so:${PORTSDIR}/audio/libmad
+MP3_CONFIGURE_ON=	--with-mad-prefix=${LOCALBASE}
+MP3_CONFIGURE_OFF=	--disable-mad
+
+PNG_LIB_DEPENDS=	libpng.so:${PORTSDIR}/graphics/png
+PNG_CONFIGURE_ON=	--with-png-prefix=${LOCALBASE}
+PNG_CONFIGURE_OFF=	--disable-png
+
+FLAC_LIB_DEPENDS=	libFLAC.so:${PORTSDIR}/audio/flac
+FLAC_CONFIGURE_ON=	--with-flac-prefix=${LOCALBASE}
+FLAC_CONFIGURE_OFF=	--disable-flac
+
+FLUIDSYNTH_LIB_DEPENDS=		libfluidsynth.so:${PORTSDIR}/audio/fluidsynth
+FLUIDSYNTH_CONFIGURE_ON=	--with-fluidsynth-prefix=${LOCALBASE}
+FLUIDSYNTH_CONFIGURE_OFF=	--disable-fluidsynth
 
-.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
-BROKEN=		Does not compile on ia64, powerpc, or sparc64
-.endif
-
-.if ${PORT_OPTIONS:MVORBIS}
-LIB_DEPENDS+=	libogg.so:${PORTSDIR}/audio/libogg \
-		libvorbis.so:${PORTSDIR}/audio/libvorbis
-CONFIGURE_ARGS+=--with-ogg-prefix=${LOCALBASE} \
-		--with-vorbis-prefix=${LOCALBASE}
-.else
-CONFIGURE_ARGS+=--disable-vorbis
-.endif
-
-.if ${PORT_OPTIONS:MMP3}
-LIB_DEPENDS+=	libmad.so:${PORTSDIR}/audio/libmad
-CONFIGURE_ARGS+=--with-mad-prefix=${LOCALBASE}
-.else
-CONFIGURE_ARGS+=--disable-mad
-.endif
+MT32EMU_CONFIGURE_OFF=	--disable-mt32emu
 
-.if ${PORT_OPTIONS:MPNG}
-LIB_DEPENDS+=	libpng.so:${PORTSDIR}/graphics/png
-CONFIGURE_ARGS+=--with-png-prefix=${LOCALBASE}
-.else
-CONFIGURE_ARGS+=--disable-png
-.endif
-
-.if ${PORT_OPTIONS:MFLAC}
-LIB_DEPENDS+=	libFLAC.so:${PORTSDIR}/audio/flac
-CONFIGURE_ARGS+=--with-flac-prefix=${LOCALBASE}
-.else
-CONFIGURE_ARGS+=--disable-flac
-.endif
+.include <bsd.port.pre.mk>
 
-.if ${PORT_OPTIONS:MFLUIDSYNTH}
-LIB_DEPENDS+=	libfluidsynth.so:${PORTSDIR}/audio/fluidsynth
-CONFIGURE_ARGS+=--with-fluidsynth-prefix=${LOCALBASE}
-.else
-CONFIGURE_ARGS+=--disable-fluidsynth
-.endif
-
-.if empty(PORT_OPTIONS:MMT32EMU)
-CONFIGURE_ARGS+=--disable-mt32emu
+.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
+BROKEN=		Does not compile on ia64, powerpc, or sparc64
 .endif
 
 post-install:

Modified: head/games/scummvm/pkg-plist
==============================================================================
--- head/games/scummvm/pkg-plist	Tue Jul 15 23:30:05 2014	(r362015)
+++ head/games/scummvm/pkg-plist	Tue Jul 15 23:35:56 2014	(r362016)
@@ -8,7 +8,7 @@ share/applications/scummvm.desktop
 %%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT
 %%PORTDOCS%%%%DOCSDIR%%/NEWS
 %%PORTDOCS%%%%DOCSDIR%%/README
-share/man/man6/scummvm.6
+share/man/man6/scummvm.6.gz
 share/pixmaps/scummvm.xpm
 %%DATADIR%%/drascula.dat
 %%DATADIR%%/hugo.dat



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407152335.s6FNZutk079913>