Lines 7-14
Link Here
|
7 |
# |
7 |
# |
8 |
|
8 |
|
9 |
PORTNAME= libtre |
9 |
PORTNAME= libtre |
10 |
PORTVERSION= 0.7.2 |
10 |
PORTVERSION= 0.7.3 |
11 |
PORTREVISION= 1 |
|
|
12 |
CATEGORIES= textproc |
11 |
CATEGORIES= textproc |
13 |
MASTER_SITES= http://laurikari.net/tre/ |
12 |
MASTER_SITES= http://laurikari.net/tre/ |
14 |
DISTNAME= tre-${PORTVERSION} |
13 |
DISTNAME= tre-${PORTVERSION} |
Lines 17-45
Link Here
|
17 |
COMMENT= A lightweight fully POSIX compliant regexp matching library |
16 |
COMMENT= A lightweight fully POSIX compliant regexp matching library |
18 |
|
17 |
|
19 |
USE_BZIP2= yes |
18 |
USE_BZIP2= yes |
20 |
USE_GNOME= gnomehack gnometarget pkgconfig lthack |
19 |
USE_GNOME= gnomehack gnometarget pkgconfig |
21 |
USE_GETOPT_LONG=yes |
20 |
USE_GETOPT_LONG= yes |
22 |
USE_AUTOTOOLS= libtool:15 |
21 |
USE_AUTOTOOLS= libtool:15 |
23 |
USE_REINPLACE= yes |
|
|
24 |
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" |
22 |
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" |
25 |
INSTALLS_SHLIB= yes |
23 |
INSTALLS_SHLIB= yes |
26 |
|
24 |
|
27 |
CPPFLAGS= -I${LOCALBASE}/include |
25 |
CPPFLAGS= -I${LOCALBASE}/include |
28 |
LDFLAGS= -L${LOCALBASE}/lib -lintl |
26 |
LDFLAGS= -L${LOCALBASE}/lib |
29 |
|
27 |
|
30 |
MAN1= agrep.1 |
28 |
MAN1= agrep.1 |
31 |
|
29 |
|
32 |
.if !defined(WITHOUT_NLS) |
30 |
.if defined(WITHOUT_NLS) |
|
|
31 |
CONFIGURE_ARGS+= --disable-nls |
32 |
PLIST_SUB+= NLS="@comment " |
33 |
.else |
33 |
USE_GETTEXT= yes |
34 |
USE_GETTEXT= yes |
34 |
PLIST_SUB+= NLS="" |
35 |
PLIST_SUB+= NLS="" |
35 |
.else |
|
|
36 |
BROKEN= Does not build without gettext |
37 |
CONFIGURE_ARGS+=--disable-nls |
38 |
PLIST_SUB+= NLS="@comment " |
39 |
.endif |
36 |
.endif |
40 |
|
37 |
|
41 |
.ifdef WITH_OPTIMIZED_CFLAGS |
38 |
.if defined(WITH_OPTIMIZED_CFLAGS) |
42 |
CFLAGS+= -Wuninitialized -ffast-math -finline-functions -fomit-frame-pointer -fexpensive-optimizations -fforce-mem -fforce-addr -O3 |
39 |
CFLAGS+= -Wuninitialized -ffast-math -finline-functions \ |
|
|
40 |
-fomit-frame-pointer -fexpensive-optimizations \ |
41 |
-fforce-mem -fforce-addr -O3 |
43 |
.endif |
42 |
.endif |
44 |
|
43 |
|
45 |
pre-everything:: |
44 |
pre-everything:: |