1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/graphics/aview/Makefile
Muhammad Moinur Rahman 498a6dc226
graphics/aview: Moved man to share/man
Approved by:    portmgr (blanket)
2024-02-24 10:03:14 +01:00

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>