diff options
author | pav <pav@FreeBSD.org> | 2008-04-11 21:44:56 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2008-04-11 21:44:56 +0800 |
commit | 403bd2afd00993eec8b1f8db6936b506a3221302 (patch) | |
tree | 5e5e7f13bebb30588bd120fa9b2b7e0460d2bd1a /www/links/Makefile | |
parent | b5c8d5cd1d62732a4920ff05d795cf4578f1891e (diff) | |
download | freebsd-ports-gnome-403bd2afd00993eec8b1f8db6936b506a3221302.tar.gz freebsd-ports-gnome-403bd2afd00993eec8b1f8db6936b506a3221302.tar.zst freebsd-ports-gnome-403bd2afd00993eec8b1f8db6936b506a3221302.zip |
- Update to 2.1pre33
PR: ports/121886
Submitted by: bf <bf2006a@yahoo.com>
Approved by: maintainer timeout (demon; 3 weeks)
Diffstat (limited to 'www/links/Makefile')
-rw-r--r-- | www/links/Makefile | 46 |
1 files changed, 25 insertions, 21 deletions
diff --git a/www/links/Makefile b/www/links/Makefile index ddc843e098f5..e7f925665ad1 100644 --- a/www/links/Makefile +++ b/www/links/Makefile @@ -6,61 +6,65 @@ # PORTNAME= links -PORTVERSION= 2.1.p28 +DISTVERSION= 2.1pre33 PORTEPOCH= 1 CATEGORIES?= www MASTER_SITES= http://links.twibright.com/download/ -DISTNAME= ${PORTNAME}-2.1pre28 MAINTAINER?= demon@FreeBSD.org COMMENT= Lynx-like text WWW browser -LIB_DEPENDS+= pcre:${PORTSDIR}/devel/pcre +CONFLICTS= links-0* GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --enable-javascript --with-ssl -CONFIGURE_ENV+= CPPFLAGS='-I${LOCALBASE}/include' +CONFIGURE_ARGS+= --with-ssl --without-pmshell --without-atheos \ + --without-gpm --without-fb +CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" LDFLAGS+= -L${LOCALBASE}/lib USE_OPENSSL= yes USE_BZIP2= yes OPTIONS= SVGALIB "non-X11 graphics support" off \ + DIRECTFB "directfb driver 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 \ +.ifdef(WITH_SVGALIB) || defined(WITH_X11) || defined(WITH_DIRECTFB) +LIB_DEPENDS+= 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+= --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 -OPTIONS_MESG= "non-X11 graphics support disabled, " +.endif + +.ifdef(WITH_DIRECTFB) +LIB_DEPENDS+= libdirectfb:${PORTSDIR}/devel/directfb +CONFIGURE_ARGS+= --with-directfb +.else +CONFIGURE_ARGS+= --without-directfb .endif .if !defined(WITHOUT_X11) -LIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png \ - jpeg.9:${PORTSDIR}/graphics/jpeg \ - tiff.4:${PORTSDIR}/graphics/tiff -USE_XORG= x11 -CONFIGURE_ARGS+= --enable-graphics --with-x -OPTIONS_MESG+= "X11 graphics support enabled." +USE_XORG= x11 xproto +CONFIGURE_ARGS+= --with-x .else CONFIGURE_ARGS+= --without-x -OPTIONS_MESG+= "X11 graphics support disabled." .endif 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 + @${REINPLACE_CMD} -e "s!/etc/!${PREFIX}/etc/!" ${WRKSRC}/os_dep.h .include <bsd.port.post.mk> |