mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Fixed a dependency-related typo introduced in the previous commit [1]
- Added BSD license - Added more checks for valid option combinations - Bumped PORTREVISION PR: ports/153761 Submitted by: Anatoly Borodin <anatoly.borodin@gmail.com> [1]
This commit is contained in:
parent
39dee39e66
commit
17e521c3d1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=267495
1 changed files with 11 additions and 2 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= viewvc
|
||||
PORTVERSION= 1.1.8
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= http://www.viewvc.org/ \
|
||||
LOCAL/glarkin
|
||||
|
@ -32,6 +33,8 @@ SUB_LIST= INSTDIR="${PREFIX}/${INSTDIR}" \
|
|||
INSTDIR?= ${PORTNAME}
|
||||
PLIST_SUB= INSTDIR=${INSTDIR}
|
||||
|
||||
LICENSE= BSD
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if !defined(WITH_APACHE) && !defined(WITH_LIGHTTPD)
|
||||
|
@ -66,12 +69,12 @@ RUN_DEPENDS+= ${LOCALBASE}/${APACHEMODDIR}/mod_wsgi.so:${PORTSDIR}/www/mod_wsgi3
|
|||
# It catalogs every commit in the CVS or Subversion repository into a SQL database.
|
||||
# In fact, the databases are 100% compatible.
|
||||
.if defined(WITH_MYSQL)
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}-MySQLdb>=0::${PORTSDIR}/databases/py-MySQLdb
|
||||
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}MySQLdb>=0:${PORTSDIR}/databases/py-MySQLdb
|
||||
.endif
|
||||
|
||||
pre-everything::
|
||||
.if defined(WITH_APACHE) && defined(WITH_LIGHTTPD)
|
||||
@${ECHO_CMD} "It doesn't make sense to depend on Apache *and* lighttpd choose only one."
|
||||
@${ECHO_CMD} "It doesn't make sense to depend on Apache *and* lighttpd - choose only one."
|
||||
@${FALSE}
|
||||
.endif
|
||||
|
||||
|
@ -81,6 +84,12 @@ pre-everything::
|
|||
.elif defined(WITH_MODPYTHON3) && !defined(WITH_APACHE)
|
||||
@${ECHO_CMD} "mod_python3 needs Apache, please select Apache"
|
||||
@${FALSE}
|
||||
.elif defined(WITH_MODWSGI3) && !defined(WITH_APACHE) && defined(WITH_LIGHTTPD)
|
||||
@${ECHO_CMD} "mod_wsgi3 needs Apache, please select Apache and deselect lighttpd"
|
||||
@${FALSE}
|
||||
.elif defined(WITH_MODWSGI3) && !defined(WITH_APACHE)
|
||||
@${ECHO_CMD} "mod_wsgi3 needs Apache, please select Apache"
|
||||
@${FALSE}
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
|
|
Loading…
Add table
Reference in a new issue