Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Nov 2013 23:25:58 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332558 - head/games/kuklomenos
Message-ID:  <201311022325.rA2NPwPo091835@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Sat Nov  2 23:25:58 2013
New Revision: 332558
URL: http://svnweb.freebsd.org/changeset/ports/332558

Log:
  - Convert LIB_DEPENDS to new syntax
  - Add stage support
  - Use options helpers

Modified:
  head/games/kuklomenos/Makefile

Modified: head/games/kuklomenos/Makefile
==============================================================================
--- head/games/kuklomenos/Makefile	Sat Nov  2 23:20:14 2013	(r332557)
+++ head/games/kuklomenos/Makefile	Sat Nov  2 23:25:58 2013	(r332558)
@@ -12,10 +12,11 @@ COMMENT=	Simple but challenging abstract
 
 LICENSE=	GPLv3
 
-LIB_DEPENDS=	curl:${PORTSDIR}/ftp/curl
+LIB_DEPENDS=	libcurl.so:${PORTSDIR}/ftp/curl
 
 OPTIONS_DEFINE=	VORBIS
 OPTIONS_DEFAULT=	VORBIS
+OPTIONS_SUB=	yes
 
 USE_SDL=	sdl
 GNU_CONFIGURE=	yes
@@ -23,16 +24,8 @@ GNU_CONFIGURE=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include ${PTHEAD_CFLAGS}
 LDFLAGS+=	-L${LOCALBASE}/lib ${PTHREAD_LIBS}
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MVORBIS}
-LIB_DEPENDS+=	vorbis.4:${PORTSDIR}/audio/libvorbis
-PLIST_SUB+=	VORBIS=""
-.else
-CONFIGURE_ARGS+=--disable-sound
-PLIST_SUB+=	VORBIS="@comment "
-.endif
+VORBIS_LIB_DEPENDS=	libvorbis.so:${PORTSDIR}/audio/libvorbis
+VORBIS_CONFIGURE_ENABLE=	sound
 
 post-patch:
 	@${REINPLACE_CMD} -e \



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