mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-15 07:56:36 +00:00
Add support for jstring.
Submitted by: kuriyama
This commit is contained in:
parent
41e3d18ba0
commit
bcbb71df20
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=35947
@ -43,7 +43,8 @@ CONFIGURE_ARGS= --with-apxs=${APXS} \
|
||||
|
||||
SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \
|
||||
TOUCH="${TOUCH}" \
|
||||
MKDIR="${MKDIR}"
|
||||
MKDIR="${MKDIR}" \
|
||||
CAT="${CAT}"
|
||||
|
||||
.if exists(${APXS})
|
||||
AP_LIBEXEC!= ${APXS} -q LIBEXEC
|
||||
|
@ -1 +1,2 @@
|
||||
MD5 (php-4.0.3pl1.tar.gz) = 6969bc69588400557f70a014ab1536c1
|
||||
MD5 (php-4.0RC2_jstring-1.0.tar.gz) = 9a159030cf6cab58b1131c70780f0eb0
|
||||
|
@ -29,6 +29,7 @@ SNMP "SNMP support" OFF \
|
||||
XML "XML support" OFF \
|
||||
FTP "File Transfer Protocol support" OFF \
|
||||
gettext "gettext library support" OFF \
|
||||
jstring "jstring module" OFF \
|
||||
2> /tmp/checklist.tmp.$$
|
||||
|
||||
retval=$?
|
||||
@ -157,6 +158,22 @@ while [ "$1" ]; do
|
||||
echo "LIB_DEPENDS+= intl.1:\${PORTSDIR}/devel/gettext"
|
||||
echo "CONFIGURE_ARGS+=--with-gettext=\${PREFIX}"
|
||||
;;
|
||||
\"jstring\")
|
||||
${CAT} << EOF
|
||||
MASTER_SITES+= ftp://night.fminn.nagano.nagano.jp/php4/
|
||||
DISTFILES= \${DISTNAME}\${EXTRACT_SUFX} php-4.0RC2_jstring-1.0.tar.gz
|
||||
CONFIGURE_ARGS+=--enable-jstring
|
||||
BUILD_DEPENDS+= automake:\${PORTSDIR}/devel/automake
|
||||
BUILD_DEPENDS+= autoconf:\${PORTSDIR}/devel/autoconf
|
||||
|
||||
post-extract:
|
||||
[ -d \${WRKDIR}/jstring ] && \\
|
||||
(cd \${WRKSRC}; \\
|
||||
\${MV} ${WRKDIR}/jstring ext; \\
|
||||
\${RM} configure; \\
|
||||
./buildconf)
|
||||
EOF
|
||||
;;
|
||||
*)
|
||||
echo "Invalid option(s): $*" > /dev/stderr
|
||||
rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
|
||||
|
@ -43,7 +43,8 @@ CONFIGURE_ARGS= --with-apxs=${APXS} \
|
||||
|
||||
SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \
|
||||
TOUCH="${TOUCH}" \
|
||||
MKDIR="${MKDIR}"
|
||||
MKDIR="${MKDIR}" \
|
||||
CAT="${CAT}"
|
||||
|
||||
.if exists(${APXS})
|
||||
AP_LIBEXEC!= ${APXS} -q LIBEXEC
|
||||
|
@ -1 +1,2 @@
|
||||
MD5 (php-4.0.3pl1.tar.gz) = 6969bc69588400557f70a014ab1536c1
|
||||
MD5 (php-4.0RC2_jstring-1.0.tar.gz) = 9a159030cf6cab58b1131c70780f0eb0
|
||||
|
@ -29,6 +29,7 @@ SNMP "SNMP support" OFF \
|
||||
XML "XML support" OFF \
|
||||
FTP "File Transfer Protocol support" OFF \
|
||||
gettext "gettext library support" OFF \
|
||||
jstring "jstring module" OFF \
|
||||
2> /tmp/checklist.tmp.$$
|
||||
|
||||
retval=$?
|
||||
@ -157,6 +158,22 @@ while [ "$1" ]; do
|
||||
echo "LIB_DEPENDS+= intl.1:\${PORTSDIR}/devel/gettext"
|
||||
echo "CONFIGURE_ARGS+=--with-gettext=\${PREFIX}"
|
||||
;;
|
||||
\"jstring\")
|
||||
${CAT} << EOF
|
||||
MASTER_SITES+= ftp://night.fminn.nagano.nagano.jp/php4/
|
||||
DISTFILES= \${DISTNAME}\${EXTRACT_SUFX} php-4.0RC2_jstring-1.0.tar.gz
|
||||
CONFIGURE_ARGS+=--enable-jstring
|
||||
BUILD_DEPENDS+= automake:\${PORTSDIR}/devel/automake
|
||||
BUILD_DEPENDS+= autoconf:\${PORTSDIR}/devel/autoconf
|
||||
|
||||
post-extract:
|
||||
[ -d \${WRKDIR}/jstring ] && \\
|
||||
(cd \${WRKSRC}; \\
|
||||
\${MV} ${WRKDIR}/jstring ext; \\
|
||||
\${RM} configure; \\
|
||||
./buildconf)
|
||||
EOF
|
||||
;;
|
||||
*)
|
||||
echo "Invalid option(s): $*" > /dev/stderr
|
||||
rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
|
||||
|
Loading…
Reference in New Issue
Block a user