mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-03 01:23:49 +00:00
a0e1e2a2d9
New level track "Contributions" for unofficial, community-made levels New levels: aliens, pacman Moved remaining unfinished levels and some finished levels to "contributions" More bugfixes - Add PORTEPOCH - Change master sites, use SAVANNAH instead of not existing page - Take maintainership - Add license (GPLv2) - Use the new format for LIB_DEPENDS - Remove USE_GMAKE (USES gmake), build good without - Disable all warnings with -w - Support STAGEDIR and add OPTIONS_SUB - Add DOCS, NLS and Options - Symlink the icon - Add patch, fix build ngettext PR: ports/173875 Submitted by: nemysis (self) Approved by: Matthew Gibson <mdg583@gmail.com> (previous maintainer)
51 lines
1.1 KiB
Makefile
51 lines
1.1 KiB
Makefile
# Created by: Matthew Gibson <mdg583@hotmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cuyo
|
|
PORTVERSION= 2.0.0
|
|
PORTEPOCH= 1
|
|
CATEGORIES= games
|
|
MASTER_SITES= SAVANNAH
|
|
|
|
MAINTAINER= nemysis@FreeBSD.org
|
|
COMMENT= Nice, innovative, challenging Tetris-like game
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libaa.so:${PORTSDIR}/graphics/aalib \
|
|
libmikmod.so:${PORTSDIR}/audio/libmikmod
|
|
|
|
USES= iconv
|
|
GNU_CONFIGURE= yes
|
|
USE_SDL= mixer image
|
|
USE_XORG= xdmcp xau x11
|
|
CFLAGS+= -w
|
|
INSTALLS_ICONS= yes
|
|
|
|
PORTDOCS= NEWS TODO
|
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
NLS_USES= gettext:run
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MNLS}
|
|
. for f in de
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${f}/LC_MESSAGES ; \
|
|
${INSTALL_DATA} ${WRKSRC}/po/${f}.gmo \
|
|
${STAGEDIR}${PREFIX}/share/locale/${f}/LC_MESSAGES/${PORTNAME}.mo
|
|
. endfor
|
|
.endif
|
|
|
|
${LN} -sf ${PREFIX}/share/icons/hicolor/64x64/apps/${PORTNAME}.png \
|
|
${STAGEDIR}${PREFIX}/share/pixmaps/
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|