diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2011-11-17 14:40:48 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2011-11-17 14:40:48 +0000 |
commit | 9f3a14eb3001d0b91d5cdd6528b6e97ee8f2a64f (patch) | |
tree | 2a4ce6babc74bceadb9d0771deda994097e760f8 /x11-toolkits/py-fltk | |
parent | 6870b4b334922251420b8b3f6cfa4d80943b3f37 (diff) | |
download | ports-9f3a14eb3001d0b91d5cdd6528b6e97ee8f2a64f.tar.gz ports-9f3a14eb3001d0b91d5cdd6528b6e97ee8f2a64f.zip |
Notes
Diffstat (limited to 'x11-toolkits/py-fltk')
-rw-r--r-- | x11-toolkits/py-fltk/Makefile | 9 | ||||
-rw-r--r-- | x11-toolkits/py-fltk/distinfo | 4 |
2 files changed, 5 insertions, 8 deletions
diff --git a/x11-toolkits/py-fltk/Makefile b/x11-toolkits/py-fltk/Makefile index 52c388249e5d..d267aa3829c8 100644 --- a/x11-toolkits/py-fltk/Makefile +++ b/x11-toolkits/py-fltk/Makefile @@ -6,7 +6,7 @@ # PORTNAME= fltk -PORTVERSION= 1.1.5 +PORTVERSION= 1.3.0 CATEGORIES= x11-toolkits python #MASTER_SITES= SF/py${PORTNAME}/py${PORTNAME}/py${PORTNAME}-${PORTVERSION} MASTER_SITES= SF/py${PORTNAME}/py${PORTNAME}/${DISTNAME} @@ -18,23 +18,20 @@ COMMENT= Python interface to FLTK window toolkit LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk -BROKEN== does not compile - USE_PYTHON= 2.5+ USE_PYDISTUTILS= yes USE_XORG= x11 PYDISTUTILS_PKGNAME= pyFltk -PYDISTUTILS_PKGVERSION= 1.1.5 MAKE_ENV+= FLTK_HOME=${LOCALBASE}/bin DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} XTRADOCS= CHANGES README TODO +CFLAGS+= -DFL_LIBRARY post-patch: - @${REINPLACE_CMD} -e "s|/usr/X11R6|${LOCALBASE}|g;s|package_data.*},||g;s|sunos5|freebsd8', 'freebsd9|g" ${WRKSRC}/setup.py - @${REINPLACE_CMD} -e 's|>mininum|>minimum|g;s|>maxinum|>maximum|g;s|int size_buffer|Py_ssize_t size_buffer|g' ${WRKSRC}/python/fltk_wrap.cpp + @${REINPLACE_CMD} -e "s|/usr/X11R6|${LOCALBASE}|g;s|package_data.*},||g;s|sunos5|freebsd8', 'freebsd9', 'freebsd10|g" ${WRKSRC}/setup.py post-build: ${REINPLACE_CMD} -e "s|\.\./docs|${DOCSDIR}/html|g" ${WRKSRC}/fltk/test/help.py diff --git a/x11-toolkits/py-fltk/distinfo b/x11-toolkits/py-fltk/distinfo index 24a2e5fde810..6e45f8415885 100644 --- a/x11-toolkits/py-fltk/distinfo +++ b/x11-toolkits/py-fltk/distinfo @@ -1,2 +1,2 @@ -SHA256 (pyFltk-1.1.5.tar.gz) = 278234198cf59b6e687cb4949e609ef766e29076f81fed4492cf31ab353c5a5c -SIZE (pyFltk-1.1.5.tar.gz) = 864463 +SHA256 (pyFltk-1.3.0.tar.gz) = c52852d21ee17d495185259b46ac9603d683edde7d7e6d4b6f9268da4ee3de57 +SIZE (pyFltk-1.3.0.tar.gz) = 915600 |