mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
498a6dc226
Approved by: portmgr (blanket)
28 lines
715 B
Makefile
28 lines
715 B
Makefile
PORTNAME= aview
|
|
DISTVERSION= 1.3.0rc1
|
|
PORTREVISION= 8
|
|
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
|
|
WWW= https://aa-project.sourceforge.net/aview/
|
|
|
|
RUN_DEPENDS= anytopnm:graphics/netpbm
|
|
LIB_DEPENDS= libaa.so:graphics/aalib
|
|
|
|
USES= magick:6,run
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
|
|
|
|
GNU_CONFIGURE= yes
|
|
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
|
|
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|<malloc.h>|<stdlib.h>|g'
|
|
|
|
.include <bsd.port.mk>
|