diff options
author | steve <steve@FreeBSD.org> | 2000-01-29 13:14:05 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2000-01-29 13:14:05 +0800 |
commit | 3f845081aa5b57f985339518ecb028a864e3e08f (patch) | |
tree | 39be6b4e2376551bb21981ae30024b47f0ae658d /graphics/twinlib | |
parent | b375baf60f95893814aa65f173fc6709da62d99b (diff) | |
download | freebsd-ports-gnome-3f845081aa5b57f985339518ecb028a864e3e08f.tar.gz freebsd-ports-gnome-3f845081aa5b57f985339518ecb028a864e3e08f.tar.zst freebsd-ports-gnome-3f845081aa5b57f985339518ecb028a864e3e08f.zip |
Adding paintlib version 0.2.1.
A small but powerful C++ graphics library.
PR: 15952
Submitted by: Will Andrews <andrews@technologist.com>
Diffstat (limited to 'graphics/twinlib')
-rw-r--r-- | graphics/twinlib/Makefile | 34 | ||||
-rw-r--r-- | graphics/twinlib/distinfo | 1 | ||||
-rw-r--r-- | graphics/twinlib/files/patch-aa | 17 | ||||
-rw-r--r-- | graphics/twinlib/pkg-comment | 1 | ||||
-rw-r--r-- | graphics/twinlib/pkg-descr | 9 | ||||
-rw-r--r-- | graphics/twinlib/pkg-plist | 5 |
6 files changed, 67 insertions, 0 deletions
diff --git a/graphics/twinlib/Makefile b/graphics/twinlib/Makefile new file mode 100644 index 000000000000..a50e028c7dd1 --- /dev/null +++ b/graphics/twinlib/Makefile @@ -0,0 +1,34 @@ +# New ports collection makefile for: paintlib +# Version required: 0.2.1 +# Date created: 04 Jan 2000 +# Whom: Will Andrews <andrews@technologist.com> +# +# $FreeBSD$ +# + +DISTNAME= paintlib.0.2.1 +PKGNAME= paintlib-0.2.1 +CATEGORIES= graphics devel +MASTER_SITES= http://rio.xdev.org/paintlib/ +EXTRACT_SUFX= .tgz + +MAINTAINER= andrews@technologist.com + +USE_QT2= yes +USE_X_PREFIX= yes +WRKSRC= ${WRKDIR}/paintlib +MAKE_ENV+= PREFIX=${PREFIX} CXX=${CXX} +VERSION= 0 +PLIST_SUB+= VERSION=${VERSION} + +post-patch: + @${PERL} -pi -e "s:%%VERSION%%:${VERSION}:g" ${WRKSRC}/Makefile + @${PERL} -pi -e "s:g\+\+:${CXX}:g" ${WRKSRC}/Makefile + +do-install: + @${INSTALL_DATA} ${WRKSRC}/PaintLib.h ${PREFIX}/include + @${INSTALL_DATA} ${WRKSRC}/libPaintLib.so.${VERSION} ${PREFIX}/lib + @${LN} -sf libPaintLib.so.${VERSION} ${PREFIX}/lib/libPaintLib.so + ${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib + +.include <bsd.port.mk> diff --git a/graphics/twinlib/distinfo b/graphics/twinlib/distinfo new file mode 100644 index 000000000000..ba09c876d5cd --- /dev/null +++ b/graphics/twinlib/distinfo @@ -0,0 +1 @@ +MD5 (paintlib.0.2.1.tgz) = fcdac1684bb2aad93e83e06d4e9ca18f diff --git a/graphics/twinlib/files/patch-aa b/graphics/twinlib/files/patch-aa new file mode 100644 index 000000000000..51e7e68ce182 --- /dev/null +++ b/graphics/twinlib/files/patch-aa @@ -0,0 +1,17 @@ +--- Makefile Mon Jan 3 21:53:07 2000 ++++ Makefile.new Tue Jan 4 13:27:24 2000 +@@ -1,6 +1,11 @@ +-QT = /usr/local/qt/include +-LIBS = -L/usr/X11R6/lib -lqt -lqimgio -lpng -ljpeg +-LIBPATH = /usr/X11R6/lib ++CXX ?= g++ ++QT = $(PREFIX)/include/qt2 -I$(PREFIX)/include ++LIBS = -L$(PREFIX)/lib -lqt2 -lpng -ljpeg ++LIBPATH = $(PREFIX)/lib ++LIBRARY = libPaintLib.so.%%VERSION%% ++ ++all: Image.o ++ $(CXX) -shared -Wl,-soname,libPaintLib.so -o $(LIBRARY) + + install: Image.o PaintLib.h + clear diff --git a/graphics/twinlib/pkg-comment b/graphics/twinlib/pkg-comment new file mode 100644 index 000000000000..ac7d05c87422 --- /dev/null +++ b/graphics/twinlib/pkg-comment @@ -0,0 +1 @@ +Small but powerful C++ graphics library diff --git a/graphics/twinlib/pkg-descr b/graphics/twinlib/pkg-descr new file mode 100644 index 000000000000..306a4857514c --- /dev/null +++ b/graphics/twinlib/pkg-descr @@ -0,0 +1,9 @@ +Paintlib is a small but powerful C++ graphics +library that makes its base on the Qt Image I/O +extensions offered by Qt 2. It is somewhat useful +for simple graphics programs. + +WWW: http://rio.xdev.org/ +Author: Nicolas Roard <nroard@e-motive.com> + +--Will <andrews@technologist.com> diff --git a/graphics/twinlib/pkg-plist b/graphics/twinlib/pkg-plist new file mode 100644 index 000000000000..31ffb84ce62f --- /dev/null +++ b/graphics/twinlib/pkg-plist @@ -0,0 +1,5 @@ +include/PaintLib.h +lib/libPaintLib.so +lib/libPaintLib.so.%%VERSION%% +@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B +@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R |