2007-05-06 18:35:55 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.2 2007/05/06 22:35:55 alek Exp $
|
2007-02-05 02:25:31 -05:00
|
|
|
|
2007-05-06 18:35:55 -04:00
|
|
|
COMMENT= "gtk2 comic book viewer"
|
2007-02-05 02:25:31 -05:00
|
|
|
|
|
|
|
DISTNAME= comix-3.6.2
|
2007-05-06 18:35:55 -04:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
2007-02-05 02:25:31 -05:00
|
|
|
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/}
|
|
|
|
|
2007-05-06 18:35:55 -04:00
|
|
|
MODULES= lang/python
|
2007-02-05 02:25:31 -05:00
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
2007-05-06 18:35:55 -04:00
|
|
|
RUN_DEPENDS= ::graphics/py-Imaging \
|
2007-02-05 02:25:31 -05:00
|
|
|
::x11/py-gtk2
|
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
PYTHON= ${LOCALBASE}/bin/python${MODPY_VERSION}
|
|
|
|
|
2007-05-06 18:35:55 -04:00
|
|
|
do-build:
|
|
|
|
# defined as empty to override do-build target from python module
|
|
|
|
|
2007-02-05 02:25:31 -05:00
|
|
|
do-install:
|
2007-05-06 18:35:55 -04:00
|
|
|
cd ${WRKSRC} && ${MODPY_BIN} install.py --installdir ${PREFIX} \
|
2007-02-05 02:25:31 -05:00
|
|
|
--no-mime --no-balloon install
|
2007-05-06 18:35:55 -04:00
|
|
|
perl -pi -e "s,#!/usr/bin/env python,#!${MODPY_BIN}," \
|
|
|
|
${PREFIX}/bin/comix
|
2007-02-05 02:25:31 -05:00
|
|
|
|
|
|
|
PKG_ARCH= *
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|