From 5cd92ee25505240010d148adc010c0e9987ff13e Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Mon, 20 Mar 2017 09:01:57 +0000 Subject: [PATCH] - Switch to USES=localbase - Switch to options helpers --- games/gtkatlantic/Makefile | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/games/gtkatlantic/Makefile b/games/gtkatlantic/Makefile index 2e105d1ea515..aa055877c2fa 100644 --- a/games/gtkatlantic/Makefile +++ b/games/gtkatlantic/Makefile @@ -16,22 +16,20 @@ COMMENT= Game like Monopoly(tm) LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING -USES= pkgconfig +USES= localbase:ldflags pkgconfig USE_GNOME= gtk20 GNU_CONFIGURE= yes -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib - -PORTDOCS= AUTHORS ChangeLog NEWS README -OPTIONS_DEFINE= DOCS - INSTALLS_ICONS= yes ICON_SIZES= 32x32 48x48 64x64 72x72 96x96 128x128 +PORTDOCS= AUTHORS ChangeLog NEWS README + DESKTOP_ENTRIES="GtkAtlantic" "" "${PORTNAME}" \ "${PORTNAME}" "Game;BoardGame;" "" +OPTIONS_DEFINE= DOCS + # Wrong versioning upstream, Upstream use GTK3 in newer Versions PORTSCOUT= ignore:1 @@ -45,9 +43,10 @@ post-install: ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_${s}.png \ ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/${PORTNAME}.png .endfor - ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ + ${LN} -sf ../../share/icons/hicolor/48x48/apps/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}