freebsd-ports/security/dradis/Makefile
Olli Hauer 168dd5ff9c 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/
2010-08-12 20:51:33 +00:00

50 lines
1.2 KiB
Makefile

# New ports collection makefile for: dradis
# Date created: 09 May 2010
# Whom: Dax Labrador <semprix@bsdmail.org>
#
# $FreeBSD$
#
PORTNAME= dradis
DISTVERSION= 2.5.2
CATEGORIES= security
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/v${PORTVERSION}
DISTNAME= ${PORTNAME}-v${PORTVERSION}
MAINTAINER= semprix@bsdmail.org
COMMENT= Opensource framework to enable effective information gathering
RUN_DEPENDS= rubygem-sqlite3>=1.2.4:${PORTSDIR}/databases/rubygem-sqlite3 \
ruby18-wirble>=0.1.3:${PORTSDIR}/devel/ruby-wirble
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}-2.5
NO_BUILD= yes
USE_RUBY= yes
USE_RAKE= yes
DEPEND_RUBY_ICONV= yes
RUBY_NO_BUILD_DEPENDS= yes
USE_DOS2UNIX= yes
DOS2UNIX_REGEX= .*(css|rb|txt|js|RELEASE_NOTES)$$
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
do-install:
@${MKDIR} ${PREFIX}/${PORTNAME}
@${CP} -Rp ${WRKSRC}/server ${PREFIX}/${PORTNAME}/
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>