Set default DEVEL option (documentation).

Add version 4 to conflicts.

Adjust version 5 nightly builds URL for devel version of this Makefile.

Feature safe:	yes
This commit is contained in:
Cy Schubert 2011-11-15 04:30:55 +00:00
parent 0ca41f8734
commit 88b3d33b33
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=285822
2 changed files with 15 additions and 13 deletions

View File

@ -10,8 +10,9 @@ DISTVERSION= 5.0.1
PORTVERSION= ${DISTVERSION}
CATEGORIES= security
BUILD= 3585
.if defined(DEVEL)
MASTER_SITES= http://www.fwbuilder.org/nightly_builds/fwbuilder-4.0/build-${BUILD}/
DEVEL= yes
.if defined(DEVEL) && ${DEVEL} == yes
MASTER_SITES= http://www.fwbuilder.org/nightly_builds/fwbuilder-5.0/build-${BUILD}/
PKGNAMESUFFIX= -devel
PORTVERSION= ${DISTVERSION}.b${BUILD}
.else
@ -22,11 +23,11 @@ DISTVERSIONSUFFIX= .${BUILD}
MAINTAINER= cy@FreeBSD.org
COMMENT= Firewall Builder GUI and policy compilers
.if defined(DEVEL)
CONFLICTS= fwbuilder-[23].* fwbuilder-devel-[23].* \
libfwbuilder-[23].* libfwbuilder-devel-[23].*
.if defined(DEVEL) && ${DEVEL} == yes
CONFLICTS= fwbuilder-[234].* fwbuilder-devel-[234].* \
libfwbuilder-[234].* libfwbuilder-devel-[234].*
.else
CONFLICTS= fwbuilder-[23].* fwbuilder-devel-* \
CONFLICTS= fwbuilder-[234].* fwbuilder-devel-* \
libfwbuilder-[23].* libfwbuilder-devel-*
.endif
LIB_DEPENDS= xslt.2:${PORTSDIR}/textproc/libxslt \

View File

@ -10,8 +10,9 @@ DISTVERSION= 5.0.0
PORTVERSION= ${DISTVERSION}
CATEGORIES= security
BUILD= 3568
.if defined(DEVEL)
MASTER_SITES= http://www.fwbuilder.org/nightly_builds/fwbuilder-4.0/build-${BUILD}/
DEVEL= no
.if defined(DEVEL) && ${DEVEL} == yes
MASTER_SITES= http://www.fwbuilder.org/nightly_builds/fwbuilder-5.0/build-${BUILD}/
PKGNAMESUFFIX= -devel
PORTVERSION= ${DISTVERSION}.b${BUILD}
.else
@ -22,12 +23,12 @@ DISTVERSIONSUFFIX= .${BUILD}
MAINTAINER= cy@FreeBSD.org
COMMENT= Firewall Builder GUI and policy compilers
.if defined(DEVEL)
CONFLICTS= fwbuilder-[23].* fwbuilder-devel-[23].* \
libfwbuilder-[23].* libfwbuilder-devel-[23].*
.if defined(DEVEL) && ${DEVEL} == yes
CONFLICTS= fwbuilder-[234].* fwbuilder-devel-[234].* \
libfwbuilder-[234].* libfwbuilder-devel-[234].*
.else
CONFLICTS= fwbuilder-[23].* fwbuilder-devel-* \
libfwbuilder-[23].* libfwbuilder-devel-*
CONFLICTS= fwbuilder-[234].* fwbuilder-devel-* \
libfwbuilder-[234].* libfwbuilder-devel-*
.endif
LIB_DEPENDS= xslt.2:${PORTSDIR}/textproc/libxslt \
netsnmp.30:${PORTSDIR}/net-mgmt/net-snmp