summaryrefslogtreecommitdiffstats
path: root/net/xbone/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/xbone/Makefile')
-rw-r--r--net/xbone/Makefile24
1 files changed, 7 insertions, 17 deletions
diff --git a/net/xbone/Makefile b/net/xbone/Makefile
index 396b182..9e7878d 100644
--- a/net/xbone/Makefile
+++ b/net/xbone/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= XBone
-PORTVERSION= 1.3.1
+PORTVERSION= 2.0
CATEGORIES= net
MASTER_SITES= http://www.isi.edu/xbone/software/x-bone/
@@ -24,18 +24,10 @@ NO_BUILD= yes
PERL_LIB= ${PREFIX}/lib/perl5/site_perl/${PERL_VER}
-.if !defined(USA_RESIDENT) || ${USA_RESIDENT}!=YES && ${USA_RESIDENT}!=NO
+.if !defined(OPTION) || ${OPTION}!=RD && ${OPTION}!=OMGUI
pre-fetch:
@${ECHO} ""
- @${ECHO} "ERROR! You must set variable USA_RESIDENT to YES, if you are"
- @${ECHO} "USA resident or to NO, if you aren't USA resident to build"
- @${ECHO} "this package. This option is required by other softwares"
- @${ECHO} "X-Bone depends on."
- @${FALSE}
-.elif !defined(XBONE_OPTION) || ${XBONE_OPTION}!=RD && ${XBONE_OPTION}!=OMGUI
-pre-fetch:
- @${ECHO} ""
- @${ECHO} "! You must set variable XBONE_OPTION=OMGUI or XBONE_OPTION=RD."
+ @${ECHO} "! You must set variable OPTION=OMGUI or OPTION=RD."
@${ECHO} " OMGUI: Install & configure the system for:"
@${ECHO} " (1) X-Bone Overlay Manager"
@${ECHO} " (2) X-Bone GUI files (html & CGI scripts)"
@@ -47,27 +39,25 @@ pre-fetch:
@${ECHO} " or a router."
@${ECHO} " ** YOU NEED MULTIPLE RD-HOSTS TO CONSTRUCT OVERLAYS."
@${FALSE}
-.elif defined(XBONE_OPTION)
-.if ${XBONE_OPTION}==RD
+.elif defined(OPTION)
+.if ${OPTION}==RD
BUILD_DEPENDS= ${PERL_LIB}/Net/Netmask.pm:${PORTSDIR}/net/p5-Net-Netmask \
${PERL_LIB}/${PERL_ARCH}/Net/SSLeay.pm:${PORTSDIR}/security/p5-Net-SSLeay
INSTALL_TARGET= rd
PLIST= ${PKGDIR}/pkg-plist.rd
-PKGDEINSTALL= ${PKGDIR}/pkg-deinstall.rd
.else
BUILD_DEPENDS= ${PREFIX}/sbin/httpsd:${PORTSDIR}/www/apache13-ssl\
${PERL_LIB}/CGI/Carp.pm:${PORTSDIR}/www/p5-CGI \
${PERL_LIB}/Mail/Sendmail.pm:${PORTSDIR}/mail/p5-Mail-Sendmail \
${PERL_LIB}/Net/Netmask.pm:${PORTSDIR}/net/p5-Net-Netmask\
${PERL_LIB}/File/CounterFile.pm:${PORTSDIR}/misc/p5-File-CounterFile \
- ${PERL_LIB}/${PERL_ARCH}/Net/SSLeay.pm:${PORTSDIR}/security/p5-Net-SSLeay
+ ${PERL_LIB}/${PERL_ARCH}/Net/SSLeay.pm:${PORTSDIR}/security/p5-Net-SSLeay \
+ $[PERL_LIB]/Parse/RecDescent.pm:$[PORTSDIR]/devel/p5-Parse-RecDescent
INSTALL_TARGET= omgui
MAKE_ARGS= PERL5=${PERL5} SYS=${SYS}
.endif
.endif
-RUN_DEPENDS= ${PREFIX}/bin/ip-tun:${PORTSDIR}/net/ip-tun
-
MAN1= xb-pick.1
MAN5= XB_Defs.pm.5 Xbone_daemon.conf.5 Xbone_daemon.state.5
MAN8= X-Bone.8 xb-daemon.8 xb-overlay-manager.8 xb-config.8
OpenPOWER on IntegriCloud