diff options
author | nemoliu <nemoliu@FreeBSD.org> | 2010-02-02 16:43:14 +0800 |
---|---|---|
committer | nemoliu <nemoliu@FreeBSD.org> | 2010-02-02 16:43:14 +0800 |
commit | d191a8dfe3f887cca938c2ce711058212fdc0235 (patch) | |
tree | a42f8e2f05f2bc46f3fdbba498976ddc3e8a9f5a /textproc/simplehtmldom | |
parent | 72e15bc159d0bcf8a8673dd0deaecd8e53b81986 (diff) | |
download | freebsd-ports-gnome-d191a8dfe3f887cca938c2ce711058212fdc0235.tar.gz freebsd-ports-gnome-d191a8dfe3f887cca938c2ce711058212fdc0235.tar.zst freebsd-ports-gnome-d191a8dfe3f887cca938c2ce711058212fdc0235.zip |
- Add PHP pcre extension as required
- Use pkg-message.in for templated message output
PR: ports/143404
Submmitted by: Joe Horn <joehorn@gmail.com> (maintainer)
Diffstat (limited to 'textproc/simplehtmldom')
-rw-r--r-- | textproc/simplehtmldom/Makefile | 30 | ||||
-rw-r--r-- | textproc/simplehtmldom/files/pkg-message.in | 9 | ||||
-rw-r--r-- | textproc/simplehtmldom/pkg-message | 8 |
3 files changed, 26 insertions, 21 deletions
diff --git a/textproc/simplehtmldom/Makefile b/textproc/simplehtmldom/Makefile index f869709f2b72..d8f193509732 100644 --- a/textproc/simplehtmldom/Makefile +++ b/textproc/simplehtmldom/Makefile @@ -5,27 +5,31 @@ # $FreeBSD$ # -PORTNAME= simplehtmldom -DISTVERSION= 1.11 -CATEGORIES= textproc www -MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION} -DISTNAME= ${PORTNAME}_${DISTVERSION:S/./_/g} +PORTNAME= simplehtmldom +DISTVERSION= 1.11 +CATEGORIES= textproc www +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTVERSION} +DISTNAME= ${PORTNAME}_${DISTVERSION:S/./_/g} -MAINTAINER= joehorn@gmail.com -COMMENT= PHP Simple HTML DOM Parser +MAINTAINER= joehorn@gmail.com +COMMENT= PHP Simple HTML DOM Parser -WRKSRC= ${WRKDIR}/${PORTNAME} +WRKSRC= ${WRKDIR}/${PORTNAME} -USE_ZIP= YES -USE_PHP= YES -NO_BUILD= YES +USE_ZIP= YES +NO_BUILD= YES -EXAMPLES_SUB_DIR= scraping -DOCS_SUB_DIR= css img js +USE_PHP= pcre DEFAULT_PHP_VER= 5 IGNORE_WITH_PHP= 4 +SUB_FILES+= pkg-message +SUB_LIST+= DATADIR=${DATADIR} PREFIX=${PREFIX} + +EXAMPLES_SUB_DIR= scraping +DOCS_SUB_DIR= css img js + .include <bsd.port.pre.mk> do-install: diff --git a/textproc/simplehtmldom/files/pkg-message.in b/textproc/simplehtmldom/files/pkg-message.in new file mode 100644 index 000000000000..f848359493f1 --- /dev/null +++ b/textproc/simplehtmldom/files/pkg-message.in @@ -0,0 +1,9 @@ +************************************************************************* + +You can add the library path ( DEFAULT: %%DATADIR%% ) +to the "include_path=" directive in your php.ini file +( DEFAULT: %%PREFIX%%/etc/php.ini ), such as: + + include_path = ".:%%DATADIR%%" + +************************************************************************* diff --git a/textproc/simplehtmldom/pkg-message b/textproc/simplehtmldom/pkg-message index 4609bc7ddfb4..e69de29bb2d1 100644 --- a/textproc/simplehtmldom/pkg-message +++ b/textproc/simplehtmldom/pkg-message @@ -1,8 +0,0 @@ -************************************************************************* -You can add the library path ( DEFAULT: ${PREFIX}/share/simplehtmldom ) -to the "include_path=" directive in your php.ini file -( DEFAULT: ${PREFIX}/etc/php.ini ), such as: - - include_path = ".:${PREFIX}/share/simplehtmldom" - -************************************************************************* |