svn commit: r436533 - head/games/gtkatlantic
Dmitry Marakasov
amdmi3 at FreeBSD.org
Mon Mar 20 09:01:59 UTC 2017
Author: amdmi3
Date: Mon Mar 20 09:01:57 2017
New Revision: 436533
URL: https://svnweb.freebsd.org/changeset/ports/436533
Log:
- Switch to USES=localbase
- Switch to options helpers
Modified:
head/games/gtkatlantic/Makefile
Modified: head/games/gtkatlantic/Makefile
==============================================================================
--- head/games/gtkatlantic/Makefile Mon Mar 20 09:01:52 2017 (r436532)
+++ head/games/gtkatlantic/Makefile Mon Mar 20 09:01:57 2017 (r436533)
@@ -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}
More information about the svn-ports-all
mailing list