diff options
-rw-r--r-- | x11/ruby-gtktrayicon/Makefile | 17 | ||||
-rw-r--r-- | x11/ruby-gtktrayicon/pkg-plist | 7 |
2 files changed, 20 insertions, 4 deletions
diff --git a/x11/ruby-gtktrayicon/Makefile b/x11/ruby-gtktrayicon/Makefile index ec1f118..bc6dff8 100644 --- a/x11/ruby-gtktrayicon/Makefile +++ b/x11/ruby-gtktrayicon/Makefile @@ -15,21 +15,30 @@ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DISTNAME= ruby-gtktrayicon-${PORTVERSION} DIST_SUBDIR= ruby -MAINTAINER= ports@FreeBSD.org +MAINTAINER= mezz@FreeBSD.org COMMENT= Ruby binding for GtkTrayIcon BUILD_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2 RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2 BROKEN= "Configure fails" -EXPIRATION_DATE=2005-02-18 -DEPRECATED= ${BROKEN} USE_RUBY= yes USE_GNOME= gtk20 USE_RUBY_EXTCONF= yes -USE_XLIB= yes INSTALL_TARGET= site-install +DOCS= COPYING.LIB ChangeLog NEWS README + +post-install: +.if !defined(NOPORTDOCS) + @${MKDIR} ${RUBY_MODEXAMPLESDIR} + @${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/ + @${MKDIR} ${RUBY_MODDOCDIR} +.for f in ${DOCS} + @${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ +.endfor +.endif + .include <bsd.port.mk> diff --git a/x11/ruby-gtktrayicon/pkg-plist b/x11/ruby-gtktrayicon/pkg-plist index 779bdc7..bada76f 100644 --- a/x11/ruby-gtktrayicon/pkg-plist +++ b/x11/ruby-gtktrayicon/pkg-plist @@ -1,2 +1,9 @@ %%RUBY_SITEARCHLIBDIR%%/gtktrayicon.so %%RUBY_SITELIBDIR%%/gtktrayicon.rb +%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/hello.rb +%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%% +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/COPYING.LIB +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/NEWS +%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README +%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%% |