Lines 19-47
Link Here
|
19 |
png.5:${PORTSDIR}/graphics/png |
19 |
png.5:${PORTSDIR}/graphics/png |
20 |
|
20 |
|
21 |
USE_GNOME= gnomehack gnometarget intlhack pkgconfig |
21 |
USE_GNOME= gnomehack gnometarget intlhack pkgconfig |
22 |
USE_REINPLACE= yes |
|
|
23 |
USE_LIBTOOL_VER= 15 |
22 |
USE_LIBTOOL_VER= 15 |
24 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
23 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
25 |
LDFLAGS="-L${LOCALBASE}/lib" |
24 |
LDFLAGS="-L${LOCALBASE}/lib" \ |
|
|
25 |
ac_cv_prog_DOC_TO_MAN="" |
26 |
INSTALLS_SHLIB= yes |
26 |
INSTALLS_SHLIB= yes |
27 |
|
27 |
|
28 |
.if !defined(WITHOUT_NLS) |
|
|
29 |
USE_GETTEXT= yes |
30 |
PLIST_SUB= GETTEXT="" |
31 |
.else |
32 |
PLIST_SUB= GETTEXT="@comment " |
33 |
.endif |
34 |
|
35 |
.include <bsd.port.pre.mk> |
36 |
|
37 |
.if (${OSVERSION} < 500000) |
38 |
BROKEN= Doesn't build on < 5.x |
39 |
.endif |
40 |
|
41 |
post-configure: |
42 |
.if defined(WITHOUT_NLS) |
28 |
.if defined(WITHOUT_NLS) |
43 |
@${REINPLACE_CMD} -E 's|(SUBDIRS = data include src) po|\1|' \ |
29 |
CONFIGURE_ENV+= ac_cv_header_libintl_h=no |
44 |
${WRKSRC}/Makefile |
30 |
PLIST_SUB+= NLS="@comment " |
|
|
31 |
.else |
32 |
USE_GETTEXT= yes |
33 |
PLIST_SUB+= NLS="" |
45 |
.endif |
34 |
.endif |
46 |
|
35 |
|
47 |
.include <bsd.port.post.mk> |
36 |
.include <bsd.port.mk> |