Switch to the new PHP infrastructure.

This commit is contained in:
Alex Dupre 2004-07-19 09:42:16 +00:00
parent 3e1a104b68
commit 49c6d55a5a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=114193
7 changed files with 19 additions and 16 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= phppgadmin
PORTVERSION= 3.4.1
PORTREVISION= 1
CATEGORIES= databases www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -18,11 +19,10 @@ COMMENT= Web Based Postgres Administration
USE_REINPLACE= yes
USE_BZIP2= yes
.if !defined(WITHOUT_PHP_DEPENDS)
USE_PHP= yes
USE_PHP= ctype imap openssl pgsql pcre posix session tokenizer xml zlib
.endif
WRKSRC= ${WRKDIR}/phpPgAdmin
NO_BUILD= YES
PHP_PORT?= ${PORTSDIR}/www/mod_php4-twig
PGADMDIR?= www/data/phpPgAdmin
PLIST_SUB+= PGADMDIR=${PGADMDIR}

View file

@ -7,6 +7,7 @@
PORTNAME= jffnms
PORTVERSION= 0.7.8
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=${PORTNAME}
@ -16,10 +17,10 @@ COMMENT= Very advanced network monitoring and control system
RUN_DEPENDS= neato:${PORTSDIR}/graphics/graphviz \
rrdtool:${PORTSDIR}/net/rrdtool \
php:${PORTSDIR}/lang/php4-nms \
nmap:${PORTSDIR}/security/nmap \
${LOCALBASE}/sbin/tmpwatch:${PORTSDIR}/sysutils/tmpwatch
USE_PHP= gd snmp sockets
USE_MYSQL= yes
USE_REINPLACE= yes

View file

@ -7,6 +7,7 @@
PORTNAME= zabbix
PORTVERSION= 1.0
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES?= net-mgmt
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
@ -21,17 +22,17 @@ OPTIONS= PGSQL "Use a PostgreSQL backend" off \
FPING "Use fping for pinging hosts" on
.endif
.include <bsd.port.pre.mk>
.ifdef(ZABBIX_AGENT_ONLY)
PKGNAMESUFFIX= -agent
PLIST= ${MASTERDIR}/pkg-plist.agent
PKGMESSAGE= nonexistent
.else # ZABBIX_AGENT_ONLY
LIB_DEPENDS= netsnmp.6:${PORTSDIR}/net-mgmt/net-snmp
RUN_DEPENDS= php:${PORTSDIR}/lang/php4-nms
USE_PHP= gd snmp sockets
.endif # ZABBIX_AGENT_ONLY
.include <bsd.port.pre.mk>
.ifndef(WITHOUT_FPING)
RUN_DEPENDS+= ${LOCALBASE}/sbin/fping:${PORTSDIR}/net/fping
.endif

View file

@ -7,6 +7,7 @@
PORTNAME= zabbix
PORTVERSION= 1.0
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES?= net-mgmt
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
@ -21,17 +22,17 @@ OPTIONS= PGSQL "Use a PostgreSQL backend" off \
FPING "Use fping for pinging hosts" on
.endif
.include <bsd.port.pre.mk>
.ifdef(ZABBIX_AGENT_ONLY)
PKGNAMESUFFIX= -agent
PLIST= ${MASTERDIR}/pkg-plist.agent
PKGMESSAGE= nonexistent
.else # ZABBIX_AGENT_ONLY
LIB_DEPENDS= netsnmp.6:${PORTSDIR}/net-mgmt/net-snmp
RUN_DEPENDS= php:${PORTSDIR}/lang/php4-nms
USE_PHP= gd snmp sockets
.endif # ZABBIX_AGENT_ONLY
.include <bsd.port.pre.mk>
.ifndef(WITHOUT_FPING)
RUN_DEPENDS+= ${LOCALBASE}/sbin/fping:${PORTSDIR}/net/fping
.endif

View file

@ -7,6 +7,7 @@
PORTNAME= jffnms
PORTVERSION= 0.7.8
PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=${PORTNAME}
@ -16,10 +17,10 @@ COMMENT= Very advanced network monitoring and control system
RUN_DEPENDS= neato:${PORTSDIR}/graphics/graphviz \
rrdtool:${PORTSDIR}/net/rrdtool \
php:${PORTSDIR}/lang/php4-nms \
nmap:${PORTSDIR}/security/nmap \
${LOCALBASE}/sbin/tmpwatch:${PORTSDIR}/sysutils/tmpwatch
USE_PHP= gd snmp sockets
USE_MYSQL= yes
USE_REINPLACE= yes

View file

@ -7,20 +7,20 @@
PORTNAME= dtc
PORTVERSION= 0.12.0.6
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.gplhost.com/pub/dtc/bsd/
MAINTAINER= thomas@goirand.fr
COMMENT= A hosting web GUI for admin and accounting apache/named/proftpd/qmail
RUN_DEPENDS= php:${PHP_PORT} \
${LOCALBASE}/share/pear/Crypt/CBC.php:${PORTSDIR}/security/pear-Crypt_CBC \
RUN_DEPENDS= ${LOCALBASE}/share/pear/Crypt/CBC.php:${PORTSDIR}/security/pear-Crypt_CBC \
${LOCALBASE}/libexec/proftpd:${PORTSDIR}/ftp/proftpd-mysql \
${LOCALBASE}/libexec/apache2/mod_log_sql.so:${PORTSDIR}/www/mod_log_sql2 \
${LOCALBASE}/bin/webalizer:${PORTSDIR}/www/webalizer \
${QMAIL_DIR}/bin/qmail-start:${PORTSDIR}/mail/qmail
PHP_PORT=${PORTSDIR}/lang/php4-dtc
USE_PHP= session mysql sockets gd
QMAIL_DIR?= /var/qmail
DTCROOT?= www/dtc

View file

@ -7,7 +7,7 @@
PORTNAME= twig
PORTVERSION= 2.7.7
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= www mail
MASTER_SITES= http://www.informationgateway.org/download/
@ -16,14 +16,13 @@ COMMENT= Web Based Email Client and Scheduler
.if !defined(WITHOUT_PHP_DEPENDS)
.if !defined(WITH_PHP3)
USE_PHP= yes
USE_PHP= ctype imap openssl pgsql pcre posix session tokenizer xml zlib
.else
RUN_DEPENDS+= ${LOCALBASE}/libexec/apache/libphp3.so:${PORTSDIR}/${PHP3_PORT}
.endif
.endif
NO_BUILD= YES
PHP_PORT?= ${PORTSDIR}/www/mod_php4-twig
PHP3_PORT?= www/mod_php3
TWIG?= www/data-dist/twig
PLIST_SUB+= TWIG=${TWIG}