2002-11-24 14:33:47 +01:00
|
|
|
# New ports collection makefile for: xarchon
|
|
|
|
# Date created: 8 November 2002
|
|
|
|
# Whom: Marc Fonvieille <blackend@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= xarchon
|
|
|
|
PORTVERSION= 0.50
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 5
|
2002-11-24 14:33:47 +01:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= ftp://ftp.seul.org/pub/xarchon/ \
|
|
|
|
http://xarchon.seul.org/
|
|
|
|
|
2005-10-10 07:14:17 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A chess-like strategy game with battle options
|
2002-11-24 14:33:47 +01:00
|
|
|
|
|
|
|
USE_GNOME= esound gtk12
|
|
|
|
USE_GMAKE= yes
|
- 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 19:56:05 +02:00
|
|
|
USE_XORG= x11 xpm ice
|
2002-11-24 14:33:47 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
|
|
|
MAN6= xarchon.6
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
|
|
|
|
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
|
2007-06-14 08:52:55 +02:00
|
|
|
@${REINPLACE_CMD} -e '169s|^static ||' ${WRKSRC}/src/board.c
|
|
|
|
@${REINPLACE_CMD} -e 's|Xarchon_Evolution::||' \
|
|
|
|
${WRKSRC}/src/Xarchon_Genetic.hpp
|
2002-11-24 14:33:47 +01:00
|
|
|
|
2012-01-19 11:13:17 +01:00
|
|
|
NOT_FOR_ARCHS= sparc64
|
2011-08-10 11:01:56 +02:00
|
|
|
|
2012-01-19 11:13:17 +01:00
|
|
|
.include <bsd.port.mk>
|