44 lines
955 B
Makefile
44 lines
955 B
Makefile
# $OpenBSD: Makefile,v 1.21 2013/03/11 22:59:56 fgsch Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= flash-card tool which optimises your learning process
|
|
|
|
MODPY_EGG_VERSION=2.1
|
|
DISTNAME= Mnemosyne-${MODPY_EGG_VERSION}
|
|
PKGNAME= ${DISTNAME:L}
|
|
CATEGORIES= games education
|
|
REVISION = 0
|
|
|
|
HOMEPAGE= http://www.mnemosyne-proj.org/
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mnemosyne-proj/}
|
|
|
|
MODULES= lang/python
|
|
|
|
MODPY_SETUPTOOLS=yes
|
|
|
|
RUN_DEPENDS= x11/py-qt4 \
|
|
textproc/py-xml \
|
|
graphics/py-Imaging \
|
|
graphics/py-matplotlib \
|
|
www/py-CherryPy \
|
|
devel/desktop-file-utils
|
|
|
|
NO_TEST= Yes
|
|
|
|
MODPY_ADJ_FILES = ${WRKSRC}/mnemosyne/pyqt_ui/mnemosyne
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/applications
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/pixmaps
|
|
${INSTALL_DATA} ${WRKSRC}/mnemosyne.desktop \
|
|
${PREFIX}/share/applications
|
|
${INSTALL_DATA} ${WRKSRC}/pixmaps/mnemosyne.png \
|
|
${PREFIX}/share/pixmaps
|
|
|
|
.include <bsd.port.mk>
|