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 71 |
17 |
|
|
|
18 |
PORTSCOUT= limit:^${PORT_V_MAJOR}\.${PORT_V_MINOR}\. |
19 |
|
17 |
|
20 |
USES= cpe php:web,flavors shebangfix |
18 |
USES= cpe php:web,flavors shebangfix |
21 |
SHEBANG_GLOB= *.sh *.php |
19 |
USE_PHP= ctype dom fileinfo filter hash intl json openssl pcre session simplexml \ |
|
|
20 |
spl soap tokenizer xml zip |
21 |
|
22 |
WRKSRC= ${WRKDIR}/${TYPO3SRC} |
22 |
NO_BUILD= yes |
23 |
NO_BUILD= yes |
23 |
NO_ARCH= yes |
24 |
NO_ARCH= yes |
24 |
USE_PHP= ctype fileinfo filter hash json mysqli openssl pcre session soap xml zip simplexml |
25 |
SHEBANG_GLOB= *.sh *.php |
25 |
WRKSRC= ${WRKDIR}/${TYPO3SRC} |
26 |
PORTSCOUT= limit:^${PORT_V_MAJOR}\.${PORT_V_MINOR}\. |
26 |
|
27 |
|
27 |
PORT_V_MAJOR= 8 |
28 |
PORT_V_MAJOR= 9 |
28 |
PORT_V_MINOR= 7 |
29 |
PORT_V_MINOR= 5 |
29 |
PORT_V_PATCH= 20 |
30 |
PORT_V_PATCH= 1 |
30 |
|
31 |
|
31 |
TYPO3WWW= www |
32 |
TYPO3WWW= www |
32 |
TYPO3SRC= ${PORTNAME}_src-${PORTVERSION} |
33 |
TYPO3SRC= ${PORTNAME}_src-${PORTVERSION} |
Lines 42-59
Link Here
|
42 |
|
43 |
|
43 |
DISTFILES+= ${TYPO3SRC}${EXTRACT_SUFX} |
44 |
DISTFILES+= ${TYPO3SRC}${EXTRACT_SUFX} |
44 |
|
45 |
|
45 |
OPTIONS_DEFINE= CURL GD GMP IMAGICK MBSTRING MYSQL ZLIB |
46 |
OPTIONS_DEFINE= CURL GD GMP IMAGICK MBSTRING MYSQL POSTGRES SQLSRV SQLITE ZLIB |
46 |
OPTIONS_DEFAULT= |
47 |
OPTIONS_DEFAULT=MYSQL |
47 |
GD_DESC= GDlib/freetype support |
48 |
GD_DESC= GDlib/freetype support |
48 |
IMAGICK_DESC= ${IMAGEMAGICK_DESC} |
49 |
IMAGICK_DESC= ${IMAGEMAGICK_DESC} |
49 |
MBSTRING_DESC= ${MULTIBYTE_DESC} |
50 |
MBSTRING_DESC= ${MULTIBYTE_DESC} |
50 |
MYSQL_DESC= Install MySQL Server |
51 |
MYSQL_DESC= Use MySQL as DBMS |
|
|
52 |
POSTGRES_DESC= Use PostgreSQL as DBMS |
53 |
SQLITE_DESC= Use SQLiet as DBMS |
54 |
SQLSRV_DESC= Use MSSQL as DBMS |
51 |
|
55 |
|
52 |
CURL_USE= PHP=curl |
56 |
CURL_USE= PHP=curl |
53 |
GD_USE= PHP=gd |
57 |
GD_USE= PHP=gd |
54 |
GMP_USE= PHP=gmp |
58 |
GMP_USE= PHP=gmp |
55 |
MBSTRING_USE= PHP=mbstring |
59 |
MBSTRING_USE= PHP=mbstring |
56 |
MYSQL_USE= MYSQL=server |
60 |
MYSQL_USE= PHP=mysqli |
|
|
61 |
POSTGRES_USE= PHP=postgresql |
62 |
SQLSRV_USE= PHP=sqlsrv |
63 |
SQLITE_USE= PHP=sqlite |
57 |
ZLIB_USE= PHP=zlib |
64 |
ZLIB_USE= PHP=zlib |
58 |
|
65 |
|
59 |
.include <bsd.port.options.mk> |
66 |
.include <bsd.port.options.mk> |
Lines 72-90
Link Here
|
72 |
${LN} -fs ../${TYPO3SRC} ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR}/typo3_src |
79 |
${LN} -fs ../${TYPO3SRC} ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR}/typo3_src |
73 |
${LN} -fs typo3_src/index.php ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR}/index.php |
80 |
${LN} -fs typo3_src/index.php ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR}/index.php |
74 |
${LN} -fs typo3_src/typo3 ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR}/typo3 |
81 |
${LN} -fs typo3_src/typo3 ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR}/typo3 |
75 |
${CP} ${WRKDIR}/${TYPO3SRC}/_.htaccess ${STAGEDIR}${PREFIX}/${TYPO3WWW}/${TYPO3DIR}/.htaccess |
|
|
76 |
|
82 |
|
77 |
post-install: |
83 |
post-install: |
78 |
@cd ${STAGEDIR}${PREFIX}; \ |
84 |
@cd ${STAGEDIR}${PREFIX}; \ |
79 |
${FIND} * \( -type f -or -type l \) -path "${TYPO3WWW}/${TYPO3DIR}/*" | \ |
85 |
${FIND} * \( -type f -or -type l \) -path "${TYPO3WWW}/${TYPO3DIR}/*" | \ |
80 |
${SORT} >> ${TMPPLIST} |
86 |
${SORT} >> ${TMPPLIST}; \ |
|
|
87 |
${ECHO} "@owner ${WWWOWN}" >> ${TMPPLIST}; \ |
88 |
${ECHO} "@dir ${TYPO3WWW}/${TYPO3DIR}" >> ${TMPPLIST} |
81 |
@cd ${STAGEDIR}${PREFIX}; \ |
89 |
@cd ${STAGEDIR}${PREFIX}; \ |
|
|
90 |
${ECHO} "@owner" >> ${TMPPLIST}; \ |
82 |
${FIND} * \( -type f -or -type l \) -path "${TYPO3WWW}/${TYPO3SRC}/*" | \ |
91 |
${FIND} * \( -type f -or -type l \) -path "${TYPO3WWW}/${TYPO3SRC}/*" | \ |
83 |
${SORT} >> ${TMPPLIST} |
92 |
${SORT} >> ${TMPPLIST} |
84 |
|
93 |
|
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> |
94 |
.include <bsd.port.mk> |