From c869722fb0f4abbd2c80188dcb618ba314ae43ef Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Wed, 16 Jul 2014 06:35:27 +0000 Subject: [PATCH] Stagify. --- multimedia/pyjama/Makefile | 32 +++++++++++++++----------------- multimedia/pyjama/pkg-plist | 2 +- 2 files changed, 16 insertions(+), 18 deletions(-) diff --git a/multimedia/pyjama/Makefile b/multimedia/pyjama/Makefile index 1693a691398a..7c324b87b7bd 100644 --- a/multimedia/pyjama/Makefile +++ b/multimedia/pyjama/Makefile @@ -8,7 +8,7 @@ CATEGORIES= multimedia python MASTER_SITES= http://launchpadlibrarian.net/26637583/ DISTNAME= pyjama-0.3.0.1_all -MAINTAINER= ports@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= Frontend to the Jamendo music network RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \ @@ -17,7 +17,6 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \ ${PYTHON_PKGNAMEPREFIX}gstreamer>=0.10:${PORTSDIR}/multimedia/py-gstreamer NO_BUILD= yes - USE_PYTHON= yes USE_GSTREAMER= core good bad gnomevfs USE_GNOME= pygtk2 @@ -29,7 +28,6 @@ INSTSUBDIRS= clLayouts extended_modules images modules plugins themes INSTFILES= about.glade preferences.glade pyjama.cfg pyjama_test.glade \ pyjama.doxygen.py pyjama.py pyjama_test.glade -NO_STAGE= yes post-patch: ${REINPLACE_CMD} -i '' 's|path = "locale"|path = "${PREFIX}/share/locale"|' \ ${WRKSRC}/src/modules/functions.py @@ -38,23 +36,23 @@ post-patch: ${FIND} ${WRKSRC} -name "*~" -delete do-install: - ${MKDIR} ${INSTDIR} + ${MKDIR} ${STAGEDIR}${INSTDIR} -. for f in ${INSTFILES} - ${INSTALL_DATA} ${WRKSRC}/src/${f} ${INSTDIR} -. endfor +.for f in ${INSTFILES} + ${INSTALL_DATA} ${WRKSRC}/src/${f} ${STAGEDIR}${INSTDIR} +.endfor -. for dir in ${INSTSUBDIRS} - cd ${WRKSRC}/src && ${COPYTREE_SHARE} ${dir} ${INSTDIR} -. endfor +.for dir in ${INSTSUBDIRS} + cd ${WRKSRC}/src && ${COPYTREE_SHARE} ${dir} ${STAGEDIR}${INSTDIR} +.endfor -. for loc in ${LOCALES} - ${INSTALL_DATA} ${WRKSRC}/src/locale/${loc}/LC_MESSAGES/pyjama.mo ${PREFIX}/share/locale/${loc}/LC_MESSAGES/ -. endfor +.for loc in ${LOCALES} + ${INSTALL_DATA} ${WRKSRC}/src/locale/${loc}/LC_MESSAGES/pyjama.mo ${STAGEDIR}${PREFIX}/share/locale/${loc}/LC_MESSAGES/ +.endfor - ${LN} -fs ${INSTDIR}/pyjama.py ${PREFIX}/bin/pyjama - ${CHMOD} a+x ${INSTDIR}/pyjama.py - ${INSTALL_DATA} ${WRKSRC}/src/pyjama.desktop ${PREFIX}/share/applications - ${INSTALL_DATA} ${WRKSRC}/src/images/pyjama.xpm ${PREFIX}/share/pixmaps + ${LN} -fs ${INSTDIR}/pyjama.py ${STAGEDIR}${PREFIX}/bin/pyjama + ${CHMOD} a+x ${STAGEDIR}${INSTDIR}/pyjama.py + ${INSTALL_DATA} ${WRKSRC}/src/pyjama.desktop ${STAGEDIR}${PREFIX}/share/applications + ${INSTALL_DATA} ${WRKSRC}/src/images/pyjama.xpm ${STAGEDIR}${PREFIX}/share/pixmaps .include diff --git a/multimedia/pyjama/pkg-plist b/multimedia/pyjama/pkg-plist index 723f773a0ab5..7be2d55514d0 100644 --- a/multimedia/pyjama/pkg-plist +++ b/multimedia/pyjama/pkg-plist @@ -1,7 +1,7 @@ bin/pyjama share/applications/pyjama.desktop share/locale/bg/LC_MESSAGES/pyjama.mo -share/locale//ca/LC_MESSAGES/pyjama.mo +share/locale/ca/LC_MESSAGES/pyjama.mo share/locale/da/LC_MESSAGES/pyjama.mo share/locale/de/LC_MESSAGES/pyjama.mo share/locale/en_GB/LC_MESSAGES/pyjama.mo