diff options
author | Jeremy Messenger <mezz@FreeBSD.org> | 2005-01-12 00:11:19 +0000 |
---|---|---|
committer | Jeremy Messenger <mezz@FreeBSD.org> | 2005-01-12 00:11:19 +0000 |
commit | 39c13e2d3c28728e925ae010af1bbc6a0a3b559d (patch) | |
tree | 4e5c8dd52e9361d978a79651a2bf6b06ed3b2f2f /x11/ruby-gtktrayicon | |
parent | fix pkg-plist (diff) |
- 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]
Notes
Notes:
svn path=/head/; revision=126173
Diffstat (limited to 'x11/ruby-gtktrayicon')
-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 ec1f1187aff6..bc6dff835f7a 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 779bdc7ac8db..bada76f2531e 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%% |