pkgsrc/graphics/skencil/Makefile
tv c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00

46 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.3 2004/10/03 00:14:58 tv Exp $
#
DISTNAME= skencil-0.6.16
PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sketch/}
MAINTAINER= uebayasi@NetBSD.org
HOMEPAGE= http://sketch.sourceforge.net/
COMMENT= Interactive drawing program
USE_X11= YES
USE_BUILDLINK3= yes
PYTHON_PATCH_SCRIPTS= sk2ppm.py sk2ps.py skconvert.py skencil.py skshow.py
SK_CONF_ARGS= --imaging-include=${BUILDLINK_PREFIX.pyimaging}/${PYINC}/PIL
SK_TKFLAGS= -L${BUILDLINK_PREFIX.tk}/lib -R${BUILDLINK_PREFIX.tk}/lib -ltk -ltcl
SK_TKFLAGS+= -R${X11BASE}/lib
SK_CONF_ARGS+= --tk-flags=${SK_TKFLAGS:Q}
do-configure:
cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
${PYTHONBIN} setup.py configure ${SK_CONF_ARGS}
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHONBIN} setup.py build
do-install:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHONBIN} setup.py install \
--prefix=${PREFIX}
SKETCHDOCDIR= ${PREFIX}/share/doc/skencil
SKETCHDOCS= BUGS Doc NEWS PROJECTS README TODO
SKETCHEXDIR= ${PREFIX}/share/examples/skencil
post-install:
${INSTALL_DATA_DIR} ${SKETCHDOCDIR}
cd ${WRKSRC} && ${PAX} -rwpm -v ${SKETCHDOCS} ${SKETCHDOCDIR}
${INSTALL_DATA_DIR} ${SKETCHEXDIR}
cd ${WRKSRC}/Examples && ${PAX} -rwpm -v . ${SKETCHEXDIR}
.include "../../lang/python/application.mk"
.include "../../x11/py-Tk/buildlink3.mk"
.include "../../graphics/py-imaging/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"