diff options
Diffstat (limited to 'games/linux-darwinia-demo/Makefile')
-rw-r--r-- | games/linux-darwinia-demo/Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/games/linux-darwinia-demo/Makefile b/games/linux-darwinia-demo/Makefile index 425f4e9292de..a5b6826381de 100644 --- a/games/linux-darwinia-demo/Makefile +++ b/games/linux-darwinia-demo/Makefile @@ -12,8 +12,8 @@ MAINTAINER= mva@FreeBSD.org COMMENT= Real-time action strategy with programs ONLY_FOR_ARCHS= i386 amd64 -USE_LINUX= yes -USE_LINUX_APPS= sdl12 libogg libvorbis xorglibs +USES= linux +USE_LINUX= sdl12 libogg libvorbis xorglibs NO_CDROM= Redistribution is limited, see license NO_BUILD= yes NO_WRKSUBDIR= yes @@ -28,24 +28,21 @@ NVIDIA_DESC= Enable nvidia graphics driver support .if ${PORT_OPTIONS:MNVIDIA} RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libGL.so.1:x11/nvidia-driver -USE_LINUX_APPS+=libglu +USE_LINUX+= libglu .else -USE_LINUX_APPS+=dri +USE_LINUX+= dri .endif do-extract: @cd ${WRKSRC} && ${TAIL} +376 ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} | \ ${TAR} zxf - -do-build: - ${BRANDELF} -t Linux ${WRKSRC}/lib/darwinia.bin.x86 - do-install: ${MKDIR} ${STAGEDIR}${DATADIR} @cd ${WRKSRC}/lib && \ ${INSTALL_PROGRAM} darwinia.bin.x86 ${STAGEDIR}${DATADIR} && \ ${INSTALL_DATA} *.dat open-www.sh ${STAGEDIR}${DATADIR} - ${INSTALL_PROGRAM} ${WRKDIR}/darwinia \ + ${INSTALL_SCRIPT} ${WRKDIR}/darwinia \ ${STAGEDIR}${PREFIX}/bin/${PKGNAMEPREFIX}darwinia ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/LICENSE ${STAGEDIR}${DOCSDIR}/LICENSE |