2013-09-20 17:36:33 +00:00
|
|
|
# Created by: Alejandro Pulver <alejandro@varnet.biz>
|
2005-07-12 13:49:24 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= ttt
|
2011-07-02 07:54:59 +00:00
|
|
|
PORTVERSION= 2011.04
|
2014-12-08 16:48:38 +00:00
|
|
|
PORTREVISION= 5
|
2005-07-12 13:49:24 +00:00
|
|
|
CATEGORIES= games
|
2012-09-09 22:08:43 +00:00
|
|
|
MASTER_SITES= ftp://ftp.tuxpaint.org/unix/x/ttt/ \
|
2013-12-29 13:35:32 +00:00
|
|
|
SF/nemysisfreebsdp/${CATEGORIES}/:icons
|
|
|
|
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
|
|
|
|
${PORTNAME}.png:icons
|
|
|
|
EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
|
2005-07-12 13:49:24 +00:00
|
|
|
|
2014-10-31 16:11:33 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-07-12 13:49:24 +00:00
|
|
|
COMMENT= Simple one or two player Tic Tac Toe game
|
|
|
|
|
2016-01-12 16:20:31 +00:00
|
|
|
LICENSE= GPLv2+
|
2014-10-04 14:00:35 +00:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2005-07-12 13:49:24 +00:00
|
|
|
|
2014-10-04 14:00:35 +00:00
|
|
|
USES= autoreconf
|
2013-12-29 13:35:32 +00:00
|
|
|
USE_SDL= mixer sdl
|
2014-10-04 14:00:35 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2012-09-09 22:08:43 +00:00
|
|
|
ALL_TARGET= ${PORTNAME}
|
2011-07-02 07:54:59 +00:00
|
|
|
|
2011-09-23 22:26:39 +00:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2005-07-12 13:49:24 +00:00
|
|
|
|
2012-09-09 22:08:43 +00:00
|
|
|
PORTDOCS= README
|
2013-12-29 13:35:32 +00:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2012-09-09 22:08:43 +00:00
|
|
|
SUB_FILES= ${PORTNAME}
|
|
|
|
|
2013-12-29 13:35:32 +00:00
|
|
|
DESKTOP_ENTRIES="Tic-Tac-Toe" "" "${PORTNAME}" \
|
|
|
|
"${PORTNAME}" "Game;LogicGame;" ""
|
2012-09-09 22:08:43 +00:00
|
|
|
|
|
|
|
do-install:
|
2013-12-29 13:35:32 +00:00
|
|
|
${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}
|
2011-07-02 07:54:59 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|