|
Lines 118-123
Link Here
|
| 118 |
# |
118 |
# |
| 119 |
# Use these if your port uses some of the common software packages. |
119 |
# Use these if your port uses some of the common software packages. |
| 120 |
# |
120 |
# |
|
|
121 |
# USE_APACHE - Says that the port uses Apache for building and running. |
| 122 |
# AP_PORT - Set to the name of the apache port (default: apache13) |
| 123 |
# AP_TARGET - Set to the name of the apache server (default: httpd) |
| 124 |
# AP_SBINDIR - Set to the location of the apache sbin directory |
| 125 |
# AP_INCLUDE - Set to the location of the apache include directory |
| 126 |
# AP_LIBEXEC - Set to the location of the apache libexec directory |
| 127 |
# AP_SYSCONF - Set to the location of the apache config directory |
| 128 |
# AP_PREFIX - Set to the apache prefix (default: ${PREFIX}) |
| 129 |
# |
| 121 |
# USE_BZIP2 - Says that the port tarballs use bzip2, not gzip, for |
130 |
# USE_BZIP2 - Says that the port tarballs use bzip2, not gzip, for |
| 122 |
# compression. |
131 |
# compression. |
| 123 |
# USE_ZIP - Says that the port distfile uses zip, not tar w/[bg]zip |
132 |
# USE_ZIP - Says that the port distfile uses zip, not tar w/[bg]zip |
|
Lines 698-703
Link Here
|
| 698 |
.if defined(USE_QT2) |
707 |
.if defined(USE_QT2) |
| 699 |
LIB_DEPENDS+= qt2.3:${PORTSDIR}/x11-toolkits/qt21 |
708 |
LIB_DEPENDS+= qt2.3:${PORTSDIR}/x11-toolkits/qt21 |
| 700 |
USE_NEWGCC= yes |
709 |
USE_NEWGCC= yes |
|
|
710 |
.endif |
| 711 |
|
| 712 |
.if defined(USE_APACHE) |
| 713 |
APXS= ${PREFIX}/sbin/apxs |
| 714 |
|
| 715 |
.if exists(${APXS}) |
| 716 |
AP_PORT!= if ${APXS} -q AP_PORT > /dev/null 2>&1 ; then \ |
| 717 |
${APXS} -q AP_PORT ; \ |
| 718 |
else \ |
| 719 |
echo "apache13" ; \ |
| 720 |
fi |
| 721 |
AP_TARGET!= ${APXS} -q TARGET |
| 722 |
AP_SBINDIR!= ${APXS} -q SBINDIR |
| 723 |
AP_INCLUDE!= ${APXS} -q INCLUDEDIR |
| 724 |
AP_LIBEXEC!= ${APXS} -q LIBEXECDIR |
| 725 |
AP_SYSCONF!= ${APXS} -q SYSCONFDIR |
| 726 |
AP_PREFIX!= ${APXS} -q PREFIX |
| 727 |
.else |
| 728 |
AP_PORT?= apache13 |
| 729 |
AP_TARGET?= httpd |
| 730 |
AP_SBINDIR?= ${PREFIX}/sbin |
| 731 |
AP_INCLUDE?= ${PREFIX}/include/apache |
| 732 |
AP_LIBEXEC?= ${PREFIX}/libexec/apache |
| 733 |
AP_SYSCONF?= ${PREFIX}/etc/apache |
| 734 |
AP_PREFIX?= ${PREFIX} |
| 735 |
.endif |
| 736 |
|
| 737 |
BUILD_DEPENDS+= ${APXS}:${PORTSDIR}/www/${AP_PORT} |
| 738 |
RUN_DEPENDS+= ${PREFIX}/sbin/${AP_TARGET}:${PORTSDIR}/www/${AP_PORT} |
| 739 |
|
| 740 |
PLIST_SUB+= AP_SBINDIR=${AP_SBINDIR:S/^${PREFIX}\///} \ |
| 741 |
AP_INCLUDE=${AP_INCLUDE:S/^${PREFIX}\///} \ |
| 742 |
AP_LIBEXEC=${AP_LIBEXEC:S/^${PREFIX}\///} \ |
| 743 |
AP_SYSCONF=${AP_SYSCONF:S/^${PREFIX}\///} |
| 701 |
.endif |
744 |
.endif |
| 702 |
|
745 |
|
| 703 |
.if defined(USE_BZIP2) |
746 |
.if defined(USE_BZIP2) |