1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00
freebsd-ports/security/dradis/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

49 lines
1.5 KiB
Makefile

# Created by: Dax Labrador <semprix@bsdmail.org>
# $FreeBSD$
PORTNAME= dradis
DISTVERSIONPREFIX= v
DISTVERSION= 2.6.1
CATEGORIES= security
MASTER_SITES= SF/${PORTNAME:tl}/${PORTNAME:tl}/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
USES= dos2unix
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} ${STAGEDIR}${PREFIX}/${PORTNAME}
( cd ${WRKSRC} && ${COPYTREE_SHARE} server ${STAGEDIR}${PREFIX}/${PORTNAME}/ )
.include <bsd.port.mk>