aboutsummaryrefslogtreecommitdiff
path: root/games/freedink-engine
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2014-05-02 14:16:49 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2014-05-02 14:16:49 +0000
commitdd6f9aecd223894fd0211f09b7a15f4a3a89bcfc (patch)
tree78e72938e9ae1fafd84cf8b4b69b5d7c261245bd /games/freedink-engine
parent504cac19e8af2daa15b41035a8c601571db30990 (diff)
Notes
Diffstat (limited to 'games/freedink-engine')
-rw-r--r--games/freedink-engine/Makefile25
-rw-r--r--games/freedink-engine/pkg-plist10
2 files changed, 15 insertions, 20 deletions
diff --git a/games/freedink-engine/Makefile b/games/freedink-engine/Makefile
index f59d08eead04..ef020c9eb475 100644
--- a/games/freedink-engine/Makefile
+++ b/games/freedink-engine/Makefile
@@ -3,6 +3,7 @@
PORTNAME= freedink
PORTVERSION= 1.08.${PORTVER}
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= freedink
@@ -11,7 +12,7 @@ PKGNAMESUFFIX= -engine
MAINTAINER= shurd@sasktel.net
COMMENT= Dink Smallwood RPG and RPG Construction Set
-LIB_DEPENDS= fontconfig:${PORTSDIR}/x11-fonts/fontconfig
+LIB_DEPENDS= libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig
USES= gettext gmake pkgconfig
USE_SDL= sdl gfx ttf image mixer
@@ -19,26 +20,16 @@ GNU_CONFIGURE= yes
PORTVER= 20121209
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
-OPTIONS_DEFAULT= EMBEDDED
+EMBEDDED_DESC= Embedded Resources
+EMBEDDED_CONFIGURE_ENABLE= embedded-resources
+EMBEDDED_BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip
+EMBEDDED_LIB_DEPENDS= libzip.so:${PORTSDIR}/archivers/libzip
+EMBEDDED_RUN_DEPENDS= zip:${PORTSDIR}/archivers/zip
-NO_STAGE= yes
post-patch:
@${CHMOD} 0755 ${WRKSRC}/autotools/install-reloc
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MEMBEDDED}
-CONFIGURE_ARGS+= --enable-embedded-resources
-BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip
-LIB_DEPENDS+= zip:${PORTSDIR}/archivers/libzip
-RUN_DEPENDS+= zip:${PORTSDIR}/archivers/zip
-.else
-CONFIGURE_ARGS+= --disable-embedded-resources
-.endif
-
.include <bsd.port.mk>
diff --git a/games/freedink-engine/pkg-plist b/games/freedink-engine/pkg-plist
index 1fbda581877b..db5d9ff8ae30 100644
--- a/games/freedink-engine/pkg-plist
+++ b/games/freedink-engine/pkg-plist
@@ -2,6 +2,10 @@ bin/dink
bin/dinkedit
bin/freedink
bin/freedinkedit
+man/man6/dink.6.gz
+man/man6/dinkedit.6.gz
+man/man6/freedink.6.gz
+man/man6/freedinkedit.6.gz
share/applications/freedink.desktop
share/applications/freedinkedit.desktop
%%DATADIR%%/LiberationSans-Regular.ttf
@@ -65,10 +69,10 @@ share/locale/vi/LC_MESSAGES/freedink-gnulib.mo
share/locale/vi/LC_MESSAGES/freedink.mo
share/locale/zh_CN/LC_MESSAGES/freedink-gnulib.mo
share/locale/zh_TW/LC_MESSAGES/freedink-gnulib.mo
-@dirrm share/locale/en@boldquot/LC_MESSAGES
+@dirrmtry share/locale/en@boldquot/LC_MESSAGES
@dirrmtry share/locale/en@boldquot
-@dirrm share/locale/en@quot/LC_MESSAGES
+@dirrmtry share/locale/en@quot/LC_MESSAGES
@dirrmtry share/locale/en@quot
-@dirrm share/locale/rw/LC_MESSAGES
+@dirrmtry share/locale/rw/LC_MESSAGES
@dirrmtry share/locale/rw
@dirrmtry %%DATADIR%%