mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-07 02:06:57 +00:00
60790723aa
- Drop unneeded flags - Switch to options helpers - Regenerate patches - Fix binary permissings for highscores to properly work
43 lines
988 B
Makefile
43 lines
988 B
Makefile
# Created by: Andrey Zakhvatov
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gtkballs
|
|
PORTVERSION= 3.1.5
|
|
PORTREVISION= 13
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://gtkballs.antex.ru/dist/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Lines-like simple logic game for X Window System
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= gmake pkgconfig
|
|
USE_GNOME= gtk20
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --localstatedir=/var/games
|
|
|
|
PORTDOCS= AUTHORS ChangeLog NEWS README README.russian
|
|
|
|
DESKTOP_ENTRIES="GtkBalls" "" ${PORTNAME} \
|
|
"${PORTNAME}" "Game;ArcadeGame;" ""
|
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
NLS_USES= gettext
|
|
|
|
post-install:
|
|
${INSTALL_DATA} ${WRKSRC}/gnome-gtkballs.png \
|
|
${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
|
|
${MV} ${STAGEDIR}/var/games/gtkballs-scores \
|
|
${STAGEDIR}/var/games/gtkballs-scores.sample
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|