diff options
author | Trevor Johnson <trevor@FreeBSD.org> | 2000-10-22 10:54:37 +0000 |
---|---|---|
committer | Trevor Johnson <trevor@FreeBSD.org> | 2000-10-22 10:54:37 +0000 |
commit | 61e3586c7edc4b7a16dddfc5971cab5fc29ca6f2 (patch) | |
tree | 4493d3f815e3b21d3838e5a1dc6e56a4b2d0de13 /graphics/acidwarp | |
parent | dd10ef003612526731fb6191676a60120667f893 (diff) | |
download | ports-61e3586c7edc4b7a16dddfc5971cab5fc29ca6f2.tar.gz ports-61e3586c7edc4b7a16dddfc5971cab5fc29ca6f2.zip |
Notes
Diffstat (limited to 'graphics/acidwarp')
-rw-r--r-- | graphics/acidwarp/Makefile | 48 | ||||
-rw-r--r-- | graphics/acidwarp/distinfo | 1 | ||||
-rw-r--r-- | graphics/acidwarp/files/patch-Makefile | 10 | ||||
-rw-r--r-- | graphics/acidwarp/files/patch-acidwarp_c | 20 | ||||
-rw-r--r-- | graphics/acidwarp/pkg-comment | 1 | ||||
-rw-r--r-- | graphics/acidwarp/pkg-descr | 9 |
6 files changed, 89 insertions, 0 deletions
diff --git a/graphics/acidwarp/Makefile b/graphics/acidwarp/Makefile new file mode 100644 index 000000000000..c8db44418a0f --- /dev/null +++ b/graphics/acidwarp/Makefile @@ -0,0 +1,48 @@ +# New ports collection makefile for: acidwarp +# Date created: 2000-10-22 +# Whom: trevor +# +# $FreeBSD$ +# + +PORTNAME= acidwarp +PORTVERSION= 1.0 +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_SUNSITE} +MASTER_SITE_SUBDIR= apps/graphics/hacks/svgalib + +MAINTAINER= trevor@FreeBSD.org + +LIB_DEPENDS= vga.1:${PORTSDIR}/graphics/svgalib + +ALL_TARGET= acidwarp +DOCFILES= README TODO Thanks +PLIST= ${WRKDIR}/pkg-plist +WRKSRC= ${WRKDIR}/acidwarp + +post-extract: + ${RM} ${WRKSRC}/acidwarp + +post-patch: + @${PERL} -pi -e "s:%%PREFIX%%:${PREFIX}:g" ${WRKSRC}/Makefile + +pre-install: + ${ECHO} "bin/acidwarp" > ${PLIST} +.if !defined(NOPORTDOCS) +.for i in ${DOCFILES} + ${ECHO} -n "share/doc/acidwarp/" >> ${PLIST} + ${ECHO} ${i} >> ${PLIST} +.endfor + ${ECHO} "@dirrm share/doc/acidwarp" >> ${PLIST} +.endif + +do-install: + ${INSTALL} -c -g wheel -o root -m 1755 ${WRKSRC}/acidwarp ${PREFIX}/bin +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/acidwarp +.for i in ${DOCFILES} + ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/share/doc/acidwarp +.endfor +.endif + +.include <bsd.port.mk> diff --git a/graphics/acidwarp/distinfo b/graphics/acidwarp/distinfo new file mode 100644 index 000000000000..c1a3b2c62446 --- /dev/null +++ b/graphics/acidwarp/distinfo @@ -0,0 +1 @@ +MD5 (acidwarp-1.0.tar.gz) = 9979f66dfe8d6b17d3da46ef6e2a6762 diff --git a/graphics/acidwarp/files/patch-Makefile b/graphics/acidwarp/files/patch-Makefile new file mode 100644 index 000000000000..f4e2459dd2a9 --- /dev/null +++ b/graphics/acidwarp/files/patch-Makefile @@ -0,0 +1,10 @@ +--- Makefile.orig Thu Aug 8 17:57:37 1996 ++++ Makefile Sun Oct 22 02:56:06 2000 +@@ -1,5 +1,5 @@ +-CC=gcc +-CFLAGS = -O2 -funroll-all-loops ++CC ?= gcc ++CFLAGS += -L%%PREFIX%%/lib -I%%PREFIX%%/include + LFLAGS = -lvgagl -lvga + PROGS = acidwarp + OSOURCES = bit_map.o palinit.o rolnfade.o lut.o diff --git a/graphics/acidwarp/files/patch-acidwarp_c b/graphics/acidwarp/files/patch-acidwarp_c new file mode 100644 index 000000000000..1adaacadfdce --- /dev/null +++ b/graphics/acidwarp/files/patch-acidwarp_c @@ -0,0 +1,20 @@ +--- acidwarp.c.orig Fri Aug 23 10:27:02 1996 ++++ acidwarp.c Sun Oct 22 03:02:21 2000 +@@ -2,7 +2,7 @@ + * All Rights reserved. Private Proprietary Source Code by Noah Spurrier + * Ported to Linux by Steven Wills + */ +-#include <malloc.h> ++ + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +@@ -41,7 +41,7 @@ + UCHAR MainPalArray [256 * 3]; + UCHAR TargetPalArray [256 * 3]; + +-void main (int argc, char *argv[]) ++int main (int argc, char *argv[]) + { + int imageFuncList[NUM_IMAGE_FUNCTIONS], userOptionImageFuncNum; + int paletteTypeNum = 0, userPaletteTypeNumOptionFlag = FALSE; diff --git a/graphics/acidwarp/pkg-comment b/graphics/acidwarp/pkg-comment new file mode 100644 index 000000000000..3d0339311f1e --- /dev/null +++ b/graphics/acidwarp/pkg-comment @@ -0,0 +1 @@ +SVGAlib demo which displays trippy mathematical images in cycling colors diff --git a/graphics/acidwarp/pkg-descr b/graphics/acidwarp/pkg-descr new file mode 100644 index 000000000000..6446094e36f8 --- /dev/null +++ b/graphics/acidwarp/pkg-descr @@ -0,0 +1,9 @@ +This program generates images from mathematical functions, draws them on the +SVGAlib screen, and cycles the palette. The images are intended to have a +hypnotic effect. + +After exiting the program, you must switch consoles before the display will be +usable again. + +Trevor Johnson +trevor@FreeBSD.org |