diff --git a/graphics/imlib/Makefile b/graphics/imlib/Makefile new file mode 100644 index 00000000000..df83e5693c7 --- /dev/null +++ b/graphics/imlib/Makefile @@ -0,0 +1,36 @@ +# $OpenBSD: Makefile,v 1.1.1.1 1999/03/19 07:33:56 brad Exp $ +# $FreeBSD: Makefile,v 1.45 1999/03/09 01:08:57 nectar Exp $ + +DISTNAME= imlib-1.9.4 +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_GNOME} +MASTER_SITE_SUBDIR= gnome-1.0/sources + +MAINTAINER= brad@openbsd.org + +BUILD_DEPENDS= gettext:${PORTSDIR}/devel/gettext \ + ${LOCALBASE}/lib/libpbm.a:${PORTSDIR}/graphics/netpbm +RUN_DEPENDS= gettext:${PORTSDIR}/devel/gettext +LIB_DEPENDS= gif:${PORTSDIR}/graphics/giflib \ + glib\\.1\\.2:${PORTSDIR}/devel/glib \ + gtk\\.1\\.2:${PORTSDIR}/x11/gtk+ \ + jpeg:${PORTSDIR}/graphics/jpeg \ + png:${PORTSDIR}/graphics/png \ + tiff:${PORTSDIR}/graphics/tiff34 \ + +USE_GMAKE= yes +USE_X11= yes +SYSCONFDIR= ${PREFIX}/lib/imlib +SEPARATE_BUILD= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --sysconfdir=${SYSCONFDIR} +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + GTK_CONFIG="${X11BASE}/bin/gtk-config" \ + LIBS="-L${LOCALBASE}/lib" + +post-install: + @${MKDIR} ${LOCALBASE}/share/aclocal + @${INSTALL_DATA} ${WRKSRC}/imlib.m4 ${LOCALBASE}/share/aclocal/ + ${LDCONFIG} -m ${PREFIX}/lib + +.include diff --git a/graphics/imlib/files/md5 b/graphics/imlib/files/md5 new file mode 100644 index 00000000000..ae74485a593 --- /dev/null +++ b/graphics/imlib/files/md5 @@ -0,0 +1,3 @@ +MD5 (imlib-1.9.4.tar.gz) = 8d0e50e28a5b203ff76f114bb38627c7 +RMD160 (imlib-1.9.4.tar.gz) = fa6ea8b04ef60f74a371dcbb4336889a3832943e +SHA1 (imlib-1.9.4.tar.gz) = 5e2ef04bb01fbbbfdadc832f1147ea18ead51877 diff --git a/graphics/imlib/patches/patch-aa b/graphics/imlib/patches/patch-aa new file mode 100644 index 00000000000..6014414b96c --- /dev/null +++ b/graphics/imlib/patches/patch-aa @@ -0,0 +1,20 @@ +--- configure.orig Thu Feb 25 01:44:38 1999 ++++ configure Mon Mar 1 20:30:08 1999 +@@ -4153,7 +4153,7 @@ + echo $ac_n "(cached) $ac_c" 1>&6 + else + ac_save_LIBS="$LIBS" +-LIBS="-lXext $X_LIBS $LIBS" ++LIBS="-lXext -lX11 $X_LIBS $LIBS" + cat > conftest.$ac_ext <&6 + else + ac_save_LIBS="$LIBS" +-LIBS="-ltiff $GX_LIBS $LIBS" ++LIBS="-ltiff -ljpeg -lz $GX_LIBS $LIBS" + cat > conftest.$ac_ext <