2001-08-29 13:42:46 +02:00
|
|
|
# New ports collection Makefile for: aview
|
|
|
|
# Date created: Dec 18 1997
|
|
|
|
# Whom: frankch@waru.life.nthu.edu.tw
|
1997-12-24 08:39:24 +01:00
|
|
|
#
|
1999-08-25 08:16:32 +02:00
|
|
|
# $FreeBSD$
|
1997-12-24 08:39:24 +01:00
|
|
|
#
|
|
|
|
|
2000-04-13 08:28:28 +02:00
|
|
|
PORTNAME= aview
|
2002-03-03 07:14:02 +01:00
|
|
|
PORTVERSION= 1.3.0.r1
|
2006-01-05 04:57:35 +01:00
|
|
|
PORTREVISION= 1
|
2000-04-13 08:28:28 +02:00
|
|
|
CATEGORIES= graphics
|
2001-08-29 13:42:46 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= aa-project
|
2002-03-03 07:14:02 +01:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/rc/}
|
1997-12-24 08:39:24 +01:00
|
|
|
|
2001-03-12 19:54:26 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 19:08:19 +01:00
|
|
|
COMMENT= Graphics viewer for viewing netpbm format on console or X using aalib
|
1997-12-24 08:39:24 +01:00
|
|
|
|
|
|
|
RUN_DEPENDS= anytopnm:${PORTSDIR}/graphics/netpbm \
|
|
|
|
convert:${PORTSDIR}/graphics/ImageMagick
|
1998-09-22 18:19:14 +02:00
|
|
|
LIB_DEPENDS= aa.1:${PORTSDIR}/graphics/aalib
|
1997-12-24 08:39:24 +01:00
|
|
|
|
2002-03-03 07:14:02 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
|
|
|
|
|
2001-08-29 13:42:46 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --with-x=no
|
|
|
|
|
2002-03-03 07:14:02 +01:00
|
|
|
MAN1= asciiview.1 aview.1
|
|
|
|
|
2001-08-29 13:42:46 +02:00
|
|
|
post-patch:
|
2002-07-08 12:41:30 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|/bash|/sh|g' ${WRKSRC}/asciiview
|
|
|
|
@${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \
|
2002-03-03 07:14:02 +01:00
|
|
|
's|<malloc.h>|<stdlib.h>|g'
|
1997-12-24 08:39:24 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|