# New ports collection makefile for: linux-defcon # Date created: 24 May 2007 # Whom: Marcus von Appen .if defined(WITH_NVIDIA) RUN_DEPENDS+= ${LINUXBASE}/usr/lib/libGL.so.1:${PORTSDIR}/x11/nvidia-driver \ ${LINUXBASE}/usr/X11R6/lib/libGLU.so.1:${PORTSDIR}/graphics/linux-libGLU .else USE_LINUX_APPS+=dri .endif do-build: ${BRANDELF} -t Linux ${WRKSRC}/lib/defcon.bin.x86 do-install: ${MKDIR} ${DATADIR} @cd ${WRKSRC}/lib && \ ${INSTALL_PROGRAM} defcon.bin.x86 ${DATADIR} && \ ${INSTALL_DATA} *.dat open-www.sh ${DATADIR} ${INSTALL_PROGRAM} ${WRKDIR}/defcon ${PREFIX}/bin/${PKGNAMEPREFIX}defcon .if !defined (NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/license.txt ${DOCSDIR}/license.txt ${INSTALL_DATA} ${WRKSRC}/manual.pdf ${DOCSDIR}/manual.pdf .endif post-install: @${CAT} ${PKGMESSAGE} .include