pkgsrc/graphics/py-gd/Makefile

40 lines
1.1 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.18 2004/06/20 21:52:08 xtraeme Exp $
DISTNAME= gdmodule.c
2002-01-19 18:49:14 +01:00
PKGNAME= ${PYPKGPREFIX}-gd-1.3
PKGREVISION= 4
CATEGORIES= graphics
MASTER_SITES= http://starship.python.net/~richard/gdmodule/
DISTFILES= gdmodule.c
2003-07-17 23:41:05 +02:00
MAINTAINER= tsarna@NetBSD.org
HOMEPAGE= http://starship.python.net/~richard/gdmodule/
COMMENT= Python interface to gd graphics library
1999-11-01 04:34:31 +01:00
EXTRACT_CMD= ${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}
WRKSRC= ${WRKDIR}
ALL_TARGET= default
2004-04-25 08:58:43 +02:00
USE_BUILDLINK3= yes
2002-01-19 18:49:14 +01:00
# this pkg uses Makefile.pre.in
PYTHON_VERSIONS_ACCEPTED= 20 21
BUILDLINK_DEPENDS.python20= python20>=2.0.1nb1
BUILDLINK_DEPENDS.python21= python21>=2.1.1nb1
PY_PATCHPLIST= yes
1999-11-01 04:34:31 +01:00
post-extract:
${SED} -e 's,@LOCALBASE@,${LOCALBASE},g' \
-e 's,@X11BASE@,${X11BASE},g' \
${FILESDIR}/Setup.in > ${WRKSRC}/Setup.in
do-configure:
2002-01-19 18:49:14 +01:00
${CP} ${PREFIX}/${PYLIB}/config/Makefile.pre.in ${WRKSRC}
1999-11-01 04:34:31 +01:00
cd ${WRKSRC}; ${MAKE} -f Makefile.pre.in boot
2004-04-25 08:58:43 +02:00
.include "../../graphics/freetype-lib/buildlink3.mk"
.include "../../graphics/gd/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../mk/bsd.pkg.mk"