Lines 9-33
Link Here
|
9 |
PORTVERSION= 0.9.3 |
9 |
PORTVERSION= 0.9.3 |
10 |
PORTREVISION= 1 |
10 |
PORTREVISION= 1 |
11 |
CATEGORIES= misc gnome |
11 |
CATEGORIES= misc gnome |
12 |
MASTER_SITES= ${MASTER_SITE_LOCAL} |
12 |
MASTER_SITES= ${MASTER_SITE_DEBIAN} |
13 |
MASTER_SITE_SUBDIR= sobomax |
13 |
MASTER_SITE_SUBDIR= pool/main/g/${PORTNAME:S/gnome/gnome-/} |
14 |
DISTNAME= ${PORTNAME:S/gnome/gnome-/}-${PORTVERSION} |
14 |
DISTNAME= ${PORTNAME:S/gnome/gnome-/}_${PORTVERSION}.orig |
15 |
|
15 |
|
16 |
MAINTAINER= ports@FreeBSD.org |
16 |
MAINTAINER= ports@FreeBSD.org |
17 |
COMMENT= A small GNOME app that collects stock information from Yahoo!(c) Finance |
17 |
COMMENT= A small GNOME app that collects stock information from Yahoo!(c) Finance |
18 |
|
18 |
|
|
|
19 |
LIB_DEPENDS= ghttp.1:${PORTSDIR}/www/libghttp |
20 |
|
21 |
WRKSRC= ${WRKDIR}/${PORTNAME:S/gnome/gnome-/}-${PORTVERSION} |
22 |
|
19 |
USE_X_PREFIX= yes |
23 |
USE_X_PREFIX= yes |
20 |
USE_GNOME= yes |
24 |
USE_GNOME= gnomehack gnomelibs gnomeprefix |
21 |
GNU_CONFIGURE= yes |
25 |
GNU_CONFIGURE= yes |
22 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
26 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
23 |
LIBS="-L${LOCALBASE}/lib" |
27 |
LDFLAGS="-L${LOCALBASE}/lib" |
24 |
|
|
|
25 |
pre-patch: |
26 |
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ |
27 |
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure |
28 |
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \ |
29 |
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \ |
30 |
s|\$\(gnomedatadir\)/gnome/|\$\(gnomedatadir\)/|g ; \ |
31 |
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g' |
32 |
|
28 |
|
33 |
.include <bsd.port.mk> |
29 |
.include <bsd.port.mk> |