1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

imlib2 image library.

PR:		ports/22106
Submitted by:	Jeremy Norris <ishmael27@home.com>
This commit is contained in:
Yukihiro Nakai 2000-11-03 08:18:09 +00:00
parent 939f849a9a
commit 938fc84fb0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34705
12 changed files with 96 additions and 160 deletions

View File

@ -1,32 +1,39 @@
# New ports collection makefile for: imlib
# Date created: 10 June 1997
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
# New ports collection makefile for: imlib2
# Date created: 16 Oct 2000
# Whom: >Jeremy Norris <ishmael27@home.com>
#
# $FreeBSD$
#
PORTNAME= imlib
PORTVERSION= 1.9.8.1
PORTNAME= imlib2
PORTVERSION= 1.0.0
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/imlib
MASTER_SITES= ftp://ftp.enlightenment.org/pub/enlightenment/e17/libs/ \
http://www.us.rasterman.com/files/
MAINTAINER= vanilla@FreeBSD.org
MAINTAINER= ports@FreeBSD.ORG
LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff \
ungif.5:${PORTSDIR}/graphics/libungif
ungif.5:${PORTSDIR}/graphics/libungif \
jpeg.9:${PORTSDIR}/graphics/jpeg \
edb.1:${PORTSDIR}/databases/edb
USE_GMAKE= yes
USE_X_PREFIX= yes
USE_GTK= yes
USE_FREETYPE= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/imlib
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
pre-configure:
${PERL} -pi -e "s^%%LOCALBASE%%^${LOCALBASE}^" ${WRKSRC}/imlib-config.in
.include <bsd.port.pre.mk>
.include <bsd.port.mk>
.if defined(WITH_MMX) && (${ARCH} == "i386")
CONFIGURE_ARGS= --enable-mmx
.endif
post-install:
strip ${PREFIX}/lib/libImlib2.so.1
strip ${PREFIX}/lib/loaders/filter/*
strip ${PREFIX}/lib/loaders/image/*
.include <bsd.port.post.mk>

View File

@ -1 +1 @@
MD5 (imlib-1.9.8.1.tar.gz) = 224948ee96653990cd96daec090a5599
MD5 (imlib2-1.0.0.tar.gz) = 72a4a0a0f0bafdb0d220cadb6fce1e84

View File

@ -1,42 +0,0 @@
--- configure.orig Sat May 20 14:50:50 2000
+++ configure Sun Jul 16 09:56:12 2000
@@ -2034,8 +2034,8 @@
if test "x$GDK_IMLIB" != x; then
oLIBS="$LIBS"
oCFLAGS="$CFLAGS"
- LIBS="$LIBS `glib-config --libs gmodule`"
- CFLAGS="$CFLAGS `glib-config --cflags gmodule`"
+ LIBS="$LIBS `${GLIB_CONFIG} --libs gmodule`"
+ CFLAGS="$CFLAGS `${GLIB_CONFIG} --cflags gmodule`"
if test "$cross_compiling" = yes; then
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
@@ -2056,7 +2056,7 @@
EOF
if { (eval echo configure:2058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
- dynworks=true
+ dynworks=false
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
@@ -2085,8 +2085,8 @@
#define USE_GMODULE 1
EOF
- GMODULE_LIBS="`glib-config --libs gmodule`"
- GMODULE_FLAGS="`glib-config --cflags gmodule`"
+ GMODULE_LIBS="`${GLIB_CONFIG} --libs gmodule`"
+ GMODULE_FLAGS="`${GLIB_CONFIG} --cflags gmodule`"
echo "$ac_t""yes" 1>&6
@@ -4205,7 +4205,7 @@
echo "$ac_t""$jpeg_ok" 1>&6
if test "$jpeg_ok" = yes; then
JPEGLIBS="-ljpeg"
- SUPPORT_LIBS="$SUPPORT_LIBS -ljpeg"; cat >> confdefs.h <<\EOF
+ SUPPORT_LIBS="$SUPPORT_LIBS"; cat >> confdefs.h <<\EOF
#define HAVE_LIBJPEG 1
EOF

View File

@ -1 +1 @@
A graphic library for enlightenment package
The next generation graphic library for enlightenment package

View File

@ -1 +1,3 @@
a graphic library for enlightenment package
The next generation graphic library for enlightenment package.
WWW: http://www.us.rasterman.com/imlib.html

View File

@ -1,20 +1,21 @@
bin/imlib-config
bin/imlib_config
etc/imlib/im_palette-small.pal
etc/imlib/im_palette-tiny.pal
etc/imlib/im_palette.pal
etc/imlib/imrc
include/Imlib.h
include/Imlib_private.h
include/Imlib_types.h
include/gdk_imlib.h
include/gdk_imlib_private.h
include/gdk_imlib_types.h
lib/libImlib.a
lib/libImlib.so
lib/libImlib.so.5
lib/libgdk_imlib.a
lib/libgdk_imlib.so
lib/libgdk_imlib.so.5
share/aclocal/imlib.m4
@dirrm etc/imlib
bin/imlib2-config
include/Imlib2.h
lib/libImlib2.a
lib/libImlib2.so
lib/libImlib2.so.1
lib/loaders/filter/bump_map.so
lib/loaders/filter/colormod.so
lib/loaders/filter/testfilter.so
lib/loaders/image/argb.so
lib/loaders/image/bmp.so
lib/loaders/image/db.so
lib/loaders/image/gif.so
lib/loaders/image/jpeg.so
lib/loaders/image/png.so
lib/loaders/image/pnm.so
lib/loaders/image/tga.so
lib/loaders/image/tiff.so
lib/loaders/image/xpm.so
@dirrm lib/loaders/filter
@dirrm lib/loaders/image
@dirrm lib/loaders

View File

@ -1,32 +1,39 @@
# New ports collection makefile for: imlib
# Date created: 10 June 1997
# Whom: Yukihiro Nakai <Nakai@Mlab.t.u-tokyo.ac.jp>
# New ports collection makefile for: imlib2
# Date created: 16 Oct 2000
# Whom: >Jeremy Norris <ishmael27@home.com>
#
# $FreeBSD$
#
PORTNAME= imlib
PORTVERSION= 1.9.8.1
PORTNAME= imlib2
PORTVERSION= 1.0.0
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/imlib
MASTER_SITES= ftp://ftp.enlightenment.org/pub/enlightenment/e17/libs/ \
http://www.us.rasterman.com/files/
MAINTAINER= vanilla@FreeBSD.org
MAINTAINER= ports@FreeBSD.ORG
LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff \
ungif.5:${PORTSDIR}/graphics/libungif
ungif.5:${PORTSDIR}/graphics/libungif \
jpeg.9:${PORTSDIR}/graphics/jpeg \
edb.1:${PORTSDIR}/databases/edb
USE_GMAKE= yes
USE_X_PREFIX= yes
USE_GTK= yes
USE_FREETYPE= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc/imlib
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
pre-configure:
${PERL} -pi -e "s^%%LOCALBASE%%^${LOCALBASE}^" ${WRKSRC}/imlib-config.in
.include <bsd.port.pre.mk>
.include <bsd.port.mk>
.if defined(WITH_MMX) && (${ARCH} == "i386")
CONFIGURE_ARGS= --enable-mmx
.endif
post-install:
strip ${PREFIX}/lib/libImlib2.so.1
strip ${PREFIX}/lib/loaders/filter/*
strip ${PREFIX}/lib/loaders/image/*
.include <bsd.port.post.mk>

View File

@ -1 +1 @@
MD5 (imlib-1.9.8.1.tar.gz) = 224948ee96653990cd96daec090a5599
MD5 (imlib2-1.0.0.tar.gz) = 72a4a0a0f0bafdb0d220cadb6fce1e84

View File

@ -1,42 +0,0 @@
--- configure.orig Sat May 20 14:50:50 2000
+++ configure Sun Jul 16 09:56:12 2000
@@ -2034,8 +2034,8 @@
if test "x$GDK_IMLIB" != x; then
oLIBS="$LIBS"
oCFLAGS="$CFLAGS"
- LIBS="$LIBS `glib-config --libs gmodule`"
- CFLAGS="$CFLAGS `glib-config --cflags gmodule`"
+ LIBS="$LIBS `${GLIB_CONFIG} --libs gmodule`"
+ CFLAGS="$CFLAGS `${GLIB_CONFIG} --cflags gmodule`"
if test "$cross_compiling" = yes; then
{ echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
else
@@ -2056,7 +2056,7 @@
EOF
if { (eval echo configure:2058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
- dynworks=true
+ dynworks=false
else
echo "configure: failed program was:" >&5
cat conftest.$ac_ext >&5
@@ -2085,8 +2085,8 @@
#define USE_GMODULE 1
EOF
- GMODULE_LIBS="`glib-config --libs gmodule`"
- GMODULE_FLAGS="`glib-config --cflags gmodule`"
+ GMODULE_LIBS="`${GLIB_CONFIG} --libs gmodule`"
+ GMODULE_FLAGS="`${GLIB_CONFIG} --cflags gmodule`"
echo "$ac_t""yes" 1>&6
@@ -4205,7 +4205,7 @@
echo "$ac_t""$jpeg_ok" 1>&6
if test "$jpeg_ok" = yes; then
JPEGLIBS="-ljpeg"
- SUPPORT_LIBS="$SUPPORT_LIBS -ljpeg"; cat >> confdefs.h <<\EOF
+ SUPPORT_LIBS="$SUPPORT_LIBS"; cat >> confdefs.h <<\EOF
#define HAVE_LIBJPEG 1
EOF

View File

@ -1 +1 @@
A graphic library for enlightenment package
The next generation graphic library for enlightenment package

View File

@ -1 +1,3 @@
a graphic library for enlightenment package
The next generation graphic library for enlightenment package.
WWW: http://www.us.rasterman.com/imlib.html

View File

@ -1,20 +1,21 @@
bin/imlib-config
bin/imlib_config
etc/imlib/im_palette-small.pal
etc/imlib/im_palette-tiny.pal
etc/imlib/im_palette.pal
etc/imlib/imrc
include/Imlib.h
include/Imlib_private.h
include/Imlib_types.h
include/gdk_imlib.h
include/gdk_imlib_private.h
include/gdk_imlib_types.h
lib/libImlib.a
lib/libImlib.so
lib/libImlib.so.5
lib/libgdk_imlib.a
lib/libgdk_imlib.so
lib/libgdk_imlib.so.5
share/aclocal/imlib.m4
@dirrm etc/imlib
bin/imlib2-config
include/Imlib2.h
lib/libImlib2.a
lib/libImlib2.so
lib/libImlib2.so.1
lib/loaders/filter/bump_map.so
lib/loaders/filter/colormod.so
lib/loaders/filter/testfilter.so
lib/loaders/image/argb.so
lib/loaders/image/bmp.so
lib/loaders/image/db.so
lib/loaders/image/gif.so
lib/loaders/image/jpeg.so
lib/loaders/image/png.so
lib/loaders/image/pnm.so
lib/loaders/image/tga.so
lib/loaders/image/tiff.so
lib/loaders/image/xpm.so
@dirrm lib/loaders/filter
@dirrm lib/loaders/image
@dirrm lib/loaders