2015-07-04 18:18:28 +02:00
|
|
|
# $NetBSD: Makefile,v 1.21 2015/07/04 16:18:35 joerg Exp $
|
2002-01-25 18:47:18 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= xtris-1.15
|
2008-03-04 07:59:03 +01:00
|
|
|
PKGREVISION= 2
|
2002-01-25 18:47:18 +01:00
|
|
|
CATEGORIES= games x11
|
2004-03-08 00:03:56 +01:00
|
|
|
MASTER_SITES= http://www.iagora.com/~espel/xtris/
|
2002-01-25 18:47:18 +01:00
|
|
|
|
|
|
|
MAINTAINER= opp@MuFFiN.Org
|
2004-03-08 00:03:56 +01:00
|
|
|
HOMEPAGE= http://www.iagora.com/~espel/xtris/xtris.html
|
2002-01-25 18:47:18 +01:00
|
|
|
COMMENT= Multi-player version of a popular game for the X Window system
|
|
|
|
|
2004-01-20 13:07:06 +01:00
|
|
|
WRKSRC= ${WRKDIR}/xtris
|
2006-12-19 13:40:48 +01:00
|
|
|
LIBS.SunOS+= -lsocket -lnsl
|
|
|
|
MAKE_ENV+= LIBS=${LIBS:Q}
|
2002-01-25 18:47:18 +01:00
|
|
|
|
2008-03-04 07:59:03 +01:00
|
|
|
SETGIDGAME= yes
|
|
|
|
SPECIAL_PERMS+= bin/xtris ${SETGID_GAMES_PERMS}
|
|
|
|
SPECIAL_PERMS+= bin/xtbot ${SETGID_GAMES_PERMS}
|
|
|
|
SPECIAL_PERMS+= bin/xtserv ${SETGID_GAMES_PERMS}
|
|
|
|
|
2008-06-15 13:15:44 +02:00
|
|
|
.include "options.mk"
|
|
|
|
|
2006-12-27 13:43:58 +01:00
|
|
|
INSTALLATION_DIRS= bin ${PREFIX}/${PKGMANDIR}/man6
|
2005-06-16 08:57:37 +02:00
|
|
|
|
2002-01-25 18:47:18 +01:00
|
|
|
do-install:
|
2008-03-04 07:59:03 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/xtris ${DESTDIR}${PREFIX}/bin/xtris
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/xtbot ${DESTDIR}${PREFIX}/bin/xtbot
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/xtserv ${DESTDIR}${PREFIX}/bin/xtserv
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/xtris.6 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/xtris.6
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/xtbot.6 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/xtbot.6
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/xtserv.6 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6/xtserv.6
|
2002-01-25 18:47:18 +01:00
|
|
|
|
2007-02-02 01:55:15 +01:00
|
|
|
.include "../../x11/libX11/buildlink3.mk"
|
2002-01-25 18:47:18 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|