1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/www/links/Makefile

67 lines
1.6 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: links
# Date created: 21 January 2000
# Whom: Michael Vasilenko <acid@stu.cn.ua>
#
# $FreeBSD$
#
PORTNAME= links
2006-05-29 14:10:59 +00:00
PORTVERSION= 2.1.p21
PORTEPOCH= 1
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
MAINTAINER?= demon@FreeBSD.org
2003-02-22 09:13:13 +00:00
COMMENT= Lynx-like text WWW browser
LIB_DEPENDS+= pcre:${PORTSDIR}/devel/pcre
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-javascript --with-ssl
CONFIGURE_ENV+= CPPFLAGS='-I${LOCALBASE}/include'
LDFLAGS+= -L${LOCALBASE}/lib
2002-03-06 20:29:53 +00:00
USE_OPENSSL= yes
USE_BZIP2= yes
OPTIONS= SVGALIB "non-X11 graphics support" off \
X11 "X11 graphics support" on
.include <bsd.port.pre.mk>
.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
OPTIONS_MESG= "non-X11 graphics support enabled, "
.else
CONFIGURE_ARGS+= --without-svgalib
OPTIONS_MESG= "non-X11 graphics support disabled, "
.endif
.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
OPTIONS_MESG+= "X11 graphics support enabled."
.else
CONFIGURE_ARGS+= --without-x
OPTIONS_MESG+= "X11 graphics support disabled."
.endif
2002-03-06 20:29:53 +00:00
MAN1= links.1
PLIST_FILES= bin/links
pre-everything::
@${ECHO_MSG} ${OPTIONS_MESG}
post-patch:
@${REINPLACE_CMD} -e "s!/etc/!${PREFIX}/etc/!" ${WRKSRC}/default.c
.include <bsd.port.post.mk>