1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/graphics/aview/Makefile
Edwin Groothuis e62864a49b Chase libversion bumb to libMagick.so.9
PR:		ports/91270
2006-01-05 03:57:35 +00:00

37 lines
910 B
Makefile

# New ports collection Makefile for: aview
# Date created: Dec 18 1997
# Whom: frankch@waru.life.nthu.edu.tw
#
# $FreeBSD$
#
PORTNAME= aview
PORTVERSION= 1.3.0.r1
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= aa-project
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/rc/}
MAINTAINER= ports@FreeBSD.org
COMMENT= Graphics viewer for viewing netpbm format on console or X using aalib
RUN_DEPENDS= anytopnm:${PORTSDIR}/graphics/netpbm \
convert:${PORTSDIR}/graphics/ImageMagick
LIB_DEPENDS= aa.1:${PORTSDIR}/graphics/aalib
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-x=no
MAN1= asciiview.1 aview.1
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>