a1b7c39eb5
Don't redirect errors to /dev/null and don't return true(1) unconditionally. Instead, don't check for the existence of index.theme. This will allow us to catch errors that may be happening because of a missing dependency in the chain. Some hidden issues may appear, in which case please contact me. discussed with and ok blind jasper@
52 lines
1.1 KiB
Makefile
52 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.26 2012/06/15 08:32:16 ajacoutot Exp $
|
|
|
|
COMMENT= gtk2 comic book viewer
|
|
|
|
DISTNAME= comix-4.0.3
|
|
REVISION= 9
|
|
|
|
CATEGORIES= graphics
|
|
|
|
MAINTAINER= Mathieu Sauve-Frankel <msf@openbsd.org>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=comix/}
|
|
|
|
MODULES= lang/python \
|
|
devel/gconf2
|
|
|
|
MODGCONF2_LIBDEP= No
|
|
MODGCONF2_SCHEMAS_DIR= comix
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS} \
|
|
x11/gtk+2,-guic
|
|
RUN_DEPENDS= graphics/py-Imaging \
|
|
x11/py-gtk2 \
|
|
misc/shared-mime-info \
|
|
devel/desktop-file-utils
|
|
|
|
USE_GROFF = Yes
|
|
NO_REGRESS= 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>
|