diff options
author | markp <markp@FreeBSD.org> | 2001-08-29 19:42:46 +0800 |
---|---|---|
committer | markp <markp@FreeBSD.org> | 2001-08-29 19:42:46 +0800 |
commit | 92ff15f110fb3666f965576af0d370ee64374139 (patch) | |
tree | b6dfcc98f45a4c95292ddc106b644df5c1b2de70 /graphics/aview | |
parent | 93cfba6aa979f9ac4b06db6ae614e29725bd28c9 (diff) | |
download | freebsd-ports-gnome-92ff15f110fb3666f965576af0d370ee64374139.tar.gz freebsd-ports-gnome-92ff15f110fb3666f965576af0d370ee64374139.tar.zst freebsd-ports-gnome-92ff15f110fb3666f965576af0d370ee64374139.zip |
Fixed MASTER_SITES and added WWW. Respect LOCALBASE.
PR: 29824
Submitted by: Kato Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'graphics/aview')
-rw-r--r-- | graphics/aview/Makefile | 19 | ||||
-rw-r--r-- | graphics/aview/distinfo | 2 | ||||
-rw-r--r-- | graphics/aview/files/patch-aa | 19 | ||||
-rw-r--r-- | graphics/aview/pkg-descr | 2 |
4 files changed, 15 insertions, 27 deletions
diff --git a/graphics/aview/Makefile b/graphics/aview/Makefile index e85ce3a4445b..0586efc3bd7c 100644 --- a/graphics/aview/Makefile +++ b/graphics/aview/Makefile @@ -1,6 +1,6 @@ -# New ports collection Makefile for: aview -# Date created: Dec 18 1997 -# Whom: frankch@waru.life.nthu.edu.tw +# New ports collection Makefile for: aview +# Date created: Dec 18 1997 +# Whom: frankch@waru.life.nthu.edu.tw # # $FreeBSD$ # @@ -8,9 +8,8 @@ PORTNAME= aview PORTVERSION= 1.2 CATEGORIES= graphics -MASTER_SITES= ftp://ftp.ta.jcu.cz/pub/aa/ \ - ${MASTER_SITE_XCONTRIB} -MASTER_SITE_SUBDIR= applications +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= aa-project MAINTAINER= ports@FreeBSD.org @@ -18,6 +17,12 @@ RUN_DEPENDS= anytopnm:${PORTSDIR}/graphics/netpbm \ convert:${PORTSDIR}/graphics/ImageMagick LIB_DEPENDS= aa.1:${PORTSDIR}/graphics/aalib -GNU_CONFIGURE= YES +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-x=no + +post-patch: + @${PERL} -pi -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/configure + @find ${WRKSRC} -name '*.[ch]' | xargs ${PERL} -pi -e \ + 's|<malloc.h>|<stdlib.h>|g' \ .include <bsd.port.mk> diff --git a/graphics/aview/distinfo b/graphics/aview/distinfo index 1d2c16faf6bc..611005bd325f 100644 --- a/graphics/aview/distinfo +++ b/graphics/aview/distinfo @@ -1 +1 @@ -MD5 (aview-1.2.tar.gz) = 8c3bc5d64f8b8d290e4d7816a6201bca +MD5 (aview-1.2.tar.gz) = fe292142753ac85d3994f5b5073993ab diff --git a/graphics/aview/files/patch-aa b/graphics/aview/files/patch-aa index ad72cf41075d..0c54ae68c345 100644 --- a/graphics/aview/files/patch-aa +++ b/graphics/aview/files/patch-aa @@ -5,22 +5,3 @@ # asciiview - an ascii art image browser script. Front end for aview/aaflip clear() { ---- image.c.orig Wed Apr 8 16:34:02 1998 -+++ image.c Wed Apr 8 16:34:43 1998 -@@ -1,5 +1,5 @@ - #include <stdio.h> --#include <malloc.h> -+#include <stdlib.h> - - int imgwidth, imgheight; - unsigned char *imgdata; ---- ui.c.orig Wed Apr 8 16:34:09 1998 -+++ ui.c Wed Apr 8 16:34:26 1998 -@@ -1,6 +1,6 @@ - #include <stdio.h> - #include <ctype.h> --#include <malloc.h> -+#include <stdlib.h> - #include <string.h> - #include <aalib.h> - #include "shrink.h" diff --git a/graphics/aview/pkg-descr b/graphics/aview/pkg-descr index 4cad95303088..0c411b3a2850 100644 --- a/graphics/aview/pkg-descr +++ b/graphics/aview/pkg-descr @@ -14,3 +14,5 @@ aaflip: a program to view flip animation using ascii text. Works under X You could press h to get help. You may also save the pics in various text format. Thanks to aalib! + +WWW: http://aa-project.sourceforge.net/aview/ |