aboutsummaryrefslogtreecommitdiff
path: root/www/rubygem-scrapi/Makefile
blob: b68cfcbbdccfa3ff799e430d47851a384bc23e35 (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
# New ports collection makefile for:	rubygem-scrapi
# Date created:				29 Jan 2007
# Whom:					IWATSUKI Hiroyuki <don@na.rim.or.jp>
#
# $FreeBSD$
#

PORTNAME=	scrapi
PORTVERSION=	1.2.0
CATEGORIES=	www rubygems
MASTER_SITES=	${MASTER_SITE_RUBYFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	don@na.rim.or.jp
COMMENT=	A scrAPI toolkit for Ruby

BUILD_DEPENDS=	${LOCALBASE}/${SPEC_DIR}/tidy-1.1.2.gemspec:${PORTSDIR}/textproc/rubygem-tidy \
		tidy:${PORTSDIR}/www/tidy-lib

USE_RUBY=	yes
USE_RUBYGEMS=	yes
USE_LDCONFIG=	yes

.include <bsd.port.pre.mk>

post-install:
	${RM} -f ${LOCALBASE}/${GEM_LIB_DIR}/lib/tidy/libtidy.dll
	${RM} -f ${LOCALBASE}/${GEM_LIB_DIR}/lib/tidy/libtidy.so
	${LN} -sf ${LOCALBASE}/lib/libtidy.so ${LOCALBASE}/${GEM_LIB_DIR}/lib/tidy/

.include <bsd.port.post.mk>