freebsd-ports/games/xarchon/Makefile
Alexey Dokuchaev cd15cee651 - Fix the build with modern GCC [1]
- Utilize DATADIR macro in pkg-plist

Reported by:	pointyhat [1]
2007-06-14 06:52:55 +00:00

34 lines
799 B
Makefile

# New ports collection makefile for: xarchon
# Date created: 8 November 2002
# Whom: Marc Fonvieille <blackend@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= xarchon
PORTVERSION= 0.50
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= ftp://ftp.seul.org/pub/xarchon/ \
http://xarchon.seul.org/
DISTNAME= ${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A chess-like strategy game with battle options
USE_XLIB= yes
USE_GNOME= esound gtk12
USE_GMAKE= yes
USE_XPM= yes
GNU_CONFIGURE= yes
MAN6= xarchon.6
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} -e '169s|^static ||' ${WRKSRC}/src/board.c
@${REINPLACE_CMD} -e 's|Xarchon_Evolution::||' \
${WRKSRC}/src/Xarchon_Genetic.hpp
.include <bsd.port.mk>