|
Lines 14-19
Link Here
|
| 14 |
|
14 |
|
| 15 |
USE_X_PREFIX= yes |
15 |
USE_X_PREFIX= yes |
| 16 |
USE_GNOMENG= yes |
16 |
USE_GNOMENG= yes |
|
|
17 |
USE_GNOME= gtk12 |
| 18 |
USE_REINPLACE= yes |
| 17 |
WANT_GNOME= yes |
19 |
WANT_GNOME= yes |
| 18 |
GNU_CONFIGURE= yes |
20 |
GNU_CONFIGURE= yes |
| 19 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
21 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
|
Lines 22-39
Link Here
|
| 22 |
.include <bsd.port.pre.mk> |
24 |
.include <bsd.port.pre.mk> |
| 23 |
|
25 |
|
| 24 |
.if ${HAVE_GNOME:Mgnomelibs}!="" |
26 |
.if ${HAVE_GNOME:Mgnomelibs}!="" |
| 25 |
USE_GNOME= gtk12 esound |
27 |
USE_GNOME+= gnomelibs esound gnomeprefix gnomehack |
| 26 |
CONFIGURE_ARGS+=--enable-gnome |
28 |
CONFIGURE_ARGS+=--enable-gnome |
| 27 |
PKGNAMESUFFIX= -gnome |
29 |
PKGNAMESUFFIX= -gnome |
| 28 |
.else |
30 |
.else |
| 29 |
CONFIGURE_ARGS+=--disable-gnome |
31 |
CONFIGURE_ARGS+=--disable-gnome |
| 30 |
.endif |
32 |
.endif |
| 31 |
|
33 |
|
| 32 |
pre-patch: |
34 |
post-patch: |
| 33 |
@${PERL} -pi -e 's^-l(pthread|c_r)^${PTHREAD_LIBS}^g ; \ |
35 |
@${REINPLACE_CMD} -e 's^-l(pthread|c_r)^${PTHREAD_LIBS}^g ; \ |
| 34 |
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure |
36 |
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure |
| 35 |
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ |
|
|
| 36 |
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ |
| 37 |
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g' |
| 38 |
|
37 |
|
| 39 |
.include <bsd.port.post.mk> |
38 |
.include <bsd.port.post.mk> |