aboutsummaryrefslogtreecommitdiffstats
path: root/games/cuyo/Makefile
blob: 4efe99c81c23c59206c99973fa053da037ab01b7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# 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+
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: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>