# Created by: frankch@waru.life.nthu.edu.tw # $FreeBSD: head/graphics/aview/Makefile 484640 2018-11-10 19:57:07Z kwm $ PORTNAME= aview DISTVERSION= 1.3.0rc1 PORTREVISION= 6 CATEGORIES= graphics MASTER_SITES= SF/aa-project/${PORTNAME}/${DISTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Graphics viewer for viewing netpbm format on console or X using aalib RUN_DEPENDS= anytopnm:graphics/netpbm \ convert:graphics/ImageMagick6 LIB_DEPENDS= libaa.so:graphics/aalib WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R} GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-x=no post-patch: @${REINPLACE_CMD} -e 's|/bash|/sh|g' ${WRKSRC}/asciiview @${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \ 's|||g' .include