summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-07-16 06:35:27 +0000
committervanilla <vanilla@FreeBSD.org>2014-07-16 06:35:27 +0000
commitfce8ba4eb131770064a44ac700ffcbae1a8ec8c0 (patch)
tree0450215332c93c50bba5d655972cb12265378a6d
parent271319e4b1fb835bd88cfb96eed167b68fabda39 (diff)
downloadFreeBSD-ports-fce8ba4eb131770064a44ac700ffcbae1a8ec8c0.zip
FreeBSD-ports-fce8ba4eb131770064a44ac700ffcbae1a8ec8c0.tar.gz
Stagify.
-rw-r--r--multimedia/pyjama/Makefile32
-rw-r--r--multimedia/pyjama/pkg-plist2
2 files changed, 16 insertions, 18 deletions
diff --git a/multimedia/pyjama/Makefile b/multimedia/pyjama/Makefile
index 1693a69..7c324b8 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 <bsd.port.mk>
diff --git a/multimedia/pyjama/pkg-plist b/multimedia/pyjama/pkg-plist
index 723f773..7be2d55 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
OpenPOWER on IntegriCloud