36 lines
1.1 KiB
Makefile
36 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.21 2017/11/15 22:15:16 wiz Exp $
|
|
|
|
DISTNAME= netris-0.52
|
|
PKGREVISION= 4
|
|
CATEGORIES= games
|
|
#MASTER_SITES= ftp://ftp.netris.org/pub/netris/
|
|
|
|
PATCH_SITES= ftp://ftp2.v6.linux.or.jp/pub/Linux/IPv6-2/netris/ \
|
|
http://ftp2.v6.linux.or.jp/pub/Linux/IPv6-2/netris/
|
|
PATCHFILES= netris-0.5-v6-19991206a.diff.gz
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
MAINTAINER= uebs@gmx.at
|
|
#HOMEPAGE= https://www.netris.org/
|
|
COMMENT= Everybody's darling T*tris in a networked version
|
|
|
|
USE_TOOLS+= gmake
|
|
HAS_CONFIGURE= YES
|
|
CONFIGURE_SCRIPT= ./Configure
|
|
CONFIGURE_ARGS+= ${!empty(CFLAGS):?--cextra ${CFLAGS:Q}:}
|
|
CONFIGURE_ARGS+= ${!empty(LDFLAGS):?--lextra ${LDFLAGS:Q}:}
|
|
|
|
.include "options.mk"
|
|
|
|
INSTALLATION_DIRS= bin
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/netris ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/netris
|
|
${INSTALL_DATA} ${WRKSRC}/FAQ ${DESTDIR}${PREFIX}/share/doc/netris
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/netris
|
|
${INSTALL_DATA} ${WRKSRC}/robot_desc ${DESTDIR}${PREFIX}/share/doc/netris
|
|
|
|
.include "../../mk/curses.buildlink3.mk"
|
|
.include "../../mk/termcap.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|