2013-09-20 18:47:54 +00:00
|
|
|
# Created by: Hajimu UMEMOTO <ume@FreeBSD.org>
|
2010-02-21 16:05:16 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= gedy
|
2012-08-12 19:48:37 +00:00
|
|
|
PORTVERSION= 0.9.0
|
2014-10-15 11:45:45 +00:00
|
|
|
PORTREVISION= 1
|
2010-02-21 16:05:16 +00:00
|
|
|
CATEGORIES= japanese ruby
|
|
|
|
MASTER_SITES= http://homepage3.nifty.com/slokar/pasori/
|
|
|
|
DISTNAME= ${PORTNAME}
|
|
|
|
EXTRACT_SUFX= # empty
|
2012-08-12 19:48:37 +00:00
|
|
|
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
|
2010-02-21 16:05:16 +00:00
|
|
|
|
|
|
|
MAINTAINER= ume@FreeBSD.org
|
|
|
|
COMMENT= GNOME Edy Viewer
|
|
|
|
|
2012-08-12 19:48:37 +00:00
|
|
|
LICENSE= GPLv2
|
2011-12-05 23:55:29 +00:00
|
|
|
|
2014-03-24 20:03:27 +00:00
|
|
|
RUN_DEPENDS= rubygem-gtk2>0:${PORTSDIR}/x11-toolkits/rubygem-gtk2 \
|
2012-08-12 19:48:37 +00:00
|
|
|
${RUBY_SITEARCHLIBDIR}/pasori.so:${PORTSDIR}/devel/libpafe-ruby
|
2010-02-21 16:05:16 +00:00
|
|
|
|
|
|
|
USE_RUBY= yes
|
2014-10-15 11:45:45 +00:00
|
|
|
USES= shebangfix
|
|
|
|
SHEBANG_FILES= ${PORTNAME}
|
|
|
|
ruby_OLD_CMD= /usr/bin/ruby1.9.3
|
2010-02-21 16:05:16 +00:00
|
|
|
|
|
|
|
EXTRACT_CMD= ${CP}
|
|
|
|
EXTRACT_BEFORE_ARGS= -p
|
|
|
|
EXTRACT_AFTER_ARGS= .
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
|
2012-08-12 19:48:37 +00:00
|
|
|
post-patch:
|
2014-10-15 11:45:45 +00:00
|
|
|
@${REINPLACE_CMD} -e 's/Gdk::Atom.new(0)/Gdk::Selection::CLIPBOARD/g' \
|
|
|
|
${WRKSRC}/${PORTNAME}
|
2012-08-12 19:48:37 +00:00
|
|
|
|
2010-02-21 16:05:16 +00:00
|
|
|
do-install:
|
2014-10-15 11:45:45 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
2010-02-21 16:05:16 +00:00
|
|
|
|
2014-10-15 11:45:45 +00:00
|
|
|
.include <bsd.port.mk>
|