summaryrefslogtreecommitdiff
path: root/devel/ruby-gconf/Makefile
blob: 9a121a2c5dca58d7cc17d8712f4e1b9b95022fd0 (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
# New ports collection makefile for:	ruby-gconf
# Date created:		20 October 2001
# Whom:			Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=	gconf
PORTVERSION=	0.2
CATEGORIES=	devel ruby
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	ruby-gnome
PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
DISTNAME=	ruby-${PORTNAME}-${PORTVERSION}
DIST_SUBDIR=	ruby

MAINTAINER=	knu@FreeBSD.org

LIB_DEPENDS=	gconf-gtk-1.1:${PORTSDIR}/devel/gconf

USE_RUBY=	yes
USE_RUBY_EXTCONF=	yes
USE_GNOMENG=	yes
USE_GNOME=	gtk12

CONFIGURE_ARGS=	--with-gtk-config=${GTK_CONFIG}
INSTALL_TARGET=	site-install

DOCS=	CREDITS \
	ChangeLog \
	INSTALL \
	Makefile \
	README \
	README.DEV \
	TODO

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
.for f in ${DOCS}
	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
.endfor
.endif

.include <bsd.port.mk>