b1ef492919
- remove dependency on pamscale, use a pre-built desktop icon and desktopfileutils instead - improve DESKTOP_ENTRIES - move distribution files into their own subdirectory - use pkg-plist again instead of PLIST macros Bump PORTREVISION PR: ports/172887 Submitted by: nemysis@gmx.de Pointyhat: rene
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
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/:icons
|
|
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
|
|
${PORTNAME}.png:icons
|
|
DIST_SUBDIR= ${PORTNAME}
|
|
EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= nemysis@gmx.ch
|
|
COMMENT= Chess variant designed to be short and fun for all players
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USE_SDL= sdl image
|
|
USE_GNOME= desktopfileutils
|
|
INSTALLS_ICONS= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --localstatedir=${DATADIR}
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
PORTDOCS= AUTHORS ChangeLog
|
|
|
|
DESKTOP_ENTRIES="NuclearChess" "${COMMENT}" \
|
|
"${PREFIX}/share/pixmaps/${PORTNAME}.png" \
|
|
"${PORTNAME}" "Game;BoardGame;" false
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps/
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
|
.endif
|
|
@-update-desktop-database
|
|
|
|
.include <bsd.port.mk>
|