svn commit: r398611 - head/security/metasploit

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Oct 4 18:01:35 UTC 2015


Author: sunpoet
Date: Sun Oct  4 18:01:34 2015
New Revision: 398611
URL: https://svnweb.freebsd.org/changeset/ports/398611

Log:
  - Convert to new options target helper
  
  Approved by:	portmgr (blanket)

Modified:
  head/security/metasploit/Makefile

Modified: head/security/metasploit/Makefile
==============================================================================
--- head/security/metasploit/Makefile	Sun Oct  4 18:01:30 2015	(r398610)
+++ head/security/metasploit/Makefile	Sun Oct  4 18:01:34 2015	(r398611)
@@ -63,8 +63,6 @@ DB_RUN_DEPENDS=	rubygem-activerecord>=3.
 		rubygem-metasploit_data_models>=0.24.0,2:${PORTSDIR}/security/rubygem-metasploit_data_models \
 		rubygem-pg>=0.11:${PORTSDIR}/databases/rubygem-pg
 
-.include <bsd.port.options.mk>
-
 post-patch:
 	${REINPLACE_CMD} 's,git ls-files,find . ! -type d | sed "s|^./||", ; \
 		/jsobfu/s/~> 0.2.0/>= 0.2.0/ ; \
@@ -78,9 +76,9 @@ do-build:
 	${CHMOD} 666 ${WRKSRC}/Gemfile.lock ${WRKSRC}/log/production.log
 	${REINPLACE_CMD} '/^group :coverage/,/^end/d ; /^group :development/,/^end/d ; /^group :test/,/^end/d' \
 		${WRKSRC}/Gemfile
-.if ! ${PORT_OPTIONS:MDB}
+
+do-build-DB-off:
 	${REINPLACE_CMD} '/^group :db do/,/^end/d' ${WRKSRC}/Gemfile
-.endif
 
 do-install:
 	@${MKDIR} ${STAGEDIR}${DATADIR}


More information about the svn-ports-head mailing list