freebsd-ports/games/xasteroids/Makefile

41 lines
886 B
Makefile
Raw Normal View History

# Created by: swallace
1999-08-25 08:06:33 +02:00
# $FreeBSD$
1995-01-04 09:56:18 +01:00
PORTNAME= xasteroids
PORTVERSION= 5.0
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= XCONTRIB/../R5contrib
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .sh.Z
MAINTAINER= ports@FreeBSD.org
2003-02-20 18:32:26 +01:00
COMMENT= X11 based asteroids style arcade game
EXTRACT_CMD= ( cd ${WRKSRC}; zcat | ${SH} -s )
EXTRACT_BEFORE_ARGS= <
EXTRACT_AFTER_ARGS= # empty
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
post-extract:
@${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)
1995-01-04 09:56:18 +01:00
.include <bsd.port.mk>