aboutsummaryrefslogtreecommitdiffstats
path: root/games/freedink-engine/Makefile
blob: 8361250bb5b8fef7668d14c1466de8486a091859 (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: 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_DEFINE= EMBEDDED
EMBEDDED_DESC=  Embedded Resources

OPTIONS_DEFAULT=    EMBEDDED

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MEMBEDDED}
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.mk>