freebsd-ports/games/xemeraldia/Makefile
Dmitry Marakasov 075372439e - Release ports maintained by games@
games@ team is quite small and inactive, so ports currently assigned
to it cannot be assumed as properly maintained. To not cause confusion
by making it look otherwise, and also to allow and promote adoption
by individual maintainers, release these ports back to the pool. Note
that this does not change the fact that games@ team still takes care
of these ports to excent of its capabilities.

Suggested by:	marino
2014-10-31 16:11:33 +00:00

51 lines
1.3 KiB
Makefile

# Created by: Steven Wallace <swallace@FreeBSD.org>
# $FreeBSD$
PORTNAME= xemeraldia
PORTVERSION= 0.4.3
CATEGORIES= games
MASTER_SITES= http://www.reloco.com.ar/xemeraldia/ \
SUNSITE/games/tetris \
SF/nemysisfreebsdp/${CATEGORIES}/:icons
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
${PORTNAME}.png:icons
EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Falling blocks game
USES= pkgconfig
USE_GNOME= cairo gtk20
GNU_CONFIGURE= yes
PLIST_FILES= bin/${PORTNAME} \
${DESKTOPDIR}/${PORTNAME}.desktop \
%%NLS%%share/locale/es/LC_MESSAGES/${PORTNAME}.mo \
%%NLS%%share/locale/gl/LC_MESSAGES/${PORTNAME}.mo \
share/pixmaps/${PORTNAME}.png \
share/pixmaps/${PORTNAME}.xpm
PORTDOCS= NEWS README
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_CONFIGURE_ENABLE= nls
NLS_USES= gettext
post-patch:
@${REINPLACE_CMD} -e 's|$${prefix}/games|$${prefix}/bin|; \
s|/var/games/x|.x|; \
s|) install-data-hook|)|' \
${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e 's|@prefix@/games/||; \
s|^Icon.*|Icon=${PORTNAME}|' \
${WRKSRC}/xemeraldia.desktop.in
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>