2000-01-29 06:02:02 +00:00
|
|
|
# New ports collection makefile for: links
|
|
|
|
# Date created: 21 January 2000
|
|
|
|
# Whom: Michael Vasilenko <acid@stu.cn.ua>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-10 00:07:29 +00:00
|
|
|
PORTNAME= links
|
2006-05-29 14:10:59 +00:00
|
|
|
PORTVERSION= 2.1.p21
|
2001-07-07 09:37:05 +00:00
|
|
|
PORTEPOCH= 1
|
2003-10-26 10:19:03 +00:00
|
|
|
CATEGORIES?= www
|
2006-01-23 08:34:42 +00:00
|
|
|
MASTER_SITES= http://links.twibright.com/download/
|
2006-05-29 14:10:59 +00:00
|
|
|
DISTNAME= ${PORTNAME}-2.1pre21
|
2000-01-29 06:02:02 +00:00
|
|
|
|
2003-02-22 17:47:45 +00:00
|
|
|
MAINTAINER?= demon@FreeBSD.org
|
2003-02-22 09:13:13 +00:00
|
|
|
COMMENT= Lynx-like text WWW browser
|
2000-01-29 06:02:02 +00:00
|
|
|
|
2006-05-29 14:16:41 +00:00
|
|
|
LIB_DEPENDS+= pcre:${PORTSDIR}/devel/pcre
|
|
|
|
|
2000-01-29 06:02:02 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2004-05-31 07:46:09 +00:00
|
|
|
CONFIGURE_ARGS+= --enable-javascript --with-ssl
|
2003-09-02 07:40:06 +00:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS='-I${LOCALBASE}/include'
|
2003-08-31 12:51:28 +00:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2000-01-29 06:02:02 +00:00
|
|
|
|
2002-03-06 20:29:53 +00:00
|
|
|
USE_OPENSSL= yes
|
2002-06-28 11:35:38 +00:00
|
|
|
USE_BZIP2= yes
|
2006-04-14 06:07:45 +00:00
|
|
|
|
|
|
|
OPTIONS= SVGALIB "non-X11 graphics support" off \
|
|
|
|
X11 "X11 graphics support" on
|
2002-06-28 11:35:38 +00:00
|
|
|
|
2003-04-29 15:38:06 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-05-31 07:46:09 +00:00
|
|
|
.if defined(WITH_SVGALIB)
|
|
|
|
LIB_DEPENDS+= vga.1:${PORTSDIR}/graphics/svgalib \
|
|
|
|
png.5:${PORTSDIR}/graphics/png \
|
|
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
|
|
|
tiff.4:${PORTSDIR}/graphics/tiff
|
|
|
|
CONFIGURE_ARGS+= --enable-graphics
|
2006-04-14 06:07:45 +00:00
|
|
|
OPTIONS_MESG= "non-X11 graphics support enabled, "
|
2004-05-31 07:46:09 +00:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-svgalib
|
2006-04-14 06:07:45 +00:00
|
|
|
OPTIONS_MESG= "non-X11 graphics support disabled, "
|
2004-05-31 07:46:09 +00:00
|
|
|
.endif
|
|
|
|
|
2002-06-28 11:35:38 +00:00
|
|
|
.if !defined(WITHOUT_X11)
|
|
|
|
LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png \
|
|
|
|
jpeg.9:${PORTSDIR}/graphics/jpeg \
|
|
|
|
tiff.4:${PORTSDIR}/graphics/tiff
|
|
|
|
USE_XLIB= yes
|
|
|
|
CONFIGURE_ARGS+= --enable-graphics --with-x
|
2006-04-14 06:07:45 +00:00
|
|
|
OPTIONS_MESG+= "X11 graphics support enabled."
|
2004-05-31 07:46:09 +00:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-x
|
2006-04-14 06:07:45 +00:00
|
|
|
OPTIONS_MESG+= "X11 graphics support disabled."
|
2002-06-28 11:35:38 +00:00
|
|
|
.endif
|
2002-03-06 20:29:53 +00:00
|
|
|
|
2001-01-16 17:33:20 +00:00
|
|
|
MAN1= links.1
|
2004-02-06 13:12:53 +00:00
|
|
|
PLIST_FILES= bin/links
|
2000-07-11 14:22:23 +00:00
|
|
|
|
2002-06-28 11:35:38 +00:00
|
|
|
pre-everything::
|
2006-04-14 06:07:45 +00:00
|
|
|
@${ECHO_MSG} ${OPTIONS_MESG}
|
2002-06-28 11:35:38 +00:00
|
|
|
|
2002-08-27 08:25:10 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e "s!/etc/!${PREFIX}/etc/!" ${WRKSRC}/default.c
|
|
|
|
|
2003-04-29 15:38:06 +00:00
|
|
|
.include <bsd.port.post.mk>
|