Lines 6-24
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= pcre |
8 |
PORTNAME= pcre |
9 |
PORTVERSION= 3.9 |
9 |
PORTVERSION= 4.3 |
10 |
CATEGORIES= devel |
10 |
CATEGORIES= devel |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
11 |
MASTER_SITES= ftp://ftp.csx.cam.ac.uk/pub/software/programming/%SUBDIR%/ \ |
|
|
12 |
${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
13 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
13 |
|
14 |
|
14 |
MAINTAINER= dom@happygiraffe.net |
15 |
MAINTAINER= dom@happygiraffe.net |
15 |
COMMENT= Perl Compatible Regular Expressions library |
16 |
COMMENT= Perl Compatible Regular Expressions library |
16 |
|
17 |
|
17 |
# Disabled until SourceForge put a proper copy of .tar.bz2 file on its mirrors |
18 |
USE_BZIP2= yes |
18 |
# Currently, it is corrupted and does not match the one on the master site: |
|
|
19 |
# ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ |
20 |
# |
21 |
# USE_BZIP2= yes |
22 |
GNU_CONFIGURE= yes |
19 |
GNU_CONFIGURE= yes |
23 |
INSTALLS_SHLIB= yes |
20 |
INSTALLS_SHLIB= yes |
24 |
|
21 |
|
Lines 27-32
Link Here
|
27 |
.endif |
24 |
.endif |
28 |
|
25 |
|
29 |
MAN1= pcregrep.1 pcretest.1 |
26 |
MAN1= pcregrep.1 pcretest.1 |
30 |
MAN3= pcre.3 pcreposix.3 |
27 |
MAN3= pcre.3 pcre_compile.3 pcre_config.3 \ |
|
|
28 |
pcre_copy_named_substring.3 pcre_copy_substring.3 pcre_exec.3 \ |
29 |
pcre_free_substring.3 pcre_free_substring_list.3 pcre_fullinfo.3 \ |
30 |
pcre_get_named_substring.3 pcre_get_stringnumber.3 pcre_get_substring.3 \ |
31 |
pcre_get_substring_list.3 pcre_info.3 pcre_maketables.3 \ |
32 |
pcre_study.3 pcre_version.3 pcreapi.3 \ |
33 |
pcrebuild.3 pcrecallout.3 pcrecompat.3 \ |
34 |
pcrepattern.3 pcreperform.3 pcreposix.3 \ |
35 |
pcresample.3 |
36 |
|
37 |
TXTDOC= Tech.Notes pcre.txt pcregrep.txt \ |
38 |
pcretest.txt perltest.txt |
39 |
HTMLDOC= index pcre pcre_compile \ |
40 |
pcre_config pcre_copy_named_substring pcre_copy_substring \ |
41 |
pcre_exec pcre_free_substring pcre_free_substring_list \ |
42 |
pcre_fullinfo pcre_get_named_substring pcre_get_stringnumber \ |
43 |
pcre_get_substring pcre_get_substring_list pcre_info \ |
44 |
pcre_maketables pcre_study pcre_version \ |
45 |
pcreapi pcrebuild pcrecallout \ |
46 |
pcrecompat pcregrep pcrepattern \ |
47 |
pcreperform pcreposix pcresample \ |
48 |
pcretest |
49 |
|
50 |
post-install: |
51 |
@${STRIP_CMD} ${STRIP} ${PREFIX}/bin/pcregrep |
52 |
@${STRIP_CMD} ${STRIP} ${PREFIX}/bin/pcretest |
53 |
.if !defined(NOPORTDOCS) |
54 |
@${MKDIR} ${DOCSDIR} |
55 |
@for txt in ${TXTDOC}; do \ |
56 |
${INSTALL_DATA} ${WRKSRC}/doc/$${txt} ${DOCSDIR}; \ |
57 |
done |
58 |
@${MKDIR} ${DOCSDIR}/html |
59 |
@for html in ${HTMLDOC}; do \ |
60 |
${INSTALL_DATA} ${WRKSRC}/doc/html/$${html}.html ${DOCSDIR}/html; \ |
61 |
done |
62 |
.endif |
31 |
|
63 |
|
32 |
.include <bsd.port.mk> |
64 |
.include <bsd.port.mk> |