blob: e0394a5e977b9a47d7d871dbd5b6cd1293720806 (
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
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# New ports collection makefile for: ruby-gimp
# Date created: 28 February 2001
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= gimp
PORTVERSION= 20010315
PORTREVISION= 1
CATEGORIES= graphics ruby
MASTER_SITES= http://homepage1.nifty.com/susho/software/gimp/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ruby-${PORTNAME}-snapshot-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
BUILD_DEPENDS= gimptool:${.CURDIR}/../gimp1
LIB_DEPENDS= gimp.2:${.CURDIR}/../gimp1
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk.so:${PORTSDIR}/x11-toolkits/ruby-gtk
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
WRKSRC= ${WRKDIR}/ruby-${PORTNAME}
INSTALL_TARGET= site-install
PLIST_SUB= X11BASE="${X11BASE}"
DOCS_EN= ChangeLog \
ENVIRONMENT \
README \
TODO
DOCS_JA= doc/API.ja.html \
doc/BUGS.ja \
doc/MEMO.ja
#post-build:
# cd ${WRKSRC}/embed && ${SETENV} CC='${CC}' \
# CFLAGS='-I${RUBY_ARCHLIBDIR} -DMODULE_COMPILATION' \
# LDFLAGS='-L${PREFIX}/lib -lruby' \
# gimptool --build rubymod.c
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/plug-ins/*.rb ${X11BASE}/libexec/gimp/1.2/plug-ins/
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
.for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
.endfor
.for f in ${DOCS_JA}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ja/
.endfor
.endif
.include <bsd.port.mk>
|