2011-04-22 15:41:54 +02:00
|
|
|
# $NetBSD: Makefile,v 1.30 2011/04/22 13:43:42 obache Exp $
|
2006-07-06 22:36:02 +02:00
|
|
|
#
|
|
|
|
|
2009-04-20 11:17:19 +02:00
|
|
|
DISTNAME= comix-4.0.4
|
2011-04-22 15:41:54 +02:00
|
|
|
PKGREVISION= 9
|
2006-07-06 22:36:02 +02:00
|
|
|
CATEGORIES= graphics python
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=comix/}
|
|
|
|
|
|
|
|
MAINTAINER= hugor@users.sourceforge.net
|
|
|
|
HOMEPAGE= http://comix.sourceforge.net/index.html
|
|
|
|
COMMENT= Image viewer specifically designed to handle comic books
|
2009-04-20 11:17:19 +02:00
|
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
|
2008-08-10 18:05:28 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2006-07-06 22:36:02 +02:00
|
|
|
DEPENDS+= unrar-[0-9]*:../../archivers/unrar
|
2008-12-06 20:43:27 +01:00
|
|
|
.include "../../lang/python/extension.mk"
|
|
|
|
.if ${PYPKGPREFIX} == "py24"
|
|
|
|
.include "../../databases/py-sqlite2/buildlink3.mk"
|
|
|
|
.else
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
|
|
|
|
.endif
|
2006-07-06 22:36:02 +02:00
|
|
|
|
|
|
|
MANCOMPRESSED= yes
|
|
|
|
|
2010-01-27 11:24:08 +01:00
|
|
|
.include "options.mk"
|
|
|
|
|
2006-07-06 22:36:02 +02:00
|
|
|
SUBST_CLASSES+= install-path
|
|
|
|
SUBST_STAGE.install-path= pre-build
|
|
|
|
SUBST_MESSAGE.install-path= Fixing man page installation path.
|
|
|
|
SUBST_FILES.install-path= install.py
|
|
|
|
SUBST_SED.install-path= -e "s,share/man/man,${PKGMANDIR}/man,g"
|
|
|
|
|
2008-12-06 19:40:33 +01:00
|
|
|
PYTHON_PATCH_SCRIPTS= src/comix.py mime/comicthumb
|
2006-07-06 22:36:02 +02:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
|
|
|
|
do-install:
|
2008-12-06 19:40:33 +01:00
|
|
|
cd ${WRKSRC} && ${PYTHONBIN} install.py install --dir ${DESTDIR}${PREFIX}
|
2006-07-06 22:36:02 +02:00
|
|
|
|
2008-12-06 19:40:33 +01:00
|
|
|
.include "../../databases/shared-mime-info/mimedb.mk"
|
2006-07-06 22:36:02 +02:00
|
|
|
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
|
2008-12-06 19:40:33 +01:00
|
|
|
BUILDLINK_API_DEPENDS.pyimaging+= ${PYPKGPREFIX}-imaging>=1.1.5
|
2006-07-06 22:36:02 +02:00
|
|
|
.include "../../graphics/py-imaging/buildlink3.mk"
|
|
|
|
.include "../../lang/python/application.mk"
|
2010-01-27 11:24:08 +01:00
|
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
2008-12-06 19:40:33 +01:00
|
|
|
BUILDLINK_API_DEPENDS.pygtk2+= ${PYPKGPREFIX}-gtk2>=2.12
|
2006-07-06 22:36:02 +02:00
|
|
|
.include "../../x11/py-gtk2/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|