- Switch to USES=localbase

- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2017-03-20 09:01:57 +00:00
parent bc9a0ca507
commit 5cd92ee255
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=436533

View File

@ -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}