Lines 6-39
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= dillo |
8 |
PORTNAME= dillo |
9 |
PORTVERSION= 0.7.1 |
9 |
PORTVERSION= 0.7.2 |
10 |
CATEGORIES= www |
10 |
CATEGORIES= www |
11 |
MASTER_SITES= http://dillo.auriga.wearlab.de/download/ |
11 |
MASTER_SITES= http://dillo.auriga.wearlab.de/download/ |
12 |
# hack to account for the bugfix version number |
|
|
13 |
DISTNAME= ${PORTNAME}-${PORTVERSION}.2 |
14 |
|
12 |
|
15 |
MAINTAINER= ports@FreeBSD.org |
13 |
MAINTAINER= ports@FreeBSD.org |
16 |
COMMENT= A fast, small graphical Web browser built upon GTK+ |
14 |
COMMENT= A fast, small graphical Web browser built upon GTK+ |
17 |
|
15 |
|
18 |
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ |
16 |
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \ |
19 |
png.5:${PORTSDIR}/graphics/png \ |
17 |
png.5:${PORTSDIR}/graphics/png |
20 |
intl.4:${PORTSDIR}/devel/gettext |
|
|
21 |
|
22 |
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} |
23 |
|
18 |
|
|
|
19 |
USE_BZIP2= yes |
24 |
USE_GNOME= gtk12 |
20 |
USE_GNOME= gtk12 |
25 |
GNU_CONFIGURE= yes |
21 |
USE_REINPLACE= yes |
26 |
CONFIGURE_ARGS+= --includedir="${LOCALBASE}/include" \ |
|
|
27 |
--libdir="${LOCALBASE}/lib" \ |
28 |
--with-jpeg-inc="${LOCALBASE}/include" |
29 |
CONFIGURE_ENV+= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" |
30 |
USE_GMAKE= yes |
22 |
USE_GMAKE= yes |
|
|
23 |
GNU_CONFIGURE= yes |
24 |
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} |
25 |
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ |
26 |
LDFLAGS="-L${LOCALBASE}/lib" |
31 |
|
27 |
|
32 |
post-patch: |
28 |
post-patch: |
33 |
${PERL} -pi -e "s@-D_REENTRANT -D_THREAD_SAFE@@" ${WRKSRC}/configure |
29 |
@${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g ; \ |
34 |
${PERL} -pi -e "s@dillorc@dillorc.sample@g" ${WRKSRC}/Makefile.in |
30 |
s|-D_THREAD_SAFE|${PTHREAD_CFLAGS}|g' ${WRKSRC}/configure |
35 |
${MV} ${WRKSRC}/dillorc ${WRKSRC}/dillorc.sample |
31 |
@${REINPLACE_CMD} -e 's|dillorc|dillorc.sample|g' ${WRKSRC}/Makefile.in |
36 |
${PERL} -pi -e "s@/usr/local/etc/dillorc@${PREFIX}/etc/dillorc@g" \ |
32 |
@${CP} ${WRKSRC}/dillorc ${WRKSRC}/dillorc.sample |
37 |
${WRKSRC}/src/prefs.c |
|
|
38 |
|
33 |
|
39 |
.include <bsd.port.mk> |
34 |
.include <bsd.port.mk> |