mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Stagify.
This commit is contained in:
parent
de442bcf5d
commit
8fa735a57d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=362063
@ -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>
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user