2000-01-29 07:02:02 +01:00
|
|
|
# New ports collection makefile for: links
|
|
|
|
# Date created: 21 January 2000
|
|
|
|
# Whom: Michael Vasilenko <acid@stu.cn.ua>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-10 02:07:29 +02:00
|
|
|
PORTNAME= links
|
2004-07-13 12:07:22 +02:00
|
|
|
PORTVERSION= 2.1.p15
|
2001-07-07 11:37:05 +02:00
|
|
|
PORTEPOCH= 1
|
2003-10-26 11:19:03 +01:00
|
|
|
CATEGORIES?= www
|
2003-01-06 22:34:18 +01:00
|
|
|
MASTER_SITES= http://atrey.karlin.mff.cuni.cz/~clock/twibright/links/download/
|
2004-07-13 12:07:22 +02:00
|
|
|
DISTNAME= ${PORTNAME}-2.1pre15
|
2000-01-29 07:02:02 +01:00
|
|
|
|
2003-02-22 18:47:45 +01:00
|
|
|
MAINTAINER?= demon@FreeBSD.org
|
2003-02-22 10:13:13 +01:00
|
|
|
COMMENT= Lynx-like text WWW browser
|
2000-01-29 07:02:02 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2004-05-31 09:46:09 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-javascript --with-ssl
|
2003-09-02 09:40:06 +02:00
|
|
|
CONFIGURE_ENV+= CPPFLAGS='-I${LOCALBASE}/include'
|
2003-08-31 14:51:28 +02:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2000-01-29 07:02:02 +01:00
|
|
|
|
2002-03-06 21:29:53 +01:00
|
|
|
USE_OPENSSL= yes
|
2002-06-28 13:35:38 +02:00
|
|
|
USE_BZIP2= yes
|
2002-08-27 10:25:10 +02:00
|
|
|
USE_REINPLACE= yes
|
2002-06-28 13:35:38 +02:00
|
|
|
|
2003-04-29 17:38:06 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2004-05-31 09:46:09 +02: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
|
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-svgalib
|
|
|
|
.endif
|
|
|
|
|
2002-06-28 13:35:38 +02: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
|
2004-05-31 09:46:09 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-x
|
2002-06-28 13:35:38 +02:00
|
|
|
.endif
|
2002-03-06 21:29:53 +01:00
|
|
|
|
2001-01-16 18:33:20 +01:00
|
|
|
MAN1= links.1
|
2004-02-06 14:12:53 +01:00
|
|
|
PLIST_FILES= bin/links
|
2000-07-11 16:22:23 +02:00
|
|
|
|
2002-06-28 13:35:38 +02:00
|
|
|
pre-everything::
|
2004-05-31 09:46:09 +02:00
|
|
|
@${ECHO_MSG} "Use 'make -DWITH_SVGALIB' to enable svgalib (non-X11) graphics support."
|
|
|
|
@${ECHO_MSG} "Use 'make -DWITHOUT_X11' to disable X11 graphics support."
|
2002-06-28 13:35:38 +02:00
|
|
|
|
2002-08-27 10:25:10 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e "s!/etc/!${PREFIX}/etc/!" ${WRKSRC}/default.c
|
|
|
|
|
2003-04-29 17:38:06 +02:00
|
|
|
.include <bsd.port.post.mk>
|