1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00
freebsd-ports/graphics/aview/Makefile
Mathieu Arnold 4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00

28 lines
696 B
Makefile

# Created by: frankch@waru.life.nthu.edu.tw
# $FreeBSD$
PORTNAME= aview
DISTVERSION= 1.3.0rc1
PORTREVISION= 5
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/ImageMagick
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|<malloc.h>|<stdlib.h>|g'
.include <bsd.port.mk>