2005-09-21 07:53:20 +00:00
|
|
|
# New ports collection makefile for: connectfive
|
|
|
|
# Date created: 20 Sep 2005
|
2006-12-21 20:41:33 +00:00
|
|
|
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
|
2005-09-21 07:53:20 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= connectfive
|
|
|
|
PORTVERSION= 1.0.2
|
2009-01-23 16:28:36 +00:00
|
|
|
PORTREVISION= 4
|
2005-09-21 07:53:20 +00:00
|
|
|
CATEGORIES= games
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
MASTER_SITES= SF/connectfive
|
2005-09-21 07:53:20 +00:00
|
|
|
DISTNAME= connectFive
|
|
|
|
|
2008-06-19 17:28:24 +00:00
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
2005-09-21 07:53:20 +00:00
|
|
|
COMMENT= Place five pieces in a row on a 3d board
|
|
|
|
|
|
|
|
MAKEFILE= Makefile.linux
|
2008-07-25 12:24:09 +00:00
|
|
|
MAKE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2005-09-21 07:53:20 +00:00
|
|
|
ALL_TARGET= default
|
|
|
|
|
|
|
|
USE_SDL= sdl
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 17:56:05 +00:00
|
|
|
USE_GL= gl
|
2009-01-23 16:28:36 +00:00
|
|
|
USE_XORG= xmu xext x11
|
2005-09-21 07:53:20 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/connectFive
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|' ${WRKSRC}/Makefile.linux
|
|
|
|
@${REINPLACE_CMD} -e 's|data/|${DATADIR}/|' ${WRKSRC}/connect.cpp
|
2006-09-30 11:19:40 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|Board::||' ${WRKSRC}/Board.h
|
2005-09-21 07:53:20 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/connectfive ${PREFIX}/bin/
|
|
|
|
${MKDIR} ${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/data/* ${DATADIR}/
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/CHANGELOG.txt ${WRKSRC}/LICENSE.txt ${WRKSRC}/README.txt ${DOCSDIR}/
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|