create bsd12 branch

This commit is contained in:
ziggi
2019-12-26 07:26:06 +00:00
commit 5cfdab6bfe
14432 changed files with 2272620 additions and 0 deletions

View File

@@ -0,0 +1,66 @@
#
# $Id: Makefile 2636 2009-09-30 12:09:37Z root $
#
PORTNAME= php${PORTVERSION:R:S/.//g}-mod-${MODULE_NAME}
PORTVERSION= 7.1.21
CATEGORIES= lang devel www
MASTER_SITES= ${MASTER_SITE_PHP}
MASTER_SITE_SUBDIR= distributions
DISTNAME= php-${PORTVERSION}
MASTER_SITES+= http://dk.php.net/%SUBDIR%/
MASTER_SITES+= http://de.php.net/%SUBDIR%/
MASTER_SITES+= http://es.php.net/%SUBDIR%/
MASTER_SITES+= http://fi.php.net/%SUBDIR%/
MASTER_SITES+= http://fr.php.net/%SUBDIR%/
MASTER_SITES+= http://gr.php.net/%SUBDIR%/
MASTER_SITES+= http://it.php.net/%SUBDIR%/
MASTER_SITES+= http://jp.php.net/%SUBDIR%/
MASTER_SITES+= http://se.php.net/%SUBDIR%/
MASTER_SITES+= http://uk.php.net/%SUBDIR%/
MASTER_SITES+= http://us2.php.net/%SUBDIR%/
MASTER_SITES+= http://br.php.net/%SUBDIR%/
MASTER_SITES+= http://cn.php.net/%SUBDIR%/
MASTER_SITE_SUBDIR= distributions
MAINTAINER= onborodin@gmail.com
COMMENT= PHP Scripting Language (Apache Module and CLI)
BUILD_DEPENDS+= php:lang/php${PORTVERSION:R:S/.//g}
#RUN_DEPENDS
#BUILD_DEPENDS+= ${RUN_DEPENDS}
LIB_DEPENDS+= libsqlite3.so:data/sqlite3
BUILD_DEPENDS+= php${PORTVERSION:R:S/.//g}-mod-pdo>0:php${PORTVERSION:R:S/.//g}/php-mod-pdo
RUN_DEPENDS+= php${PORTVERSION:R:S/.//g}-mod-pdo>0:php${PORTVERSION:R:S/.//g}/php-mod-pdo
EXTRACT_AFTER_ARGS= ${DISTNAME}/ext/${MODULE_NAME}
WRKSRC= ${WRKDIR}/${DISTNAME}/ext/${MODULE_NAME}
EXTRACT_AFTER_ARGS= ${DISTNAME}/ext/${MODULE_NAME}
USES+= tar:xz gmake
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/php
LDFLAGS= -L${LOCALBASE}/lib
CONFIGURE_ARGS+= --with-pdo-sqlite=${LOCALBASE}
MODULE_NAME= pdo_sqlite
DESTDIRNAME= INSTALL_ROOT
#EXTDIR
#INCLUDEDIR
pre-configure:
cd ${WRKSRC} && ${CONFIGURE_ENV} phpize .
post-install:
${RM} -f ${TMPPLIST}
cd ${STAGEDIR}${PREFIX} && ${FIND} lib/php -type f >> ${TMPPLIST}
${MKDIR} ${STAGEDIR}${PREFIX}/include/php
cd ${STAGEDIR}${PREFIX} && ${FIND} include/php -type f >> ${TMPPLIST}
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds lib/php -type d | ${SED} -e 's,^,@dirrm ,' >> ${TMPPLIST}
cd ${STAGEDIR}${PREFIX} && ${FIND} -ds include/php -type d | ${SED} -e 's,^,@dirrm ,' >> ${TMPPLIST}
.include <bsd.port.mk>
#EOF

View File

@@ -0,0 +1,2 @@
SHA256 (php-7.1.21.tar.xz) = d4da6dc69d3fe1e6b2b80f16b262f391037bfeb21213c966e026bd45d7ca2813
SIZE (php-7.1.21.tar.xz) = 12227636

View File

@@ -0,0 +1,9 @@
PHP, which stands for "PHP: Hypertext Preprocessor" is a widely-used Open
Source general-purpose scripting language that is especially suited for
Web development and can be embedded into HTML. Its syntax draws upon C,
Java, and Perl, and is easy to learn. The main goal of the language is to
allow web developers to write dynamically generated webpages quickly, but
you can do much more with PHP.
WWW: http://www.php.net/