1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-24 09:25:01 +00:00
freebsd-ports/games/xkobo/Makefile
Will Andrews a2ae5368c1 Fix compilation when using gcc 4.1 due to attempting to cast a pointer to an
int, which may lose precision on platforms where sizeof(void*) > sizeof(int).
Properly support overriding CC/CXX, which is a prerequisite for fixing this.

Noticed by:	pointyhat/kris
2007-03-20 20:11:49 +00:00

32 lines
754 B
Makefile

# New ports collection makefile for: xkobo
# Date created: 18 Jul 1995
# Whom: jkh
#
# $FreeBSD$
#
PORTNAME= xkobo
PORTVERSION= 1.11
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_XCONTRIB} \
ftp://ftp.uoknor.edu/mirrors/X/contrib/games/
MASTER_SITE_SUBDIR= games
MAINTAINER= will@FreeBSD.org
COMMENT= Multi-way scrolling shoot 'em up game for X. Strangely addictive
USE_IMAKE= yes
ALL_TARGET= xkobo
MAN1= xkobo.1
post-configure:
${REINPLACE_CMD} -E -e 's,^.* CC = .*$$, CC=${CC},' \
-e 's,^.* CXX = .*$$, CXX=${CXX},' ${WRKSRC}/Makefile
post-install:
${CHMOD} u-s,g+s ${PREFIX}/bin/xkobo
${CHOWN} root:games ${PREFIX}/bin/xkobo ${PREFIX}/lib/X11/xkobo-scores
${CHMOD} 775 ${PREFIX}/lib/X11/xkobo-scores
.include <bsd.port.mk>