Bug 22629

Summary: Changes and maintance of graphics/imlib2-tmp
Product: Ports & Packages Reporter: ishmael27 <ishmael27>
Component: Individual Port(s)Assignee: freebsd-ports (Nobody) <ports>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description ishmael27 2000-11-06 00:50:01 UTC
This update changes MASTER_SITES to more readily available
MASTER_SITE_SOURCEFORGE, adds patch-aa, which cleans up the imlib2-config
script installed.
Also, I'm assuing MAINTAINER-ship of this port (which I originally
created/submitted).
Comment 1 ishmael27 2000-11-06 01:00:58 UTC
Forgot to bump PORTREVISION.
Here's a revised patch.


diff -urN ../cvs/imlib2-tmp/Makefile ./Makefile
--- ../cvs/imlib2-tmp/Makefile	Fri Nov  3 02:18:07 2000
+++ ./Makefile	Sun Nov  5 18:19:16 2000
@@ -1,17 +1,18 @@
 # New ports collection makefile for:	imlib2
 # Date created:		16 Oct 2000
-# Whom:			>Jeremy Norris <ishmael27@home.com>
+# Whom:			Jeremy Norris <ishmael27@home.com>
 #
 # $FreeBSD: ports/graphics/imlib2-tmp/Makefile,v 1.70 2000/11/03 08:18:07 nakai Exp $
 #
 
 PORTNAME=	imlib2
 PORTVERSION=	1.0.0
+PORTREVISION=	1
 CATEGORIES=	graphics
-MASTER_SITES=	ftp://ftp.enlightenment.org/pub/enlightenment/e17/libs/ \
-		http://www.us.rasterman.com/files/
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR=	enlightenment
 
-MAINTAINER=	ports@FreeBSD.ORG
+MAINTAINER=	ishmael27@home.com
 
 LIB_DEPENDS=	png.4:${PORTSDIR}/graphics/png \
 		tiff.4:${PORTSDIR}/graphics/tiff \
@@ -32,8 +32,16 @@
 CONFIGURE_ARGS=	--enable-mmx
 .endif
 
+post-configure:
+	@${PERL} -pi -e 's|\@localbase\@|${LOCALBASE}|g' ${WRKSRC}/imlib2-config
+
 post-install:
-	strip ${PREFIX}/lib/libImlib2.so.1
-	strip ${PREFIX}/lib/loaders/filter/*
-	strip ${PREFIX}/lib/loaders/image/*
+	@strip ${PREFIX}/lib/libImlib2.so.1
+.for i in bump_map colormod testfilter
+	@strip ${PREFIX}/lib/loaders/filter/${i}.so
+.endfor
+.for i in argb bmp db gif jpeg png pnm tga tiff xpm
+	@strip ${PREFIX}/lib/loaders/image/${i}.so
+.endfor
+
 .include <bsd.port.post.mk>
diff -urN ../cvs/imlib2-tmp/files/patch-aa ./files/patch-aa
--- ../cvs/imlib2-tmp/files/patch-aa	Wed Dec 31 18:00:00 1969
+++ ./files/patch-aa	Sun Oct 29 21:38:22 2000
@@ -0,0 +1,11 @@
+--- imlib2-config.in.orig	Tue Aug 22 16:38:40 2000
++++ imlib2-config.in	Sun Oct 29 21:38:09 2000
+@@ -45,7 +45,7 @@
+       echo $includes @x_cflags@
+       ;;
+     --libs)
+-      libdirs=-L@libdir@
++      libdirs="-L@libdir@ -L@localbase@/lib"
+       echo $libdirs -lImlib2 -lttf -lm @dlopen_libs@ @x_ldflags@ @x_libs@
+       ;;
+     *)
Comment 2 Kevin Lo freebsd_committer freebsd_triage 2000-11-07 14:33:02 UTC
State Changed
From-To: open->closed

Committed, thanks.