1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-01 01:17:02 +00:00
freebsd-ports/www/dillo-i18n/Makefile
Edwin Groothuis f306e935ad dillo port needs updating
The latest version of dillo is 0.7.1.2

PR:		ports/50530
Submitted by:	arlankfo@141.com
2003-04-01 23:21:16 +00:00

41 lines
1.2 KiB
Makefile

# New ports collection makefile for: dillo
# Date created: 23 February 2001
# Whom: George Reid <greid@ukug.uk.freebsd.org>
#
# $FreeBSD$
#
PORTNAME= dillo
PORTVERSION= 0.7.1
CATEGORIES= www
MASTER_SITES= http://dillo.auriga.wearlab.de/download/
# hack to account for the bugfix version number
DISTNAME= ${PORTNAME}-${PORTVERSION}.2
MAINTAINER= ports@FreeBSD.org
COMMENT= A fast, small graphical Web browser built upon GTK+
LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg \
png.5:${PORTSDIR}/graphics/png \
intl.4:${PORTSDIR}/devel/gettext
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_GNOMENG= yes
USE_GNOME= gtk12
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --includedir="${LOCALBASE}/include" \
--libdir="${LOCALBASE}/lib" \
--with-jpeg-inc="${LOCALBASE}/include"
CONFIGURE_ENV+= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}"
USE_GMAKE= yes
post-patch:
${PERL} -pi -e "s@-D_REENTRANT -D_THREAD_SAFE@@" ${WRKSRC}/configure
${PERL} -pi -e "s@dillorc@dillorc.sample@g" ${WRKSRC}/Makefile.in
${MV} ${WRKSRC}/dillorc ${WRKSRC}/dillorc.sample
${PERL} -pi -e "s@/usr/local/etc/dillorc@${PREFIX}/etc/dillorc@g" \
${WRKSRC}/src/prefs.c
.include <bsd.port.mk>