Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Mar 2017 09:01:57 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r436533 - head/games/gtkatlantic
Message-ID:  <201703200901.v2K91vZi025456@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703200901.v2K91vZi025456>