aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/gedy/Makefile
blob: 7964aae9988f0b92fc01d3c39f412c50c5b6f0c4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Created by: Hajimu UMEMOTO <ume@FreeBSD.org>
# $FreeBSD$

PORTNAME=   gedy
PORTVERSION=    0.9.0
PORTREVISION=   3
CATEGORIES= japanese ruby
MASTER_SITES=   http://homepage3.nifty.com/slokar/pasori/
DISTNAME=   ${PORTNAME}
EXTRACT_SUFX=   # empty
DIST_SUBDIR=    ${PORTNAME}-${PORTVERSION}

MAINTAINER= ume@FreeBSD.org
COMMENT=    GNOME Edy Viewer

LICENSE=    GPLv2

RUN_DEPENDS=    rubygem-gtk2>0:x11-toolkits/rubygem-gtk2 \
        rubygem-gio2>=3.1.0:devel/rubygem-gio2 \
        ${RUBY_SITEARCHLIBDIR}/pasori.so:devel/libpafe-ruby

USE_RUBY=       yes
USES=       shebangfix
SHEBANG_FILES=  ${PORTNAME}
ruby_OLD_CMD=   /usr/bin/ruby1.9.3

EXTRACT_CMD=        ${CP}
EXTRACT_BEFORE_ARGS=    -p
EXTRACT_AFTER_ARGS= .
NO_WRKSUBDIR=       yes
NO_ARCH=        yes
NO_BUILD=       yes

PLIST_FILES=    bin/${PORTNAME}

post-patch:
    @${REINPLACE_CMD} -e 's/Gdk::Atom.new(0)/Gdk::Selection::CLIPBOARD/g' \
        ${WRKSRC}/${PORTNAME}

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>