aboutsummaryrefslogtreecommitdiff
path: root/graphics/rubygem-gd2/Makefile
blob: a68e1d52ceee5ab653e88b3b4db495c45f421726 (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
# Ports collection makefile for:	rubygem-gd2
# Date created:				07 June 2007
# Whom:					Alexander Logvinov <ports@logvinov.com>
#
# $FreeBSD$

PORTNAME=	gd2
PORTVERSION=	1.1.1
CATEGORIES=	graphics rubygems
MASTER_SITES=	${MASTER_SITE_RUBYFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	ports@logvinov.com
COMMENT=	Ruby binding for Thomas Boutell's gd 2.x graphics library

LIB_DEPENDS=	gd.4:${PORTSDIR}/graphics/gd

REINPLACE_ARGS=	-i ""

USE_RUBY=	yes
USE_RUBYGEMS=	yes

post-install:
	@${REINPLACE_CMD} 's|so.2|so.4|' ${PREFIX}/${GEM_LIB_DIR}/lib/gd2.rb

.include <bsd.port.mk>