1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/www/links/Makefile
Dmitry Sivachenko 8d4648e255 Use bsd.port.pre/post.mk, so Makefile.local does work.
PR:		50680
Submitted by:	Petr Rehor <rx@rx.cz>
2003-04-29 15:38:06 +00:00

45 lines
1.0 KiB
Makefile

# New ports collection makefile for: links
# Date created: 21 January 2000
# Whom: Michael Vasilenko <acid@stu.cn.ua>
#
# $FreeBSD$
#
PORTNAME= links
PORTVERSION= 2.1.p9
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= http://atrey.karlin.mff.cuni.cz/~clock/twibright/links/download/
DISTNAME= ${PORTNAME}-2.1pre9
MAINTAINER?= demon@FreeBSD.org
COMMENT= Lynx-like text WWW browser
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-javascript --with-ssl --without-svgalib
CONFIGURE_ENV+= CPPFLAGS='-I${LOCALBASE}/include' LDFLAGS='-L${LOCALBASE}/lib'
USE_OPENSSL= yes
USE_BZIP2= yes
USE_REINPLACE= yes
.include <bsd.port.pre.mk>
.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
.endif
MAN1= links.1
pre-everything::
@${ECHO_MSG} "Define WITHOUT_X11 to disable graphics support."
post-patch:
@${REINPLACE_CMD} -e "s!/etc/!${PREFIX}/etc/!" ${WRKSRC}/default.c
.include <bsd.port.post.mk>