2013-08-15 13:37:57 +02:00
|
|
|
# Created by: Stephen Hurd <shurd@sasktel.net>
|
2008-11-25 06:29:28 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= freedink
|
|
|
|
PORTVERSION= 1.08.${PORTVER}
|
|
|
|
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
|
|
|
|
|
2013-08-15 13:37:57 +02:00
|
|
|
LIB_DEPENDS= fontconfig:${PORTSDIR}/x11-fonts/fontconfig
|
2008-11-25 06:29:28 +01:00
|
|
|
|
2013-08-15 13:37:57 +02:00
|
|
|
USES= gettext gmake
|
2008-11-25 06:29:28 +01:00
|
|
|
USE_SDL= sdl gfx ttf image mixer
|
|
|
|
GNU_CONFIGURE= yes
|
2013-08-15 13:37:57 +02:00
|
|
|
PORTVER= 20121209
|
2008-11-25 06:29:28 +01:00
|
|
|
CONFIGURE_ARGS= --disable-static --disable-upx
|
|
|
|
|
|
|
|
MAN6= freedink.6 freedinkedit.6 dink.6 dinkedit.6
|
|
|
|
|
2013-05-31 16:40:56 +02:00
|
|
|
OPTIONS_DEFINE= EMBEDDED
|
|
|
|
EMBEDDED_DESC= Embedded Resources
|
2008-11-25 06:29:28 +01:00
|
|
|
|
2013-05-31 16:40:56 +02:00
|
|
|
OPTIONS_DEFAULT= EMBEDDED
|
2008-11-25 06:29:28 +01:00
|
|
|
|
2013-08-15 13:37:57 +02:00
|
|
|
post-patch:
|
|
|
|
@${CHMOD} 0755 ${WRKSRC}/autotools/install-reloc
|
|
|
|
|
2013-05-31 16:40:56 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MEMBEDDED}
|
2008-11-25 06:29:28 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-embedded-resources
|
2011-04-24 23:59:47 +02:00
|
|
|
BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip
|
2013-08-15 13:37:57 +02:00
|
|
|
LIB_DEPENDS+= zip:${PORTSDIR}/archivers/libzip
|
2011-04-24 23:59:47 +02:00
|
|
|
RUN_DEPENDS+= zip:${PORTSDIR}/archivers/zip
|
2008-11-25 06:29:28 +01:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-embedded-resources
|
|
|
|
.endif
|
|
|
|
|
2013-05-31 16:40:56 +02:00
|
|
|
.include <bsd.port.mk>
|