diff options
author | trevor <trevor@FreeBSD.org> | 2000-10-22 11:47:59 +0000 |
---|---|---|
committer | trevor <trevor@FreeBSD.org> | 2000-10-22 11:47:59 +0000 |
commit | 90ad1259acbe6d1e70f26f07fff7d78231afb631 (patch) | |
tree | 60f219f9e4eb4ead7200ad1721df126ff2a4ecfa /graphics/linplasma | |
parent | 13c0c088ef39fd97f8da3c952e45e0e559f7ded9 (diff) | |
download | FreeBSD-ports-90ad1259acbe6d1e70f26f07fff7d78231afb631.zip FreeBSD-ports-90ad1259acbe6d1e70f26f07fff7d78231afb631.tar.gz |
new port graphics/linplasma, a bit of eyecandy for SVGAlib
Diffstat (limited to 'graphics/linplasma')
-rw-r--r-- | graphics/linplasma/Makefile | 48 | ||||
-rw-r--r-- | graphics/linplasma/distinfo | 1 | ||||
-rw-r--r-- | graphics/linplasma/files/patch-Makefile | 15 | ||||
-rw-r--r-- | graphics/linplasma/pkg-comment | 1 | ||||
-rw-r--r-- | graphics/linplasma/pkg-descr | 6 |
5 files changed, 71 insertions, 0 deletions
diff --git a/graphics/linplasma/Makefile b/graphics/linplasma/Makefile new file mode 100644 index 0000000..a880ffa --- /dev/null +++ b/graphics/linplasma/Makefile @@ -0,0 +1,48 @@ +# New ports collection makefile for: linplasma +# Date created: 2000-10-22 +# Whom: trevor +# +# $FreeBSD$ +# + +PORTNAME= linplasma +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= ${PORTNAME} +DOCFILES= README GPL +DOCDIR= share/doc/${PORTNAME}/ +PLIST= ${WRKDIR}/pkg-plist +WRKSRC= ${WRKDIR}/${PORTNAME} + +post-patch: + @${PERL} -pi -e "s:%%PREFIX%%:${PREFIX}:g" ${WRKSRC}/Makefile + @${PERL} -pi -e "s:PI:M_PI:g" ${WRKSRC}/linplasma.c + +pre-install: + ${ECHO} "bin/linplasma" > ${PLIST} +.if !defined(NOPORTDOCS) +.for i in ${DOCFILES} + ${ECHO} -n ${DOCDIR} >> ${PLIST} + ${ECHO} ${i} >> ${PLIST} +.endfor + ${ECHO} -n "@dirrm " >> ${PLIST} + ${ECHO} ${DOCDIR} >> ${PLIST} +.endif + +do-install: + ${INSTALL} -c -g wheel -o root -m 4755 ${WRKSRC}/linplasma ${PREFIX}/bin +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/${DOCDIR} +.for i in ${DOCFILES} + ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${DOCDIR} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/graphics/linplasma/distinfo b/graphics/linplasma/distinfo new file mode 100644 index 0000000..ca5c844 --- /dev/null +++ b/graphics/linplasma/distinfo @@ -0,0 +1 @@ +MD5 (linplasma-1.0.tar.gz) = aa1f7c4c696da803edd8ae0936fd8817 diff --git a/graphics/linplasma/files/patch-Makefile b/graphics/linplasma/files/patch-Makefile new file mode 100644 index 0000000..da0bc0f --- /dev/null +++ b/graphics/linplasma/files/patch-Makefile @@ -0,0 +1,15 @@ +--- Makefile.orig Sun Oct 22 04:09:35 2000 ++++ Makefile Sun Oct 22 04:11:27 2000 +@@ -2,10 +2,9 @@ + # Makefile for LinPlasma + # + +-CC=gcc ++CC?=gcc + +-# optimize a lot +-CFLAGS=-O3 ++CFLAGS += -L%%PREFIX%%/lib -I%%PREFIX%%/include + + LIBS=-lvga -lvgagl -lm + diff --git a/graphics/linplasma/pkg-comment b/graphics/linplasma/pkg-comment new file mode 100644 index 0000000..6c34521 --- /dev/null +++ b/graphics/linplasma/pkg-comment @@ -0,0 +1 @@ +Sinus plasma, an SVGAlib demo diff --git a/graphics/linplasma/pkg-descr b/graphics/linplasma/pkg-descr new file mode 100644 index 0000000..5c15fa7 --- /dev/null +++ b/graphics/linplasma/pkg-descr @@ -0,0 +1,6 @@ +This program is a display hack for SVGAlib. + +To exit the program, press "any" key. + +Trevor Johnson +trevor@FreeBSD.org |