Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jul 2014 14:35:58 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r362063 - head/net-im/emesene
Message-ID:  <201407161435.s6GEZwBG018627@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Wed Jul 16 14:35:58 2014
New Revision: 362063
URL: http://svnweb.freebsd.org/changeset/ports/362063
QAT: https://qat.redports.org/buildarchive/r362063/

Log:
  Stagify.

Modified:
  head/net-im/emesene/Makefile
  head/net-im/emesene/pkg-plist

Modified: head/net-im/emesene/Makefile
==============================================================================
--- head/net-im/emesene/Makefile	Wed Jul 16 14:18:42 2014	(r362062)
+++ head/net-im/emesene/Makefile	Wed Jul 16 14:35:58 2014	(r362063)
@@ -9,7 +9,7 @@ CATEGORIES=	net-im python
 MASTER_SITES=	${MASTER_SITE_LOCAL:S,$,acm/${PORTNAME}/,} \
 		${MASTER_SITE_GOOGLE_CODE}
 
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER=	ports@FreeBSD.org
 COMMENT=	MSN Messenger client written in python
 
 BUILD_DEPENDS=	${PYTHON_SITELIBDIR}/dbus/__init__.py:${PORTSDIR}/devel/py-dbus \
@@ -18,14 +18,12 @@ RUN_DEPENDS:=	${BUILD_DEPENDS}
 
 PROJECTHOST=	bsdistfiles
 USE_PYTHON=	yes
-USES=		gettext
-USE_GNOME=	pygtk2 desktopfileutils
+USES=		gettext desktop-file-utils
+USE_GNOME=	pygtk2
 USE_GSTREAMER=	python
 INSTALLS_ICONS=	yes
 REINPLACE_ARGS=	-i ""
 
-MAN1=		emesene.1
-
 DESKTOP_ENTRIES="${PORTNAME}" \
 		"${COMMENT}" \
 		"${DATADIR}/themes/default/userPanel.png" \
@@ -33,7 +31,6 @@ DESKTOP_ENTRIES="${PORTNAME}" \
 		"Network;InstantMessaging;GTK;" \
 		"false"
 
-NO_STAGE=	yes
 post-extract:
 	@cd ${WRKSRC} && \
 		${RM} -fr GPL LGPL PSF README pygif pyisf docs && \
@@ -56,26 +53,25 @@ do-build:
 
 pre-install:
 	@${RM} -fr ${WRKSRC}/build ${WRKSRC}/libmimic
-.	for DIRE in ast dv fil fo gv ku la nb_NO nds oc zh_HK
-		@${MKDIR} ${PREFIX}/share/locale/${DIRE}/LC_MESSAGES
-.	endfor
+.for DIRE in ast dv fil fo gv ku la nb_NO nds oc zh_HK
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${DIRE}/LC_MESSAGES
+.endfor
 
 do-install:
-	@${MKDIR} ${DATADIR}
+	@${MKDIR} ${STAGEDIR}${DATADIR}
 
 	cd ${WRKDIR}/po && \
-		${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${PREFIX}/share/locale/{}" \;
+		${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${PREFIX}/share/locale/{}" \;
 	cd ${WRKSRC} && \
-		${FIND} * -type d -exec ${MKDIR} "${DATADIR}/{}" \; && \
-			${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${DATADIR}/{}" \;
+		${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${DATADIR}/{}" \; && \
+			${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/{}" \;
 
-	${INSTALL_SCRIPT} ${WRKDIR}/run.sh ${PREFIX}/bin/${PORTNAME}
-	${INSTALL_MAN} ${WRKDIR}/misc/${MAN1} ${PREFIX}/man/man1
-	${INSTALL_DATA} ${WRKDIR}/misc/emesene.svg ${PREFIX}/share/icons/hicolor/scalable/apps
+	${INSTALL_SCRIPT} ${WRKDIR}/run.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+	${INSTALL_MAN} ${WRKDIR}/misc/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps
+	${INSTALL_DATA} ${WRKDIR}/misc/emesene.svg ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/apps
+	@${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps
 	${INSTALL_DATA} ${WRKDIR}/misc/emesene.png ${WRKDIR}/misc/emesene-big.png \
-		${PREFIX}/share/pixmaps
-
-post-install:
-	-@update-desktop-database
+		${STAGEDIR}${PREFIX}/share/pixmaps
 
 .include <bsd.port.mk>

Modified: head/net-im/emesene/pkg-plist
==============================================================================
--- head/net-im/emesene/pkg-plist	Wed Jul 16 14:18:42 2014	(r362062)
+++ head/net-im/emesene/pkg-plist	Wed Jul 16 14:35:58 2014	(r362063)
@@ -1,4 +1,5 @@
 bin/emesene
+man/man1/emesene.1.gz
 %%DATADIR%%/libmimic.so
 %%DATADIR%%/Avatar.py
 %%DATADIR%%/Avatar.pyc
@@ -828,31 +829,13 @@ share/pixmaps/emesene-big.png
 @dirrm %%DATADIR%%/themes/tango
 @dirrm %%DATADIR%%/themes
 @dirrm %%DATADIR%%
-@dirrmtry share/icons/hicolor/scalable/apps
-@dirrmtry share/icons/hicolor/scalable
-@dirrmtry share/icons/hicolor
-@dirrmtry share/icons
-@dirrmtry share/locale/ast/LC_MESSAGES
-@dirrmtry share/locale/ast
 @dirrmtry share/locale/dv/LC_MESSAGES
 @dirrmtry share/locale/dv
 @dirrmtry share/locale/fil/LC_MESSAGES
 @dirrmtry share/locale/fil
-@dirrmtry share/locale/fo/LC_MESSAGES
-@dirrmtry share/locale/fo
 @dirrmtry share/locale/gv/LC_MESSAGES
 @dirrmtry share/locale/gv
-@dirrmtry share/locale/ku/LC_MESSAGES
-@dirrmtry share/locale/ku
 @dirrmtry share/locale/la/LC_MESSAGES
 @dirrmtry share/locale/la
 @dirrmtry share/locale/nb_NO/LC_MESSAGES
 @dirrmtry share/locale/nb_NO
-@dirrmtry share/locale/nds/LC_MESSAGES
-@dirrmtry share/locale/nds
-@dirrmtry share/locale/oc/LC_MESSAGES
-@dirrmtry share/locale/oc
-@dirrmtry share/locale/zh_HK/LC_MESSAGES
-@dirrmtry share/locale/zh_HK
-@exec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true
-@unexec %%LOCALBASE%%/bin/update-desktop-database > /dev/null || /usr/bin/true



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