svn commit: r330505 - head/games/crrcsim
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed Oct 16 12:57:13 UTC 2013
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 at 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>
More information about the svn-ports-all
mailing list