freebsd-ports/www/lynx-current/Makefile

79 lines
1.8 KiB
Makefile
Raw Normal View History

1994-11-06 11:19:31 +01:00
# New ports collection makefile for: lynx
1994-12-17 02:34:33 +01:00
# Date created: 15 Dec 1994
1994-11-06 11:19:31 +01:00
# Whom: ache
#
1999-08-31 04:43:35 +02:00
# $FreeBSD$
1994-11-06 11:19:31 +01:00
#
PORTNAME= lynx
2011-03-02 07:46:57 +01:00
PORTVERSION= 2.8.8d8
PORTREVISION= 1
2004-07-10 23:02:54 +02:00
CATEGORIES= www ipv6
MASTER_SITES= http://lynx.isc.org/current/
2011-03-02 07:46:57 +01:00
DISTNAME= ${PORTNAME}2.8.8dev.8
1997-08-13 08:40:44 +02:00
MAINTAINER= ache@FreeBSD.org
COMMENT= A non-graphical, text-based World-Wide Web client
1997-08-13 08:40:44 +02:00
LIB_DEPENDS= idn.17:${PORTSDIR}/dns/libidn
RUN_DEPENDS= ${LOCALBASE}/etc/mime.types:${PORTSDIR}/misc/mime-support
2010-03-26 09:52:50 +01:00
CONFLICTS= lynx-2.8.[0-7].*
2010-03-26 09:52:50 +01:00
WRKSRC= ${WRKDIR}/${PORTNAME}2-8-8
USE_BZIP2= yes
2007-05-25 04:42:07 +02:00
USE_ICONV= yes
NO_LATEST_LINK= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-zlib --libdir="${L_LIB}" \
2010-03-26 09:52:50 +01:00
--enable-nsl-fork --with-bzlib \
2007-05-25 04:42:07 +02:00
--enable-nested-tables --enable-default-colors \
2010-03-26 09:52:50 +01:00
--enable-addrlist-page \
2007-05-25 04:42:07 +02:00
--enable-gzip-help \
2010-03-26 09:52:50 +01:00
--enable-idna \
--enable-ipv6 \
2007-05-25 04:42:07 +02:00
--with-mime-libdir=${PREFIX}/etc \
--with-libiconv-prefix=${LOCALBASE}
MAKE_JOBS_UNSAFE= yes
.ifndef NO_OPENSSL
2004-07-10 23:02:54 +02:00
USE_OPENSSL= yes
.endif
.include <bsd.port.pre.mk>
2007-06-14 20:18:09 +02:00
.if ${OSVERSION} < 602107 || (${OSVERSION} >= 700000 && ${OSVERSION} < 700033)
CONFIGURE_ARGS+= --with-screen=ncurses
2007-06-14 20:18:09 +02:00
.else
CONFIGURE_ARGS+= --with-screen=ncursesw
.endif
.ifdef USE_OPENSSL
2004-07-10 23:02:54 +02:00
CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE}
.endif
MAKE_FLAGS= helpdir=${L_HELP} docdir=${L_DOC} -f
MAKEFILE= makefile
INSTALL_TARGET= install-full
MAN1= lynx.1
L_LIB= ${PREFIX}/etc
L_DOC= ${PREFIX}/share/doc/lynx
L_HELP= ${PREFIX}/share/lynx_help
1998-10-19 21:22:13 +02:00
2004-07-10 23:02:54 +02:00
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
2010-03-26 09:52:50 +01:00
CONFIGURE_ARGS+= --enable-nls
2004-07-10 23:02:54 +02:00
.else
2010-03-26 09:52:50 +01:00
CONFIGURE_ARGS+= --disable-nls
2004-07-10 23:02:54 +02:00
PLIST_SUB+= NLS="@comment "
.endif
1998-03-08 13:19:36 +01:00
post-install:
1999-08-22 21:01:07 +02:00
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${L_DOC}
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${L_HELP}
2010-03-26 09:52:50 +01:00
${CHOWN} ${SHAREOWN}:${SHAREGRP} ${L_LIB}/lynx.cfg* ${L_LIB}/lynx.lss*
1998-03-08 13:19:36 +01:00
.include <bsd.port.post.mk>