svn commit: r332558 - head/games/kuklomenos

Danilo Egea Gondolfo danilo at FreeBSD.org
Sat Nov 2 23:25:59 UTC 2013


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 \


More information about the svn-ports-head mailing list