- Fix pkg-plist with knob options

Submitted by:	pav
This commit is contained in:
Martin Wilke 2007-01-25 13:26:35 +00:00
parent 61b72803d1
commit 5a223d511b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=183254
2 changed files with 9 additions and 5 deletions

View file

@ -22,11 +22,6 @@ RUN_DEPENDS= ${LOCALBASE}/bin/svn:${PORTSDIR}/devel/subversion \
SCRIPTS= msfcli msfconsole msfd msfencode msflicense msfopcode \
msfpayload msfpescan msfweb
.if defined(WITH_MSFWX)
RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/wxruby.so:${PORTSDIR}/x11-toolkits/ruby-wx
SCRIPTS+= msfwx
.endif
WRKSRC= ${WRKDIR}/framework-${DISTVERSION}
RESTRICTED= May not be re-sold for more than the cost of duplication, nor redistributed after patching
@ -36,6 +31,14 @@ USE_RUBY= yes
.include <bsd.port.pre.mk>
.if defined(WITH_MSFWX)
RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/wxruby.so:${PORTSDIR}/x11-toolkits/ruby-wx
SCRIPTS+= msfwx
PLIST_SUB+= MSF=""
.else
PLIST_SUB+= MSF="@comment "
.endif
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
ECHO_MSG=/usr/bin/printf
IGNORE=\n \

View file

@ -7,6 +7,7 @@ bin/msfopcode
bin/msfpayload
bin/msfpescan
bin/msfweb
%%MSF%%bin/msfwx
%%DATADIR%%/BUGS.txt
%%DATADIR%%/README
%%DATADIR%%/data/meterpreter/ext_server_priv.dll