b7f05445c0
It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)
92 lines
2.7 KiB
Makefile
92 lines
2.7 KiB
Makefile
PORTNAME= php81
|
|
PORTVERSION= 1.1
|
|
CATEGORIES= lang
|
|
PKGNAMESUFFIX= -extensions
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
COMMENT= "meta-port" to install PHP extensions
|
|
WWW= https://www.php.net/
|
|
|
|
USES= metaport php
|
|
|
|
PHP_VER= 81
|
|
IGNORE_WITH_PHP= 74 80 82
|
|
|
|
OPTIONS_DEFINE= BCMATH BZ2 CALENDAR CTYPE CURL DBA DOM ENCHANT EXIF FFI \
|
|
FILEINFO FILTER FTP GD GETTEXT GMP ICONV IMAP INTL LDAP \
|
|
MBSTRING MYSQLI ODBC OPCACHE PCNTL PDO \
|
|
PDO_DBLIB PDO_FIREBIRD PDO_MYSQL PDO_ODBC PDO_PGSQL \
|
|
PDO_SQLITE PGSQL PHAR POSIX PSPELL READLINE SESSION \
|
|
SHMOP SIMPLEXML SNMP SOAP SOCKETS SODIUM SQLITE3 \
|
|
SYSVMSG SYSVSEM SYSVSHM TIDY TOKENIZER XML XMLREADER \
|
|
XMLWRITER XSL ZIP ZLIB
|
|
OPTIONS_DEFAULT= CTYPE DOM FILTER ICONV OPCACHE PDO PDO_SQLITE PHAR \
|
|
POSIX SESSION SIMPLEXML SQLITE3 TOKENIZER XML XMLREADER \
|
|
XMLWRITER
|
|
|
|
BCMATH_DESC= bc style precision math functions
|
|
BZ2_DESC= bzip2 library support
|
|
CALENDAR_DESC= calendar conversion support
|
|
CTYPE_DESC= ctype functions
|
|
CURL_DESC= CURL support
|
|
DBA_DESC= dba support
|
|
DOM_DESC= DOM support
|
|
ENCHANT_DESC= Enchant spelling support
|
|
EXIF_DESC= EXIF support
|
|
FFI_DESC= Foreign Function Interface support
|
|
FILEINFO_DESC= fileinfo support
|
|
FILTER_DESC= input filter support
|
|
FTP_DESC= FTP support
|
|
GD_DESC= GD library support
|
|
GETTEXT_DESC= gettext library support
|
|
GMP_DESC= GNU MP support
|
|
ICONV_DESC= iconv support
|
|
IMAP_DESC= IMAP support
|
|
INTL_DESC= Internationalization(ICU)
|
|
LDAP_DESC= OpenLDAP support
|
|
MBSTRING_DESC= multibyte string support
|
|
MYSQLI_DESC= MySQLi database support
|
|
ODBC_DESC= ODBC support
|
|
OPCACHE_DESC= OPcache support
|
|
PCNTL_DESC= pcntl support (CLI only)
|
|
PDO_DBLIB_DESC= PDO DBLIB-DB driver
|
|
PDO_DESC= PHP Data Objects Interface (PDO)
|
|
PDO_FIREBIRD_DESC= PDO Firebird driver
|
|
PDO_MYSQL_DESC= PDO MySQL driver
|
|
PDO_ODBC_DESC= PDO ODBC driver
|
|
PDO_PGSQL_DESC= PDO PostgreSQL driver
|
|
PDO_SQLITE_DESC= PDO sqlite driver
|
|
PHAR_DESC= phar support
|
|
POSIX_DESC= POSIX-like functions
|
|
PSPELL_DESC= pspell support
|
|
READLINE_DESC= readline support (CLI only)
|
|
SESSION_DESC= session support
|
|
SHMOP_DESC= shmop support
|
|
SIMPLEXML_DESC= simplexml support
|
|
SNMP_DESC= SNMP support
|
|
SOAP_DESC= SOAP support
|
|
SOCKETS_DESC= sockets support
|
|
SODIUM_DESC= Sodium encryption support
|
|
SQLITE3_DESC= sqlite3 support
|
|
SYSVMSG_DESC= System V message support
|
|
SYSVSEM_DESC= System V semaphore support
|
|
SYSVSHM_DESC= System V shared memory support
|
|
TIDY_DESC= TIDY support
|
|
TOKENIZER_DESC= tokenizer support
|
|
XMLREADER_DESC= XMLReader support
|
|
XMLWRITER_DESC= XMLWriter support
|
|
XML_DESC= XML support
|
|
XSL_DESC= XSL support (Implies DOM)
|
|
ZIP_DESC= ZIP support
|
|
ZLIB_DESC= ZLIB support
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.for opt in ${OPTIONS_DEFINE}
|
|
. if ${PORT_OPTIONS:M${opt}}
|
|
USE_PHP+= ${opt:tl}
|
|
. endif
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|