diff options
Diffstat (limited to 'games')
-rw-r--r-- | games/7kaa/Makefile | 18 | ||||
-rw-r--r-- | games/7kaa/PLIST | 4 |
2 files changed, 12 insertions, 10 deletions
diff --git a/games/7kaa/Makefile b/games/7kaa/Makefile index 52e0172fc86..61acb199fcd 100644 --- a/games/7kaa/Makefile +++ b/games/7kaa/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.5 2019/08/22 12:23:06 ryoon Exp $ +# $NetBSD: Makefile,v 1.6 2019/11/30 11:47:15 nia Exp $ DISTNAME= 7kaa-2.15.2 -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_GITHUB:=the3dfxdude/} EXTRACT_SUFX= .tar.xz @@ -12,6 +12,8 @@ HOMEPAGE= https://7kfans.com/ COMMENT= Seven Kingdoms: Ancient Adversaries LICENSE= gnu-gpl-v2 +TOOL_DEPENDS+= icoutils-[0-9]*:../../graphics/icoutils + USE_LANGUAGES+= c c++11 GNU_CONFIGURE= yes USE_TOOLS+= msgfmt msgmerge xgettext @@ -20,26 +22,26 @@ USE_TOOLS+= pkg-config # C++11 GCC_REQD+= 4.6 -LDFLAGS.SunOS+= -lintl -liconv +LDFLAGS+= ${BUILDLINK_LDADD.iconv} -TOOL_DEPENDS+= ImageMagick-[0-9]*:../../graphics/ImageMagick +CONFIGURE_ARGS+= --disable-sdltest INSTALLATION_DIRS+= share/applications -INSTALLATION_DIRS+= share/icons/hicolor/32x32/apps +INSTALLATION_DIRS+= share/pixmaps post-extract: - ${PREFIX}/bin/convert ${WRKSRC}/src/7k.ico ${WRKDIR}/7kaa.png + ${PREFIX}/bin/icotool -x -i 1 ${WRKSRC}/src/7k.ico -o ${WRKDIR}/7kaa.png post-install: ${INSTALL_DATA} ${FILESDIR}/7kaa.desktop \ ${DESTDIR}${PREFIX}/share/applications ${INSTALL_DATA} ${WRKDIR}/7kaa.png \ - ${DESTDIR}${PREFIX}/share/icons/hicolor/32x32/apps + ${DESTDIR}${PREFIX}/share/pixmaps .include "../../audio/openal-soft/buildlink3.mk" .include "../../devel/SDL2/buildlink3.mk" .include "../../devel/gettext-lib/buildlink3.mk" -.include "../../graphics/hicolor-icon-theme/buildlink3.mk" .include "../../net/enet/buildlink3.mk" +.include "../../sysutils/desktop-file-utils/desktopdb.mk" .include "../../www/curl/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/games/7kaa/PLIST b/games/7kaa/PLIST index ca85b6fc663..9201d0b0623 100644 --- a/games/7kaa/PLIST +++ b/games/7kaa/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.1 2019/06/30 21:49:41 nia Exp $ +@comment $NetBSD: PLIST,v 1.2 2019/11/30 11:47:15 nia Exp $ bin/7kaa share/7kaa/ENCYC/FIRM/FACTORY.COL share/7kaa/ENCYC/FIRM/FACTORY.ICN @@ -497,8 +497,8 @@ share/7kaa/TUTORIAL/SPYING.TUT share/applications/7kaa.desktop share/doc/7kaa/COPYING share/doc/7kaa/README -share/icons/hicolor/32x32/apps/7kaa.png share/locale/de/LC_MESSAGES/7kaa.mo share/locale/es/LC_MESSAGES/7kaa.mo share/locale/pt_BR/LC_MESSAGES/7kaa.mo share/locale/ru/LC_MESSAGES/7kaa.mo +share/pixmaps/7kaa.png |