# Created by: Alejandro Pulver # $FreeBSD$ PORTNAME= ttt PORTVERSION= 2011.04 PORTREVISION= 5 CATEGORIES= games MASTER_SITES= ftp://ftp.tuxpaint.org/unix/x/ttt/ \ SF/nemysisfreebsdp/${CATEGORIES}/:icons DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ ${PORTNAME}.png:icons EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} MAINTAINER= ports@FreeBSD.org COMMENT= Simple one or two player Tic Tac Toe game LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING USES= autoreconf USE_SDL= mixer sdl GNU_CONFIGURE= yes ALL_TARGET= ${PORTNAME} CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib PORTDOCS= README OPTIONS_DEFINE= DOCS SUB_FILES= ${PORTNAME} DESKTOP_ENTRIES="Tic-Tac-Toe" "" "${PORTNAME}" \ "${PORTNAME}" "Game;LogicGame;" "" do-install: ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ @(cd ${WRKSRC} && ${COPYTREE_SHARE} "images sounds" ${STAGEDIR}${DATADIR}) ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include