freebsd-ports/www/lynx-current/Makefile

72 lines
1.7 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
2007-05-25 04:42:07 +02:00
PORTVERSION= 2.8.7d5
2004-07-10 23:02:54 +02:00
CATEGORIES= www ipv6
MASTER_SITES= http://lynx.isc.org/current/
2007-05-25 04:42:07 +02:00
DISTNAME= ${PORTNAME}2.8.7dev.5
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
RUN_DEPENDS= ${LOCALBASE}/etc/mime.types:${PORTSDIR}/misc/mime-support
2006-11-10 22:38:58 +01:00
WRKSRC= ${WRKDIR}/${PORTNAME}2-8-7
USE_BZIP2= yes
2007-05-25 04:42:07 +02:00
USE_ICONV= yes
NO_LATEST_LINK= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
2007-05-25 04:42:07 +02:00
CONFIGURE_ARGS= --with-screen=ncursesw --with-zlib --libdir="${L_LIB}" \
2004-01-11 18:17:05 +01:00
--enable-nsl-fork --enable-nls --with-bzlib \
2007-05-25 04:42:07 +02:00
--enable-nested-tables --enable-default-colors \
--enable-scrollbar --enable-addrlist-page \
--enable-gzip-help \
--with-mime-libdir=${PREFIX}/etc \
--with-libiconv-prefix=${LOCALBASE}
.ifndef NO_OPENSSL
2004-07-10 23:02:54 +02:00
USE_OPENSSL= yes
.endif
.include <bsd.port.pre.mk>
.ifdef USE_OPENSSL
2004-07-10 23:02:54 +02:00
CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE}
.endif
2000-12-03 17:49:49 +01:00
.if ${OSVERSION} >= 400014
2004-07-10 23:02:54 +02:00
CONFIGURE_ARGS+= --enable-ipv6
2000-12-03 17:49:49 +01:00
.else
2004-07-10 23:02:54 +02:00
CONFIGURE_ARGS+= --disable-ipv6
2000-12-03 17:49:49 +01:00
.endif
2007-05-25 04:42:07 +02:00
CONFIGURE_ENV+= CC="${CC} -Ichrtrans"
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=""
.else
CONFIGURE_ARGS+=--disable-nls
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}
${CHOWN} ${SHAREOWN}:${SHAREGRP} ${L_LIB}/lynx.cfg
1998-03-08 13:19:36 +01:00
.include <bsd.port.post.mk>