gonzalo 49715ad20f Update for Comix to 4.0.4:
* Applied a workaround for a bug that caused the "Open" dialog to
  crash when trying to open a file when the file type filter had been
  reset to blank. This bug seems to only appear on some systems,
  probably depending on the installed GTK+ version.
* Fixed a bug that caused the error message for unfulfilled
  dependencies to not be printed properly.
* The rar/unrar program is now invoked in such a way as to keep
  broken or incomplete files extracted from RAR archives, since Comix
  might be able to display parts of these files anyway.

While here add HOMEPAGE.

Ok landry@
2013-04-29 12:57:58 +00:00

50 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.32 2013/04/29 12:57:58 gonzalo Exp $
COMMENT= gtk2 comic book viewer
DISTNAME= comix-4.0.4
CATEGORIES= graphics
HOMEPAGE= http://comix.sourceforge.net/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=comix/}
MODULES= lang/python \
devel/gconf2
MODGCONF2_LIBDEP= No
MODGCONF2_SCHEMAS_DIR= comix
BUILD_DEPENDS= graphics/py-Imaging \
x11/py-gtk2
RUN_DEPENDS= graphics/py-Imaging \
x11/py-gtk2 \
misc/shared-mime-info \
devel/desktop-file-utils \
x11/gtk+2,-guic
USE_GROFF = Yes
NO_TEST= Yes
post-extract:
${GUNZIP_CMD} ${WRKSRC}/comix.1.gz ${WRKSRC}/mime/comicthumb.1.gz
do-build:
${SUBST_CMD} -c ${WRKSRC}/src/comix.py ${WRKSRC}/comix
do-install:
cd ${WRKSRC} && ${MODPY_BIN} install.py --dir ${PREFIX} install
# schemas files are always installed under LOCALBASE, not PREFIX
${INSTALL_DATA_DIR} ${WRKINST}/${LOCALBASE}/${SCHEMAS_INSTDIR}/
${INSTALL_DATA} ${WRKSRC}/mime/comicbook.schemas \
${WRKINST}/${LOCALBASE}/${SCHEMAS_INSTDIR}/
PKG_ARCH= *
.include <bsd.port.mk>