diff options
author | vanilla <vanilla@FreeBSD.org> | 2014-07-16 22:35:58 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2014-07-16 22:35:58 +0800 |
commit | b63ce045b33fc1d1bf6fba942012b5a5b97c17ce (patch) | |
tree | dca0d9eb6c601bec4600b9bf62ae77929bcf26ae /net-im | |
parent | b69f946096d6f0fc133c41814020b516bbbd29aa (diff) | |
download | freebsd-ports-gnome-b63ce045b33fc1d1bf6fba942012b5a5b97c17ce.tar.gz freebsd-ports-gnome-b63ce045b33fc1d1bf6fba942012b5a5b97c17ce.tar.zst freebsd-ports-gnome-b63ce045b33fc1d1bf6fba942012b5a5b97c17ce.zip |
Stagify.
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/emesene/Makefile | 38 | ||||
-rw-r--r-- | net-im/emesene/pkg-plist | 19 |
2 files changed, 18 insertions, 39 deletions
diff --git a/net-im/emesene/Makefile b/net-im/emesene/Makefile index 71565f9b7a6e..3905cedf71f5 100644 --- a/net-im/emesene/Makefile +++ b/net-im/emesene/Makefile @@ -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}/{}" \; - - ${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 + ${FIND} * -type d -exec ${MKDIR} "${STAGEDIR}${DATADIR}/{}" \; && \ + ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/{}" \; + + ${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> diff --git a/net-im/emesene/pkg-plist b/net-im/emesene/pkg-plist index 38cecdadb140..bc39f3d867ab 100644 --- a/net-im/emesene/pkg-plist +++ b/net-im/emesene/pkg-plist @@ -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 |