Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Oct 2013 12:57:13 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r330505 - head/games/crrcsim
Message-ID:  <201310161257.r9GCvD4Y016440@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Oct 16 12:57:13 2013
New Revision: 330505
URL: http://svnweb.freebsd.org/changeset/ports/330505

Log:
  - Support staging
  - Convert USE_GMAKE to USES
  - Use new LIB_DEPENDS syntax

Deleted:
  head/games/crrcsim/pkg-plist
Modified:
  head/games/crrcsim/Makefile

Modified: head/games/crrcsim/Makefile
==============================================================================
--- head/games/crrcsim/Makefile	Wed Oct 16 12:55:55 2013	(r330504)
+++ head/games/crrcsim/Makefile	Wed Oct 16 12:57:13 2013	(r330505)
@@ -11,36 +11,32 @@ MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	Model-airplane flight simulation program
 
 BUILD_DEPENDS=	${LOCALBASE}/lib/libplibsl.a:${PORTSDIR}/x11-toolkits/plib
-LIB_DEPENDS=	portaudio.2:${PORTSDIR}/audio/portaudio2 \
-		jpeg:${PORTSDIR}/graphics/jpeg
+LIB_DEPENDS=	libportaudio.so.2:${PORTSDIR}/audio/portaudio2 \
+		libjpeg.so:${PORTSDIR}/graphics/jpeg
 
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
+USES=		gmake
 USE_SDL=	sdl
 USE_GL=		gl glu
 
 CPPFLAGS+=	-I${LOCALBASE}/include/portaudio2 -I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib/portaudio2 -L${LOCALBASE}/lib
 
+PLIST_FILES=	bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
 PORTDOCS=	*
-
-MAN1=		crrcsim.1
+PORTDATA=	*
 
 DESKTOP_ENTRIES="CRRCsim" \
 		"Model-airplane flight simulation program" \
 		"${DATADIR}/icons/crrcsim.png" \
 		"crrcsim" \
 		"Game;Simulation;" \
-		false
+		""
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFAULT=DOCS
 
 post-patch:
 	@${REINPLACE_CMD} -e '/portaudio/ s|==|=|' ${WRKSRC}/configure
-.if ! ${PORT_OPTIONS:MDOCS}
-	@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-pkgdataDATA||; \
-		/^SUBDIRS =/ s|=.*|= man|' ${WRKSRC}/documentation/Makefile.in
-.endif
 
 .include <bsd.port.mk>



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