Annotation of ports/graphics/phatch/Makefile, Revision 1.4
1.1 yason 1: # $OpenBSD$
2:
3: COMMENT = photo batch processor
4:
5: DISTNAME = phatch-0.2.7.1
6:
7: CATEGORIES = graphics
8:
9: HOMEPAGE = http://photobatch.stani.be/
10:
1.4 ! kirby 11: MAINTAINER = Kirill Bychkov <kirby@openbsd.org>
1.1 yason 12:
13: # GPLv3
14: PERMIT_PACKAGE_CDROM = Yes
15:
16: MASTER_SITES = ${HOMEPAGE}/download/package/
17:
18: MODULES = lang/python
1.4 ! kirby 19: RUN_DEPENDS = devel/desktop-file-utils \
! 20: graphics/py-Pillow \
! 21: misc/shared-mime-info \
! 22: x11/gtk+2,-guic \
1.1 yason 23: x11/py-wxPython
24:
1.2 yason 25: MODPY_ADJ_FILES = setup.py bin/phatch docs/update.py phatch/lib/*.py \
26: phatch/lib/pyWx/dialogsInspector.py phatch/other/*.py \
27: tests/*.py tests/test_suite/*.py \
28: tools/change_tags.py phatch/phatch.py
1.1 yason 29:
1.4 ! kirby 30: NO_BUILD = Yes
! 31: NO_TEST = Yes
1.1 yason 32:
33: WRKDIST = ${WRKDIR}/phatch-0.2.7
1.4 ! kirby 34:
! 35: # Switch from py-Image to py-Pillow
! 36: post-extract:
! 37: find ${WRKSRC} -name *.py -exec \
! 38: perl -pi -e 's|import Image|from PIL import Image|g' {} \;
! 39: perl -pi -e 's|import PngImagePlugin|from PIL import PngImagePlugin|g' \
! 40: ${WRKSRC}/phatch/lib/thumbnail.py
! 41: perl -pi -e 's|from PIL from PIL|from PIL|g' \
! 42: ${WRKSRC}/phatch/actions/convert_mode.py
! 43: perl -pi -e 's|from PIL ||g' \
! 44: ${WRKSRC}/phatch/other/pyWx/TextCtrlAutoComplete.py
1.1 yason 45:
46: .include <bsd.port.mk>
CVSweb