mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
Update to 2.0.6
Simplify makefile, add python to category and numeros other improvments. Pass maintainership to submitter. PR: ports/175366 Submitted by: nemysis <nemysis@gmx.ch> Approved by: kwm, miwi (mentors, implicit)
This commit is contained in:
parent
80f338f6ab
commit
7ceb9c4d35
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=310922
@ -2,12 +2,13 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= anki
|
||||
PORTVERSION= 2.0.4
|
||||
CATEGORIES= games
|
||||
PORTVERSION= 2.0.6
|
||||
CATEGORIES= games python
|
||||
MASTER_SITES= http://ankisrs.net/download/mirror/
|
||||
EXTRACT_SUFX= .tgz
|
||||
DIST_SUBDIR= python
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= nemysis@gmx.ch
|
||||
COMMENT= Flashcard trainer with spaced repetition
|
||||
|
||||
LICENSE= AGPLv3 # (or later)
|
||||
@ -29,30 +30,32 @@ USE_GETTEXT= run
|
||||
MAN1= ${PORTNAME}.1
|
||||
|
||||
post-patch:
|
||||
@${SED} -e 's|/usr/share/|${PYTHON_SITELIBDIR}/|' \
|
||||
< ${WRKSRC}/runanki > ${WRKDIR}/${PORTNAME}
|
||||
@${REINPLACE_CMD} -e 's|/usr/share/|${PREFIX}/share/|' \
|
||||
${WRKSRC}/runanki
|
||||
|
||||
do-build:
|
||||
@-${PYTHON_CMD} -m compileall -f ${WRKSRC}
|
||||
@-${PYTHON_CMD} -O -m compileall -f ${WRKSRC}
|
||||
@${PYTHON_CMD} -m compileall ${WRKSRC}
|
||||
@${PYTHON_CMD} -O -m compileall ${WRKSRC}
|
||||
|
||||
do-install:
|
||||
(cd ${WRKDIR} && ${INSTALL_SCRIPT} ${PORTNAME} ${PREFIX}/bin)
|
||||
(cd ${WRKSRC} && ${INSTALL_MAN} ${PORTNAME}.1 ${MANPREFIX}/man/man1)
|
||||
@${MKDIR} ${PYTHON_SITELIBDIR}/${PORTNAME}
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/runanki ${PREFIX}/bin/${PORTNAME}
|
||||
@${MKDIR} ${DATADIR}
|
||||
.for i in anki aqt designer locale oldanki tests tools
|
||||
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} \
|
||||
${PYTHON_SITELIBDIR}/${PORTNAME})
|
||||
@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} ${DATADIR})
|
||||
.endfor
|
||||
|
||||
post-install:
|
||||
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
|
||||
@${MKDIR} ${DESKTOPDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} anki.desktop \
|
||||
${DESKTOPDIR})
|
||||
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${DESKTOPDIR}
|
||||
@${MKDIR} ${PREFIX}/share/mime/packages
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} anki.xml \
|
||||
${PREFIX}/share/mime/packages)
|
||||
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.xml \
|
||||
${PREFIX}/share/mime/packages
|
||||
@${MKDIR} ${PREFIX}/share/pixmaps
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} anki.png anki.xpm \
|
||||
${PREFIX}/share/pixmaps)
|
||||
.for p in *.png *.xpm
|
||||
${INSTALL_DATA} ${WRKSRC}/${p} \
|
||||
${PREFIX}/share/pixmaps
|
||||
.endfor
|
||||
@-update-mime-database ${PREFIX}/share/mime
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (anki-2.0.4.tgz) = faa9c96003515fa0125da489bdb8a3d601aff1767d92fa13ff8f411c3d8569c5
|
||||
SIZE (anki-2.0.4.tgz) = 2877891
|
||||
SHA256 (python/anki-2.0.6.tgz) = 53af617fa3ba5429c5a798fae9a29d48b9115e41993cded3f6e7a3c0fc2af904
|
||||
SIZE (python/anki-2.0.6.tgz) = 2913286
|
||||
|
@ -1,13 +1,13 @@
|
||||
Anki is a program designed to help you remember facts (such as words and
|
||||
phrases in a foreign language) as easily, quickly and efficiently as possible.
|
||||
To do this, it tracks how well you remember each fact, and uses that
|
||||
information to optimally schedule review times. With a minimal amount of
|
||||
effort, you can greatly increase the amount of material you remember, making
|
||||
study more productive, and more fun.
|
||||
information to optimally schedule review times. With a minimal amount
|
||||
of effort, you can greatly increase the amount of material you remember,
|
||||
making study more productive, and more fun.
|
||||
|
||||
While Anki can be used for studying anything, it also ships with special
|
||||
features designed to make studying Japanese and English easier: integrated
|
||||
dictionary lookups, missing kanji reports, and more. Sample decks are also
|
||||
provided for Russian.
|
||||
|
||||
WWW: http://ankisrs.net/
|
||||
WWW: http://ankisrs.net/
|
||||
|
1682
games/anki/pkg-plist
1682
games/anki/pkg-plist
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user