1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/games/nuclearchess/Makefile
Rusmir Dusko 484ccdc423 - Change master sites
- Remove dependency for desktopfileutils
- Add DOCS Option
- Support STAGEDIR
- Change Desktop entry file
- Change pkg-plist, remove update-desktop-database

Approved by:	pawel / wg (mentors, implicit)
2013-12-30 00:09:32 +00:00

40 lines
975 B
Makefile

# Created by: Shaun Amott <shaun@inerd.com>
# $FreeBSD$
PORTNAME= nuclearchess
PORTVERSION= 1.0.0
PORTREVISION= 8
CATEGORIES= games
MASTER_SITES= http://www.linux-games.com/nuclearchess/ \
SF/nemysisfreebsdp/${CATEGORIES}/:icons
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
${PORTNAME}.png:icons
DIST_SUBDIR= ${PORTNAME}
EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
MAINTAINER= nemysis@FreeBSD.org
COMMENT= Chess variant designed to be short and fun for all players
LICENSE= GPLv2
USE_SDL= sdl image
INSTALLS_ICONS= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=${DATADIR}
PORTDOCS= AUTHORS ChangeLog
OPTIONS_DEFINE= DOCS
DESKTOP_ENTRIES="NuclearChess" "" "${PORTNAME}" \
"${PORTNAME}" "Game;BoardGame;" ""
post-install:
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>