b371d32dd8
Comix 4.0.2 - Brazilian Portuguese translation updated by Marcelo Góes. - Traditional Chinese translation updated by Wayne Su. - Catalan translation updated by Carles Escrig Royo. - Internal filenames in archives created by the archive editing dialog no longer contain temporary filename cruft.
46 lines
1.4 KiB
Makefile
46 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.16 2009/01/04 22:19:23 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= comix-4.0.2
|
|
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
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
DEPENDS+= unrar-[0-9]*:../../archivers/unrar
|
|
.include "../../lang/python/extension.mk"
|
|
.if ${PYPKGPREFIX} == "py24"
|
|
.include "../../databases/py-sqlite2/buildlink3.mk"
|
|
.else
|
|
DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3
|
|
.endif
|
|
|
|
USE_DIRS+= xdg-1.3
|
|
MANCOMPRESSED= yes
|
|
|
|
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"
|
|
|
|
PYTHON_PATCH_SCRIPTS= src/comix.py mime/comicthumb
|
|
|
|
do-build:
|
|
|
|
do-install:
|
|
cd ${WRKSRC} && ${PYTHONBIN} install.py install --dir ${DESTDIR}${PREFIX}
|
|
|
|
.include "../../databases/shared-mime-info/mimedb.mk"
|
|
.include "../../devel/GConf/buildlink3.mk"
|
|
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
|
|
BUILDLINK_API_DEPENDS.pyimaging+= ${PYPKGPREFIX}-imaging>=1.1.5
|
|
.include "../../graphics/py-imaging/buildlink3.mk"
|
|
.include "../../lang/python/application.mk"
|
|
BUILDLINK_API_DEPENDS.pygtk2+= ${PYPKGPREFIX}-gtk2>=2.12
|
|
.include "../../x11/py-gtk2/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|