diff options
author | mezz <mezz@FreeBSD.org> | 2005-01-12 00:11:19 +0000 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2005-01-12 00:11:19 +0000 |
commit | f237294bc3dc81d6d9e8d2055085daeaded891f8 (patch) | |
tree | 51de811c1d80d1f41e6db79bbe88d6cdefb8007a /x11 | |
parent | 837f81574834c2456e7481be54ce33fd4cf30e62 (diff) | |
download | FreeBSD-ports-f237294bc3dc81d6d9e8d2055085daeaded891f8.zip FreeBSD-ports-f237294bc3dc81d6d9e8d2055085daeaded891f8.tar.gz |
- Take the maintainership.
- Add install the example and doc files.
- Remove the DEPRECATED/EXPIRATION_DATE. It's ruby's fault that need to add
-pthread. Current, this port works perfect for me when I hack in ruby by add
-pthread in the LDFLAGS and reinstall it. [1]
Ok'ed by: kris [1]
Diffstat (limited to 'x11')
-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%% |