1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/games/cuyo/Makefile
Mathieu Arnold 7b8dc22129 Fix build when there is no /usr/bin/perl. (Also, say that this needs Perl for
building WITH=NLS.)

With hat:	perl
Sponsored by:	Absolight
2015-04-20 14:09:20 +00:00

42 lines
859 B
Makefile

# Created by: Matthew Gibson <mdg583@hotmail.com>
# $FreeBSD$
PORTNAME= cuyo
PORTVERSION= 2.1.0
PORTEPOCH= 1
CATEGORIES= games
MASTER_SITES= SAVANNAH
MAINTAINER= ports@FreeBSD.org
COMMENT= Nice, innovative, challenging Tetris-like game
LICENSE= GPLv2 # (or later)
LICENSE_FILE= ${WRKSRC}/COPYING
USES= gmake iconv
USE_SDL= mixer image
USE_XORG= x11 xau xdmcp
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
# Do not use older versions
PORTSCOUT= limit:[0-9]\.[0-9]\.
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_CONFIGURE_ENABLE= nls
NLS_BUILD_DEPENDS= gsed:${PORTSDIR}/textproc/gsed
NLS_USES= gettext perl5
NLS_USE= perl5=build
NLS_LDFLAGS= -lintl
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} NEWS README ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>