Lines 23-40
Link Here
|
23 |
|
23 |
|
24 |
NO_BUILD= yes |
24 |
NO_BUILD= yes |
25 |
USE_APACHE= yes |
25 |
USE_APACHE= yes |
26 |
USE_PHP= pgsql mysql session |
26 |
USE_PHP= session |
27 |
SUB_FILES= pkg-message |
27 |
SUB_FILES= pkg-message |
28 |
PKGMESSAGE= ${WRKDIR}/pkg-message |
28 |
PKGMESSAGE= ${WRKDIR}/pkg-message |
29 |
|
29 |
|
30 |
.include <bsd.port.pre.mk> |
|
|
31 |
|
32 |
.if defined(WITH_PGSQL) |
30 |
.if defined(WITH_PGSQL) |
|
|
31 |
USE_PHP+= pgsql |
33 |
USE_PGSQL= yes |
32 |
USE_PGSQL= yes |
34 |
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg |
33 |
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg |
35 |
.endif |
34 |
.endif |
36 |
|
35 |
|
37 |
.if defined(WITH_MYSQL) |
36 |
.if defined(WITH_MYSQL) |
|
|
37 |
USE_PHP+= mysql |
38 |
USE_MYSQL= yes |
38 |
USE_MYSQL= yes |
39 |
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql |
39 |
RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql |
40 |
.endif |
40 |
.endif |
Lines 51-54
Link Here
|
51 |
post-install: |
51 |
post-install: |
52 |
${CAT} ${PKGMESSAGE} |
52 |
${CAT} ${PKGMESSAGE} |
53 |
|
53 |
|
54 |
.include <bsd.port.post.mk> |
54 |
.include <bsd.port.mk> |