head	1.5;
access;
symbols
	RELEASE_8_3_0:1.4
	RELEASE_9_0_0:1.4
	RELEASE_7_4_0:1.2
	RELEASE_8_2_0:1.2
	RELEASE_6_EOL:1.1;
locks; strict;
comment	@# @;


1.5
date	2012.11.17.06.01.03;	author svnexp;	state Exp;
branches;
next	1.4;

1.4
date	2011.08.05.00.33.28;	author swills;	state Exp;
branches;
next	1.3;

1.3
date	2011.05.14.15.56.41;	author arved;	state Exp;
branches;
next	1.2;

1.2
date	2011.01.09.22.06.06;	author ohauer;	state Exp;
branches;
next	1.1;

1.1
date	2010.08.12.20.51.32;	author ohauer;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Switch exporter over
@
text
@# New ports collection makefile for:    dradis
# Date created:				09 May 2010
# Whom:					Dax Labrador <semprix@@bsdmail.org>
#
# $FreeBSD: head/security/dradis/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	dradis
DISTVERSION=	2.6.1
CATEGORIES=	security
MASTER_SITES=	SF
MASTER_SITE_SUBDIR=${PORTNAME:L}/${PORTNAME:L}/v${PORTVERSION}
DISTNAME=	${PORTNAME}-v${PORTVERSION}

MAINTAINER=	semprix@@gmx.com
COMMENT=	Opensource framework to enable effective information gathering

RUN_DEPENDS=	${LOCALBASE}/bin/gem:${PORTSDIR}/devel/ruby-gems \
		${RUBY_SITELIBDIR}/wirble.rb:${PORTSDIR}/devel/ruby-wirble \
		rubygem-rake>=0.8.7:${PORTSDIR}/devel/rubygem-rake \
		rubygem-rails>=3.0.5:${PORTSDIR}/www/rubygem-rails \
		rubygem-activesupport>=3.0.2:${PORTSDIR}/devel/rubygem-activesupport \
		rubygem-bundler>=1.0.7:${PORTSDIR}/sysutils/rubygem-bundler \
		rubygem-redcloth>=4.2.7:${PORTSDIR}/www/rubygem-redcloth \
		rubygem-sqlite3>=1.3.2:${PORTSDIR}/databases/rubygem-sqlite3

LICENSE=	GPLv2

USE_RC_SUBR=	dradis
SUB_FILES=	pkg-message
SUB_LIST=	INSTDIR="${PREFIX}/${INSTDIR}" \
		RUBY_CMD=${RUBY_WITHOUT_SUFFIX}

INSTDIR?=	${PORTNAME}
WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION:R}

NO_BUILD=	yes
USE_RUBY=	yes
USE_RUBY_FEATURES=	iconv
RUBY_SHEBANG_FILES=	server/script/rails server/script/delayed_job
RUBY_NO_BUILD_DEPENDS=	yes

USE_DOS2UNIX=	yes
DOS2UNIX_REGEX=	.*(css|rb|txt|js|RELEASE_NOTES)$$

pre-install:
	@@${FIND} ${WRKSRC}/server -type f \( -name "*.bak" -o -name "*.orig" -o -name "*.swp" \) -delete

do-install:
	@@${MKDIR} ${PREFIX}/${PORTNAME}
	@@( cd ${WRKSRC} && ${COPYTREE_SHARE} server ${PREFIX}/${PORTNAME}/ )

post-install:
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
@


1.4
log
@- Fix build with Ruby 1.9

With hat:		ruby@@
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.3
log
@Update to 2.6.1

PR:		156140
Submitted by:	maintainer
@
text
@d18 2
a19 3
RUN_DEPENDS=	ruby18-gems>=1.3.6:${PORTSDIR}/devel/ruby-gems \
		ruby18-iconv>=1.8.7.302,1:${PORTSDIR}/converters/ruby-iconv \
		ruby18-wirble>=0.1.3:${PORTSDIR}/devel/ruby-wirble \
d39 1
@


1.2
log
@ - update to version 2.6.0
 - rewrite the rc script so it works with this version
 - patch the Gemfile, else it will not detect
   rubygem-sqlite3 or ruby-dbd_sqlite3

PR:		153293
Submitted by:	Dax Labrador <semprix at bsdmail.org> (maintainer)
@
text
@d9 1
a9 1
DISTVERSION=	2.6.0
d12 1
a12 1
MASTER_SITE_SUBDIR=${PORTNAME}/${PORTNAME}/v${DISTVERSION:R}
d15 1
a15 1
MAINTAINER=	semprix@@bsdmail.org
d22 1
a22 1
		rubygem-rails>=3.0.3:${PORTSDIR}/www/rubygem-rails \
d25 1
a25 1
		rubygem-redcloth>=4.2.0:${PORTSDIR}/www/rubygem-redcloth \
@


1.1
log
@PR:           146455
Submitted by: Dax Labrador <semprix _at_ bsdmail.org>
Approved by:  glarkin (mentor)

dradis is an open source framework to enable effective information sharing.

dradis is a self-contained web application that provides a centralised
repository of information to keep track of what has been done so far,
and what is still ahead.

Features include:

    * Easy report generation.
    * Support for attachments.
    * Integration with existing systems and
      tools through server plugins.
    * Platform independent.

WWW: http://dradisframework.org/
@
text
@d9 1
a9 1
DISTVERSION=	2.5.2
d11 2
a12 1
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/v${PORTVERSION}
d18 9
a26 2
RUN_DEPENDS=	rubygem-sqlite3>=1.2.4:${PORTSDIR}/databases/rubygem-sqlite3 \
		ruby18-wirble>=0.1.3:${PORTSDIR}/devel/ruby-wirble
d36 1
a36 1
WRKSRC=		${WRKDIR}/${PORTNAME}-2.5
d40 1
a40 2
USE_RAKE=	yes
DEPEND_RUBY_ICONV=	yes
d42 1
d46 2
a47 4
post-patch:
	@@${REINPLACE_CMD} -e 's|/usr/bin/env ruby|${RUBY}|' ${WRKSRC}/server/script/server
	@@${CHOWN} -R root:wheel ${WRKSRC}/server
	@@${FIND} ${WRKSRC}/server -type f \( -name "*.bak" -o -name "*.orig" \) -delete
d51 1
a51 1
	@@${CP} -Rp ${WRKSRC}/server ${PREFIX}/${PORTNAME}/
@

