2013-02-04 10:38:05 +01:00
|
|
|
# Created by: swallace
|
1999-08-25 08:06:33 +02:00
|
|
|
# $FreeBSD$
|
1995-01-04 09:56:18 +01:00
|
|
|
|
2000-04-14 14:28:40 +02:00
|
|
|
PORTNAME= xasteroids
|
|
|
|
PORTVERSION= 5.0
|
2009-06-09 17:33:28 +02:00
|
|
|
PORTREVISION= 2
|
1996-11-18 12:44:27 +01:00
|
|
|
CATEGORIES= games
|
2013-02-04 10:38:05 +01:00
|
|
|
MASTER_SITES= XCONTRIB/../R5contrib
|
|
|
|
DISTNAME= ${PORTNAME}
|
|
|
|
EXTRACT_SUFX= .sh.Z
|
1995-04-11 02:20:58 +02:00
|
|
|
|
2001-01-27 06:40:10 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:32:26 +01:00
|
|
|
COMMENT= X11 based asteroids style arcade game
|
1997-01-03 10:38:01 +01:00
|
|
|
|
2015-11-05 13:36:25 +01:00
|
|
|
EXTRACT_CMD= ( cd ${WRKSRC}; zcat | ${SH} -s )
|
1999-02-03 12:12:01 +01:00
|
|
|
EXTRACT_BEFORE_ARGS= <
|
|
|
|
EXTRACT_AFTER_ARGS= # empty
|
2013-02-04 10:38:05 +01:00
|
|
|
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
|
|
|
USE_XORG= x11 xext
|
|
|
|
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib -lXext -lX11 -lm
|
|
|
|
|
2013-11-12 21:53:46 +01:00
|
|
|
PLIST_FILES= bin/xasteroids \
|
|
|
|
man/man6/xasteroids.6.gz
|
1995-01-04 09:56:18 +01:00
|
|
|
|
2000-05-30 01:43:27 +02:00
|
|
|
post-extract:
|
2013-02-04 10:38:05 +01:00
|
|
|
@${LN} -sf xast.man ${WRKSRC}/xasteroids.6
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
(cd ${WRKSRC} && ${CC} ${CPPFLAGS} ${CFLAGS} -o xasteroids xast.c \
|
|
|
|
${LDFLAGS})
|
|
|
|
|
|
|
|
do-install:
|
2013-11-12 21:53:46 +01:00
|
|
|
(cd ${WRKSRC} && ${INSTALL_PROGRAM} xasteroids ${STAGEDIR}${PREFIX}/bin)
|
|
|
|
(cd ${WRKSRC} && ${INSTALL_MAN} xasteroids.6 ${STAGEDIR}${MAN6PREFIX}/man/man6)
|
2000-05-30 01:43:27 +02:00
|
|
|
|
1995-01-04 09:56:18 +01:00
|
|
|
.include <bsd.port.mk>
|