Lines 13-32
Link Here
|
13 |
LICENSE= GPLv2 |
13 |
LICENSE= GPLv2 |
14 |
LICENSE_FILE= ${WRKSRC}/LICENSE.txt |
14 |
LICENSE_FILE= ${WRKSRC}/LICENSE.txt |
15 |
|
15 |
|
16 |
IGNORE_WITH_PHP= 56 |
16 |
IGNORE_WITH_PHP=56 70 |
17 |
|
17 |
|
18 |
PORTSCOUT= limit:^${PORT_V_MAJOR}\.${PORT_V_MINOR}\. |
18 |
USES= cpe php:web,flavors shebangfix |
|
|
19 |
USE_PHP= ctype dom fileinfo filter hash intl json mysqli openssl pcre session spl soap xml zip |
19 |
|
20 |
|
20 |
USES= cpe php:web,flavors shebangfix |
21 |
WRKSRC= ${WRKDIR}/${TYPO3SRC} |
21 |
SHEBANG_GLOB= *.sh *.php |
|
|
22 |
NO_BUILD= yes |
22 |
NO_BUILD= yes |
23 |
NO_ARCH= yes |
23 |
NO_ARCH= yes |
24 |
USE_PHP= ctype fileinfo filter hash json mysqli openssl pcre session soap xml zip simplexml |
24 |
SHEBANG_GLOB= *.sh *.php |
25 |
WRKSRC= ${WRKDIR}/${TYPO3SRC} |
25 |
PORTSCOUT= limit:^${PORT_V_MAJOR}\.${PORT_V_MINOR}\. |
26 |
|
26 |
|
27 |
PORT_V_MAJOR= 8 |
27 |
PORT_V_MAJOR= 9 |
28 |
PORT_V_MINOR= 7 |
28 |
PORT_V_MINOR= 5 |
29 |
PORT_V_PATCH= 20 |
29 |
PORT_V_PATCH= 1 |
30 |
|
30 |
|
31 |
TYPO3WWW= www |
31 |
TYPO3WWW= www |
32 |
TYPO3SRC= ${PORTNAME}_src-${PORTVERSION} |
32 |
TYPO3SRC= ${PORTNAME}_src-${PORTVERSION} |
Lines 42-48
Link Here
|
42 |
|
42 |
|
43 |
DISTFILES+= ${TYPO3SRC}${EXTRACT_SUFX} |
43 |
DISTFILES+= ${TYPO3SRC}${EXTRACT_SUFX} |
44 |
|
44 |
|
45 |
OPTIONS_DEFINE= CURL GD GMP IMAGICK MBSTRING MYSQL ZLIB |
45 |
OPTIONS_DEFINE= CURL GD GMP IMAGICK MBSTRING MYSQL POSTGRES SQLSRV SQLITE ZLIB |
46 |
OPTIONS_DEFAULT= |
46 |
OPTIONS_DEFAULT= |
47 |
GD_DESC= GDlib/freetype support |
47 |
GD_DESC= GDlib/freetype support |
48 |
IMAGICK_DESC= ${IMAGEMAGICK_DESC} |
48 |
IMAGICK_DESC= ${IMAGEMAGICK_DESC} |
Lines 54-59
Link Here
|
54 |
GMP_USE= PHP=gmp |
54 |
GMP_USE= PHP=gmp |
55 |
MBSTRING_USE= PHP=mbstring |
55 |
MBSTRING_USE= PHP=mbstring |
56 |
MYSQL_USE= MYSQL=server |
56 |
MYSQL_USE= MYSQL=server |
|
|
57 |
POSTGRES_USE= PHP=postgresql |
58 |
SQLSRV_USE= PHP=sqlsrv |
59 |
SQLITE_USE= PHP=sqlite |
57 |
ZLIB_USE= PHP=zlib |
60 |
ZLIB_USE= PHP=zlib |
58 |
|
61 |
|
59 |
.include <bsd.port.options.mk> |
62 |
.include <bsd.port.options.mk> |
Lines 72-90
Link Here
|
72 |
${LN} -fs ../${TYPO3SRC} ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR}/typo3_src |
75 |
${LN} -fs ../${TYPO3SRC} ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR}/typo3_src |
73 |
${LN} -fs typo3_src/index.php ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR}/index.php |
76 |
${LN} -fs typo3_src/index.php ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR}/index.php |
74 |
${LN} -fs typo3_src/typo3 ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR}/typo3 |
77 |
${LN} -fs typo3_src/typo3 ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR}/typo3 |
75 |
${CP} ${WRKDIR}/${TYPO3SRC}/_.htaccess ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR}/.htaccess |
|
|
76 |
|
78 |
|
77 |
post-install: |
79 |
post-install: |
78 |
@cd ${STAGEDIR}${PREFIX}; \ |
80 |
@cd ${STAGEDIR}${PREFIX}; \ |
79 |
${FIND} * \( -type f -or -type l \) -path "${TYPO3WWW}/${TYPO3DIR}/*" | \ |
81 |
${FIND} * \( -type f -or -type l \) -path "${TYPO3WWW}/${TYPO3DIR}/*" | \ |
80 |
${SORT} >> ${TMPPLIST} |
82 |
${SORT} >> ${TMPPLIST}; \ |
|
|
83 |
${ECHO} "@owner ${WWWOWN}" >> ${TMPPLIST}; \ |
84 |
${ECHO} "@dir ${TYPO3WWW}/${TYPO3DIR}" >> ${TMPPLIST} |
81 |
@cd ${STAGEDIR}${PREFIX}; \ |
85 |
@cd ${STAGEDIR}${PREFIX}; \ |
|
|
86 |
${ECHO} "@owner" >> ${TMPPLIST}; \ |
82 |
${FIND} * \( -type f -or -type l \) -path "${TYPO3WWW}/${TYPO3SRC}/*" | \ |
87 |
${FIND} * \( -type f -or -type l \) -path "${TYPO3WWW}/${TYPO3SRC}/*" | \ |
83 |
${SORT} >> ${TMPPLIST} |
88 |
${SORT} >> ${TMPPLIST} |
84 |
|
89 |
|
85 |
@${ECHO} "@dir ${TYPO3WWW}/${TYPO3SRC}/vendor/doctrine/common/lib/vendor/doctrine-build-common" >> ${TMPPLIST} |
|
|
86 |
@${ECHO} "@dir ${TYPO3WWW}/${TYPO3SRC}/vendor/doctrine/dbal/lib/vendor/Symfony/Component/Console" >> ${TMPPLIST} |
87 |
@${ECHO} "@dir ${TYPO3WWW}/${TYPO3SRC}/vendor/doctrine/dbal/lib/vendor/doctrine-build-common" >> ${TMPPLIST} |
88 |
@${ECHO} "@dir ${TYPO3WWW}/${TYPO3SRC}/vendor/doctrine/dbal/lib/vendor/doctrine-common" >> ${TMPPLIST} |
89 |
|
90 |
.include <bsd.port.mk> |
90 |
.include <bsd.port.mk> |