head	1.5;
access;
symbols
	RELEASE_8_3_0:1.1
	RELEASE_9_0_0:1.1;
locks; strict;
comment	@# @;


1.5
date	2013.01.23.15.05.38;	author svnexp;	state Exp;
branches;
next	1.4;

1.4
date	2013.01.22.23.54.52;	author svnexp;	state Exp;
branches;
next	1.3;

1.3
date	2012.11.17.06.02.38;	author svnexp;	state Exp;
branches;
next	1.2;

1.2
date	2012.06.01.05.24.56;	author dinoex;	state Exp;
branches;
next	1.1;

1.1
date	2011.09.24.18.45.03;	author stephen;	state Exp;
branches;
next	;


desc
@@


1.5
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310871
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# New ports collection makefile for:	links-hacked
# Date created:		24 September 2011
# Whom:			Peter Vereshagin <peter@@vereshagin.org>
#
# $FreeBSD: head/www/links-hacked/Makefile 310871 2013-01-23 15:00:18Z makc $
#

PORTNAME=	links-hacked
DISTVERSION=	101110
PORTREVISION=	2
CATEGORIES?=	www
MASTER_SITES=	http://xray.sai.msu.ru/~karpov/links-hacked/downloads/ http://links-hacked.nm.ru/

MAINTAINER=	peter@@vereshagin.org
COMMENT=	Hacked version of a Links WWW browser

LIB_DEPENDS+=	execinfo:${PORTSDIR}/devel/libexecinfo \
		gdbm:${PORTSDIR}/databases/gdbm

CONFLICTS=	links-[0-9]*

USE_AUTOTOOLS?=	autoconf autoheader aclocal automake
AUTOMAKE_ARGS?=	-a -c

GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=	--with-ssl --without-pmshell --without-atheos \
			--without-fb --enable-form-saving --enable-javascript
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib -lexecinfo

USE_OPENSSL=	yes

OPTIONS=	SVGALIB "non-X11 graphics support" off \
		DIRECTFB "directfb driver support" off \
		X11 "X11 graphics support" on \
		FORMSAVE "Enable forms saving" on \
		JS "Enable Javascript (very basic)" on \
		FREETYPE "Enable Freetype renderer" on

.include <bsd.port.options.mk>

.ifdef(WITH_SVGALIB) || defined(WITH_X11) || defined(WITH_DIRECTFB)
LIB_DEPENDS+=	png15:${PORTSDIR}/graphics/png \
		jpeg.11:${PORTSDIR}/graphics/jpeg \
		tiff.4:${PORTSDIR}/graphics/tiff
CONFIGURE_ARGS+=	--enable-graphics
.else
CONFIGURE_ARGS+=	--disable-graphics --without-libjpeg --without-libtiff
.endif

.ifdef(WITH_SVGALIB)
LIB_DEPENDS+=	vga.1:${PORTSDIR}/graphics/svgalib
CONFIGURE_ARGS+=	--with-svgalib
.else
CONFIGURE_ARGS+=	--without-svgalib
.endif

.ifdef(WITH_DIRECTFB)
LIB_DEPENDS+=	directfb-1.4.5:${PORTSDIR}/devel/directfb
CONFIGURE_ARGS+=	--with-directfb
.else
CONFIGURE_ARGS+=	--without-directfb
.endif

.if !defined(WITHOUT_X11)
USE_XORG=	x11 xproto
CONFIGURE_ARGS+=	--with-x
DESKTOP_ENTRIES="Links" \
		"Lynx-like hacked WWW browser" \
		"${PREFIX}/share/pixmaps/links.xpm" \
		"links -g" \
		"Network;WebBrowser;" \
		false
PLIST_FILES+=	share/pixmaps/links.xpm
.else
CONFIGURE_ARGS+=	--without-x
.endif

.ifdef(WITH_FREETYPE)
LIB_DEPENDS+=	freetype.9:${PORTSDIR}/print/freetype2
CONFIGURE_ARGS+=	--with-freetype
.else
CONFIGURE_ARGS+=	--without-freetype
.endif

.ifdef(WITH_FORMSAVE)
CONFIGURE_ARGS+=	--enable-form-saving
.else
CONFIGURE_ARGS+=	--disable-form-saving
.endif

.ifdef(WITH_JS)
CONFIGURE_ARGS+=	--enable-javascript
.else
CONFIGURE_ARGS+=	--disable-javascript
.endif

MAN1=		links.1
PLIST_FILES+=	bin/links

.if !defined(WITHOUT_X11)
post-install:
	@@${INSTALL_DATA} ${WRKSRC}/graphics/links.xpm ${PREFIX}/share/pixmaps/links.xpm
.endif

.include <bsd.port.mk>
@


1.4
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310844
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d5 1
a5 1
# $FreeBSD: head/www/links-hacked/Makefile 310844 2013-01-22 23:12:20Z makc $
d10 1
a10 1
PORTREVISION=	1
@


1.3
log
@Switch exporter over
@
text
@d5 1
a5 1
# $FreeBSD: head/www/links-hacked/Makefile 300897 2012-07-14 14:29:18Z beat $
d70 1
a70 1
		"links" \
d72 1
a72 1
		"Application;Network;WebBrowser;" \
@


1.2
log
@- update png to 1.5.10
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.1
log
@- New port www/links-hacked.

WW browser Links well known and now hacked for more features including
tabs, basic auth and toolbar, hot key for images, form entry saving, much
better X fonts, etc.

PR:		ports/152045
Submitted by:	Peter Vereshagin <peter@@vereshagin.org>
@
text
@d10 1
d43 1
a43 1
LIB_DEPENDS+=	png.6:${PORTSDIR}/graphics/png \
@

