Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= zile |
8 |
PORTNAME= zile |
9 |
PORTVERSION= 2.2.9 |
9 |
PORTVERSION= 2.2.11 |
10 |
CATEGORIES= editors |
10 |
CATEGORIES= editors |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME} |
Lines 15-23
Link Here
|
15 |
COMMENT= Small emacs-like text editor |
15 |
COMMENT= Small emacs-like text editor |
16 |
|
16 |
|
17 |
USE_GETOPT_LONG=yes |
17 |
USE_GETOPT_LONG=yes |
|
|
18 |
USE_RENPLACE= yes |
18 |
GNU_CONFIGURE= yes |
19 |
GNU_CONFIGURE= yes |
19 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
20 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
20 |
CONFIGURE_ARGS= --disable-allegro --disable-epocemx |
21 |
CONFIGURE_ENV= LIBS="-lgnuregex" |
|
|
22 |
CONFIGURE_ARGS= --disable-allegro --disable-epocemx |
21 |
|
23 |
|
22 |
MAN1= zile.1 |
24 |
MAN1= zile.1 |
23 |
INFO= zile |
25 |
INFO= zile |
Lines 25-28
Link Here
|
25 |
%%DATADIR%%/TUTORIAL %%DATADIR%%/dotzile.sample |
27 |
%%DATADIR%%/TUTORIAL %%DATADIR%%/dotzile.sample |
26 |
PLIST_DIRS= %%DATADIR%% |
28 |
PLIST_DIRS= %%DATADIR%% |
27 |
|
29 |
|
28 |
.include <bsd.port.mk> |
30 |
.include <bsd.port.pre.mk> |
|
|
31 |
|
32 |
.if ${OSVERSION} > 502010 |
33 |
GNU_REGEX_H= gnu/regex.h |
34 |
.else |
35 |
GNU_REGEX_H= gnuregex.h |
36 |
.endif |
37 |
|
38 |
post-patch: |
39 |
@${REINPLACE_CMD} -e \ |
40 |
's|<regex\.h>|<${GNU_REGEX_H}>|g ; \ |
41 |
s|_regex_h|_${GNU_REGEX_H:S/\//_/g:S/./_/g}|g ; \ |
42 |
s|-pedantic||g' ${WRKSRC}/configure |
43 |
@${REINPLACE_CMD} -e \ |
44 |
's|<regex\.h>|<${GNU_REGEX_H}>|g' ${WRKSRC}/src/search.c |
45 |
|
46 |
.include <bsd.port.post.mk> |