diff options
Diffstat (limited to 'x11-toolkits/hippo-canvas/Makefile')
-rw-r--r-- | x11-toolkits/hippo-canvas/Makefile | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/x11-toolkits/hippo-canvas/Makefile b/x11-toolkits/hippo-canvas/Makefile index 93c72e6ab762..dd85cc7d9460 100644 --- a/x11-toolkits/hippo-canvas/Makefile +++ b/x11-toolkits/hippo-canvas/Makefile @@ -6,9 +6,8 @@ # PORTNAME= hippo-canvas -PORTVERSION= 0.2.31 -PORTREVISION= 1 -CATEGORIES= x11-toolkits +PORTVERSION= 0.3.0 +CATEGORIES= x11-toolkits gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/} @@ -17,8 +16,7 @@ COMMENT= A client stacker popup widget for GTK+ toolkit BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/libcroco-0.6.pc:${PORTSDIR}/textproc/libcroco \ ${LOCALBASE}/libdata/pkgconfig/cairo.pc:${PORTSDIR}/graphics/cairo \ - ${LOCALBASE}/libdata/pkgconfig/pycairo.pc:${PORTSDIR}/graphics/py-cairo \ - ${LOCALBASE}/bin/gtkdocize:${PORTSDIR}/textproc/gtk-doc + ${LOCALBASE}/libdata/pkgconfig/pycairo.pc:${PORTSDIR}/graphics/py-cairo LIB_DEPENDS= croco-0.6.3:${PORTSDIR}/textproc/libcroco \ cairo.2:${PORTSDIR}/graphics/cairo RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/pycairo.pc:${PORTSDIR}/graphics/py-cairo @@ -28,7 +26,16 @@ USE_BZIP2= yes USE_GNOME= gnomehack gtk20 glib20 pygtk2 pango USE_PYTHON= 2.5+ GNU_CONFIGURE= yes -CONFIGURE_ARGS= --enable-python --enable-gtk-doc +CONFIGURE_ARGS= --enable-python USE_LDCONFIG= yes +.if !defined(NOPORTDOCS) +CONFIGURE_ARGS+= --enable-gtk-doc +BUILD_DEPENDS+= ${LOCALBASE}/bin/gtkdocize:${PORTSDIR}/textproc/gtk-doc +.else +CONFIGURE_ARGS+= --disable-gtk-doc +pre-configure: + ${REINPLACE_CMD} -e 's/^SUBDIRS =.*$$/SUBDIRS = ./g' ${WRKSRC}/Makefile.in +.endif + .include <bsd.port.mk> |