Annotation of ports/graphics/sk1project/editor/Makefile, Revision 1.1
1.1 ! yason 1: # $OpenBSD$
! 2:
! 3: COMMENT = vector graphics editor
! 4:
! 5: V = 0.9.1pre_rev1014
! 6: DISTNAME = sK1-${V}
! 7: PKGNAME = ${DISTNAME:L}
! 8:
! 9: WANTLIB = X11 Xext m z
! 10:
! 11: MASTER_SITES = ${HOMEPAGE}/downloads/sk1/${V}/
! 12:
! 13: MODULES = devel/gettext \
! 14: lang/python \
! 15: x11/tk
! 16:
! 17: #XXX lcms shoul be compiled --with-python
! 18: LIB_DEPENDS = ${MODTK_LIB_DEPENDS} \
! 19: cairo.>=9::graphics/cairo \
! 20: ::graphics/py-Imaging \
! 21: ::print/py-reportlab/reportlab
! 22:
! 23: RUN_DEPENDS = ::graphics/sk1libs
! 24:
! 25: MAKE_ENV = CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/cairo \
! 26: -I${MODTCL_INCDIR} -I${MODTK_INCDIR} -I${X11BASE}/include" \
! 27: LDFLAGS="-L${LOCALBASE}/lib -L${MODTCL_LIBDIR} -L${MODTK_LIBDIR} \
! 28: -L${X11BASE}/lib -liconv -lintl"
! 29:
! 30: #NO_REGRESS = Yes
! 31:
! 32: do-configure:
! 33: perl -pi -e "s,tcl_ver=\'\',tcl_ver=\'${MODTK_VERSION:S/.//}\',g" ${WRKSRC}/setup.py
! 34: perl -pi -e 's,/usr/bin/python,${MODPY_BIN},g' ${WRKSRC}/src/__init__.py
! 35: perl -pi -e 's,python,${MODPY_BIN},g' ${WRKSRC}/src/sk1
! 36:
! 37: .include <bsd.port.mk>
CVSweb