diff options
author | Jeremy Lea <reg@FreeBSD.org> | 2000-10-05 06:57:56 +0000 |
---|---|---|
committer | Jeremy Lea <reg@FreeBSD.org> | 2000-10-05 06:57:56 +0000 |
commit | bebd89314e57ff34ea47724c5605a0f32c425dcf (patch) | |
tree | d991da3f3e4ccc0cc8f9eab35d1891ca59b0fd9a /x11-toolkits/ruby-gtk2 | |
parent | 3707e5b7408ecadb0bda141dd82ec9bbca5d0267 (diff) | |
download | ports-bebd89314e57ff34ea47724c5605a0f32c425dcf.tar.gz ports-bebd89314e57ff34ea47724c5605a0f32c425dcf.zip |
Notes
Diffstat (limited to 'x11-toolkits/ruby-gtk2')
-rw-r--r-- | x11-toolkits/ruby-gtk2/Makefile | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/x11-toolkits/ruby-gtk2/Makefile b/x11-toolkits/ruby-gtk2/Makefile index e992ce9b8c04..5a21425408b5 100644 --- a/x11-toolkits/ruby-gtk2/Makefile +++ b/x11-toolkits/ruby-gtk2/Makefile @@ -15,22 +15,24 @@ DIST_SUBDIR= ruby MAINTAINER= yasuf@bsdclub.org -LIB_DEPENDS= gtk12.2:${PORTSDIR}/x11-toolkits/gtk12 +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} USE_RUBY= yes USE_RUBY_EXTCONF= yes - USE_XLIB= yes +USE_GTK= yes +WANT_IMLIB= yes -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -CONFIGURE_ARGS= ${GTK_CONFIG} INSTALL_TARGET= site-install -.if defined(WITHOUT_IMLIB) -GTK_CONFIG?= ${X11BASE}/bin/gtk12-config +.include <bsd.port.pre.mk> + +.if defined(HAVE_IMLIB) +USE_IMLIB= yes .else -LIB_DEPENDS+= Imlib.5:${PORTSDIR}/graphics/imlib -GTK_CONFIG?= ${X11BASE}/bin/imlib-config +PLIST= ${WRKDIR}/PLIST +pre-install: + @${SED} -e '/gdkimlib/d' ${PKGDIR}/PLIST > ${PLIST} .endif post-configure: @@ -43,7 +45,7 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${RUBY_EXAMPLESDIR}/gtk ${MKDIR} ${RUBY_EXAMPLESDIR}/gtk/browser ${INSTALL_DATA} ${WRKSRC}/doc/*.rb ${RUBY_EXAMPLESDIR}/gtk/browser -.if !defined(NO_IMLIB) +.if defined(HAVE_IMLIB) ${MKDIR} ${RUBY_EXAMPLESDIR}/gtk/gdkimlib ${INSTALL_DATA} ${WRKSRC}/sample/gdkimlib/*.rb ${RUBY_EXAMPLESDIR}/gtk/gdkimlib .endif @@ -52,4 +54,4 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/doc/api-ja/* ${RUBY_DOCDIR}/gtk/ja .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> |