Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # $OpenBSD: Makefile,v 1.39 2015/10/16 15:35:18 naddy Exp $
  2. COMMENT= gtk2 comic book viewer
  3. DISTNAME= comix-4.0.4
  4. REVISION= 4
  5. CATEGORIES= graphics
  6. HOMEPAGE= http://comix.sourceforge.net/
  7. # GPLv2
  8. PERMIT_PACKAGE_CDROM= Yes
  9. MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=comix/}
  10. MODULES= lang/python \
  11. devel/gconf2
  12. MODGCONF2_LIBDEP= No
  13. MODGCONF2_SCHEMAS_DIR= comix
  14. BUILD_DEPENDS= graphics/py-Pillow \
  15. x11/py-gtk2
  16. RUN_DEPENDS= graphics/py-Pillow \
  17. x11/py-gtk2 \
  18. misc/shared-mime-info \
  19. devel/desktop-file-utils \
  20. x11/gtk+3,-guic
  21. NO_TEST= Yes
  22. post-extract:
  23. gzip -d ${WRKSRC}/comix.1.gz ${WRKSRC}/mime/comicthumb.1.gz
  24. do-build:
  25. ${SUBST_CMD} -c ${WRKSRC}/src/comix.py ${WRKSRC}/comix
  26. do-install:
  27. cd ${WRKSRC} && ${MODPY_BIN} install.py --dir ${PREFIX} install
  28. # schemas files are always installed under LOCALBASE, not PREFIX
  29. ${INSTALL_DATA_DIR} ${WRKINST}/${LOCALBASE}/${SCHEMAS_INSTDIR}/
  30. ${INSTALL_DATA} ${WRKSRC}/mime/comicbook.schemas \
  31. ${WRKINST}/${LOCALBASE}/${SCHEMAS_INSTDIR}/
  32. PKG_ARCH= *
  33. .include <bsd.port.mk>