Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2014 08:44:18 +0000 (UTC)
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340811 - head/math/qtiplot
Message-ID:  <201401230844.s0N8iIks038916@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: makc
Date: Thu Jan 23 08:44:18 2014
New Revision: 340811
URL: http://svnweb.freebsd.org/changeset/ports/340811
QAT: https://qat.redports.org/buildarchive/r340811/

Log:
  Install icon to share/pixmaps

Modified:
  head/math/qtiplot/Makefile
  head/math/qtiplot/pkg-plist

Modified: head/math/qtiplot/Makefile
==============================================================================
--- head/math/qtiplot/Makefile	Thu Jan 23 08:43:08 2014	(r340810)
+++ head/math/qtiplot/Makefile	Thu Jan 23 08:44:18 2014	(r340811)
@@ -26,7 +26,7 @@ QMAKE_ARGS+=	LOCALBASE=${LOCALBASE} PYTH
 DOS2UNIX_GLOB=	*.pro
 
 DESKTOP_ENTRIES="QtiPlot" "Data analysis and plotting" \
-		"${DATADIR}/qtiplot.png" \
+		"${PREFIX}/share/pixmaps/qtiplot.png" \
 		"qtiplot" "" true
 
 OPTIONS_DEFINE=	DOCS PYTHON NLS DEBUG
@@ -101,7 +101,7 @@ pre-configure:
 
 post-install:
 	${STRIP_CMD} ${STRIP_FILES:S,^,${STAGEDIR}${PREFIX}/,}
-	${INSTALL_DATA} ${WRKSRC}/qtiplot_logo.png ${STAGEDIR}${DATADIR}/qtiplot.png
+	${INSTALL_DATA} ${WRKSRC}/qtiplot_logo.png ${STAGEDIR}${PREFIX}share/pixmaps/qtiplot.png
 .if ${PORT_OPTIONS:MPYTHON}
 .for s in qtiplotrc.py qtiUtil.py
 	cd ${WRKSRC}/qtiplot && ${PYTHON_CMD} -c "import py_compile; py_compile.compile('${s}')"

Modified: head/math/qtiplot/pkg-plist
==============================================================================
--- head/math/qtiplot/pkg-plist	Thu Jan 23 08:43:08 2014	(r340810)
+++ head/math/qtiplot/pkg-plist	Thu Jan 23 08:44:18 2014	(r340811)
@@ -1,5 +1,6 @@
 bin/qtiplot
 man/man1/qtiplot.1.gz
+share/pixmaps/qtiplot.png
 %%DATADIR%%/fitPlugins/libexp_saturation.so
 %%DATADIR%%/fitPlugins/libexp_saturation.so.1
 %%DATADIR%%/fitPlugins/libexp_saturation.so.1.0
@@ -23,7 +24,6 @@ man/man1/qtiplot.1.gz
 %%PYTHON%%%%DATADIR%%/qtiUtil.py
 %%PYTHON%%%%DATADIR%%/qtiUtil.pyc
 %%PYTHON%%%%DATADIR%%/qti_wordlist.txt
-%%DATADIR%%/qtiplot.png
 %%PYTHON%%%%DATADIR%%/qtiplotrc.py
 %%PYTHON%%%%DATADIR%%/qtiplotrc.pyc
 %%NLS%%%%DATADIR%%/translations/qtiplot_cn.qm



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