# New ports collection makefile for: BIEW # Date created: 04 February 2000 # Whom: Michael Vasilenko # # $FreeBSD$ # PORTNAME= biew PORTVERSION= 6.1.0 PORTREVISION= 1 CATEGORIES= editors MASTER_SITES= SF/beye/biew/${PORTVERSION} DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}-src MAINTAINER= danfe@FreeBSD.org COMMENT= Binary file viewer and editor HAS_CONFIGURE= yes CONFIGURE_ARGS= --cc="${CC}" --with-extraincdir="${LOCALBASE}/include" \ --ld="${CC}" --with-extralibdir="${LOCALBASE}/lib" \ --prefix="${PREFIX}" --datadir="${DATADIR}" USE_BZIP2= yes USE_GMAKE= yes USE_ICONV= yes USE_DOS2UNIX= ${PORTDOCS} MAKEFILE= makefile WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/.//g} MAN1= biew.1 PORTDOCS= biew_en.txt biew_ru.txt develop.en develop.ru file_ini.en \ file_ini.ru licence.en licence.ru release.txt unix.txt OPTIONS= SLANG "Use S-Lang based display renderer" on .include .if ${ARCH} == "powerpc" || ${ARCH} == "sparc64" BROKEN= Does not compile .endif .if defined(WITH_SLANG) LIB_DEPENDS= slang.2:${PORTSDIR}/devel/libslang2 CONFIGURE_ARGS+= --enable-slang .else CONFIGURE_ARGS+= --enable-curses .endif post-patch: @${REINPLACE_CMD} -e 's,/usr/X11R6,${LOCALBASE},' ${WRKSRC}/configure # Allow it to find definition of `uintmax_t' (required at least for ia64) @${REINPLACE_CMD} -e 's,