Date: Wed, 16 Oct 2013 12:55:46 +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: r330503 - head/games/construo Message-ID: <201310161255.r9GCtkTs016021@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Wed Oct 16 12:55:46 2013 New Revision: 330503 URL: http://svnweb.freebsd.org/changeset/ports/330503 Log: - Support staging - Convert USE_GMAKE to USES - Add DESKTOP_ENTRIES Deleted: head/games/construo/pkg-plist Modified: head/games/construo/Makefile Modified: head/games/construo/Makefile ============================================================================== --- head/games/construo/Makefile Wed Oct 16 12:55:25 2013 (r330502) +++ head/games/construo/Makefile Wed Oct 16 12:55:46 2013 (r330503) @@ -11,7 +11,7 @@ MAINTAINER= amdmi3@FreeBSD.org COMMENT= A fun construction toy GNU_CONFIGURE= yes -USE_GMAKE= yes +USES= gmake USE_XORG= sm ice x11 xext xxf86vm USE_GL= gl glu @@ -19,18 +19,25 @@ CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lGLU CONFIGURE_ARGS= --bindir=${PREFIX}/bin --datadir=${DATADIR} +PLIST_FILES= bin/${PORTNAME} bin/${PORTNAME}.x11 +PORTDATA= * + +DESKTOP_ENTRIES="Construo" \ + "${COMMENT}" \ + "" \ + "${PORTNAME}" \ + "Game;Simulation;" \ + "" + OPTIONS_DEFINE= GLUT OPTIONS_DEFAULT=GLUT GLUT_DESC= Use glut -NO_STAGE= yes .include <bsd.port.options.mk> .if ${PORT_OPTIONS:MGLUT} USE_GL+= glut -PLIST_SUB+= GLUTBIN:="" -.else -PLIST_SUB+= GLUTBIN:="@comment " +PLIST_FILES+= bin/${PORTNAME}.glut .endif post-patch: @@ -45,9 +52,9 @@ post-patch: post-install: .if ${PORT_OPTIONS:MGLUT} - cd ${PREFIX}/bin && ${LN} -s ${PORTNAME}.glut ${PORTNAME} + cd ${STAGEDIR}${PREFIX}/bin && ${LN} -s ${PORTNAME}.glut ${PORTNAME} .else - cd ${PREFIX}/bin && ${LN} -s ${PORTNAME}.x11 ${PORTNAME} + cd ${STAGEDIR}${PREFIX}/bin && ${LN} -s ${PORTNAME}.x11 ${PORTNAME} .endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310161255.r9GCtkTs016021>