aboutsummaryrefslogtreecommitdiff
path: root/games/freedink-engine/Makefile
blob: b4efeb2f911308aa1e180f0e72bbd0e9fb4bc5a9 (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
42
# New ports collection makefile for:	syncterm
# Date created:		3 October 2006
# Whom:			shurd
#
# $FreeBSD$
#

PORTNAME=	freedink
PORTVERSION=	1.08.${PORTVER}
PORTREVISION=	9
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR=	freedink
PKGNAMESUFFIX=	-engine

MAINTAINER=	shurd@sasktel.net
COMMENT=	Dink Smallwood RPG and RPG Construction Set

LIB_DEPENDS=	fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig \

USE_GMAKE=	yes
USE_SDL=	sdl gfx ttf image mixer
GNU_CONFIGURE=	yes
PORTVER=	20080920
CONFIGURE_ARGS=	--disable-static --disable-upx

MAN6=		freedink.6 freedinkedit.6 dink.6 dinkedit.6

OPTIONS=	EMBEDDED	"Enable Embedded Resources"	on

.include <bsd.port.pre.mk>

.ifdef WITHOUT_EMBEDDED
CONFIGURE_ARGS+=	--enable-embedded-resources
BUILD_DEPENDS+=		zip:${PORTSDIR}/archivers/zip
LIB_DEPENDS+=		zip.3:${PORTSDIR}/archivers/libzip
RUN_DEPENDS+=		zip:${PORTSDIR}/archivers/zip
.else
CONFIGURE_ARGS+=	--disable-embedded-resources
.endif

.include <bsd.port.post.mk>