mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
- Update to 2.0.13
- Change maintainer email to @FreeBSD.org - Add dependencies for audio/lame and multimedia/mplayer - Support STAGEDIR Approved by: wg/pawel (mentors)
This commit is contained in:
parent
bf5ca2ebd3
commit
80f0656871
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=330458
@ -2,19 +2,20 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= anki
|
||||
PORTVERSION= 2.0.12
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 2.0.13
|
||||
CATEGORIES= games python
|
||||
MASTER_SITES= http://ankisrs.net/download/mirror/
|
||||
EXTRACT_SUFX= .tgz
|
||||
DIST_SUBDIR= python
|
||||
|
||||
MAINTAINER= nemysis@gmx.ch
|
||||
MAINTAINER= nemysis@FreeBSD.org
|
||||
COMMENT= Flashcard trainer with spaced repetition
|
||||
|
||||
LICENSE= AGPLv3 # (or later)
|
||||
LICENSE= AGPLv3
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyaudio>0:${PORTSDIR}/audio/py-pyaudio \
|
||||
RUN_DEPENDS= lame:${PORTSDIR}/audio/lame \
|
||||
mplayer:${PORTSDIR}/multimedia/mplayer \
|
||||
${PYTHON_PKGNAMEPREFIX}pyaudio>0:${PORTSDIR}/audio/py-pyaudio \
|
||||
${PYTHON_PKGNAMEPREFIX}sqlalchemy>0:${PORTSDIR}/databases/py-sqlalchemy \
|
||||
${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \
|
||||
${PYTHON_PKGNAMEPREFIX}qt4-network>=4.4:${PORTSDIR}/net/py-qt4-network \
|
||||
@ -27,9 +28,6 @@ USES= desktop-file-utils gettext:run shared-mime-info
|
||||
USE_PYTHON= -2.7
|
||||
USE_QT4= network_run webkit_run
|
||||
|
||||
MAN1= ${PORTNAME}.1
|
||||
|
||||
NO_STAGE= yes
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/usr/share/|${PREFIX}/share/|' \
|
||||
${WRKSRC}/runanki
|
||||
@ -41,23 +39,21 @@ do-build:
|
||||
@${PYTHON_CMD} -O -m compileall ${WRKSRC}
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/runanki ${PREFIX}/bin/${PORTNAME}
|
||||
@${MKDIR} ${DATADIR}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/runanki ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
||||
.for i in anki aqt designer locale oldanki tests tools
|
||||
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} ${DATADIR})
|
||||
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} ${STAGEDIR}${DATADIR})
|
||||
.endfor
|
||||
|
||||
post-install:
|
||||
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
|
||||
@${MKDIR} ${DESKTOPDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${DESKTOPDIR}
|
||||
@${MKDIR} ${PREFIX}/share/mime/packages
|
||||
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
|
||||
@${MKDIR} ${STAGEDIR}${DESKTOPDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/mime/packages/
|
||||
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.xml \
|
||||
${PREFIX}/share/mime/packages
|
||||
@${MKDIR} ${PREFIX}/share/pixmaps
|
||||
${STAGEDIR}${PREFIX}/share/mime/packages/
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/share/pixmaps/
|
||||
.for p in *.png *.xpm
|
||||
${INSTALL_DATA} ${WRKSRC}/${p} \
|
||||
${PREFIX}/share/pixmaps
|
||||
${STAGEDIR}${PREFIX}/share/pixmaps/
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (python/anki-2.0.12.tgz) = f9c6ff6393efde64591ce73baa808e8628c2c4e905de5e7aebfeba9787e68cdd
|
||||
SIZE (python/anki-2.0.12.tgz) = 3074413
|
||||
SHA256 (python/anki-2.0.13.tgz) = 918285b5c570ccd8d0d1b8e132780217af414021ce3d17e04dec17617cb5883d
|
||||
SIZE (python/anki-2.0.13.tgz) = 3147783
|
||||
|
@ -1,4 +1,5 @@
|
||||
bin/anki
|
||||
man/man1/anki.1.gz
|
||||
%%DATADIR%%/anki/__init__.py
|
||||
%%DATADIR%%/anki/__init__.pyc
|
||||
%%DATADIR%%/anki/__init__.pyo
|
||||
@ -529,12 +530,14 @@ bin/anki
|
||||
%%DATADIR%%/locale/fa/LC_MESSAGES/anki.mo
|
||||
%%DATADIR%%/locale/fi/LC_MESSAGES/anki.mo
|
||||
%%DATADIR%%/locale/fr/LC_MESSAGES/anki.mo
|
||||
%%DATADIR%%/locale/gl/LC_MESSAGES/anki.mo
|
||||
%%DATADIR%%/locale/gu/LC_MESSAGES/anki.mo
|
||||
%%DATADIR%%/locale/he/LC_MESSAGES/anki.mo
|
||||
%%DATADIR%%/locale/hr/LC_MESSAGES/anki.mo
|
||||
%%DATADIR%%/locale/hu/LC_MESSAGES/anki.mo
|
||||
%%DATADIR%%/locale/it/LC_MESSAGES/anki.mo
|
||||
%%DATADIR%%/locale/ja/LC_MESSAGES/anki.mo
|
||||
%%DATADIR%%/locale/km/LC_MESSAGES/anki.mo
|
||||
%%DATADIR%%/locale/ko/LC_MESSAGES/anki.mo
|
||||
%%DATADIR%%/locale/lt/LC_MESSAGES/anki.mo
|
||||
%%DATADIR%%/locale/lv/LC_MESSAGES/anki.mo
|
||||
@ -682,6 +685,8 @@ bin/anki
|
||||
%%DATADIR%%/tests/support/text-2fields.txt
|
||||
%%DATADIR%%/tests/support/text-tags.txt
|
||||
%%DATADIR%%/tests/support/text-update.txt
|
||||
%%DATADIR%%/tests/support/update1.apkg
|
||||
%%DATADIR%%/tests/support/update2.apkg
|
||||
%%DATADIR%%/tests/test_cards.py
|
||||
%%DATADIR%%/tests/test_cards.pyc
|
||||
%%DATADIR%%/tests/test_cards.pyo
|
||||
@ -794,6 +799,8 @@ share/pixmaps/anki.xpm
|
||||
@dirrm %%DATADIR%%/locale/lt
|
||||
@dirrm %%DATADIR%%/locale/ko/LC_MESSAGES
|
||||
@dirrm %%DATADIR%%/locale/ko
|
||||
@dirrm %%DATADIR%%/locale/km/LC_MESSAGES
|
||||
@dirrm %%DATADIR%%/locale/km
|
||||
@dirrm %%DATADIR%%/locale/ja/LC_MESSAGES
|
||||
@dirrm %%DATADIR%%/locale/ja
|
||||
@dirrm %%DATADIR%%/locale/it/LC_MESSAGES
|
||||
@ -806,6 +813,8 @@ share/pixmaps/anki.xpm
|
||||
@dirrm %%DATADIR%%/locale/he
|
||||
@dirrm %%DATADIR%%/locale/gu/LC_MESSAGES
|
||||
@dirrm %%DATADIR%%/locale/gu
|
||||
@dirrm %%DATADIR%%/locale/gl/LC_MESSAGES
|
||||
@dirrm %%DATADIR%%/locale/gl
|
||||
@dirrm %%DATADIR%%/locale/fr/LC_MESSAGES
|
||||
@dirrm %%DATADIR%%/locale/fr
|
||||
@dirrm %%DATADIR%%/locale/fi/LC_MESSAGES
|
||||
|
Loading…
Reference in New Issue
Block a user