View | Details | Raw Unified | Return to bug 22629
Collapse All | Expand All

(-)./Makefile (-7 / +15 lines)
Lines 1-17 Link Here
1
# New ports collection makefile for:	imlib2
1
# New ports collection makefile for:	imlib2
2
# Date created:		16 Oct 2000
2
# Date created:		16 Oct 2000
3
# Whom:			>Jeremy Norris <ishmael27@home.com>
3
# Whom:			Jeremy Norris <ishmael27@home.com>
4
#
4
#
5
# $FreeBSD: ports/graphics/imlib2-tmp/Makefile,v 1.70 2000/11/03 08:18:07 nakai Exp $
5
# $FreeBSD: ports/graphics/imlib2-tmp/Makefile,v 1.70 2000/11/03 08:18:07 nakai Exp $
6
#
6
#
7
7
8
PORTNAME=	imlib2
8
PORTNAME=	imlib2
9
PORTVERSION=	1.0.0
9
PORTVERSION=	1.0.0
10
CATEGORIES=	graphics
10
CATEGORIES=	graphics
11
MASTER_SITES=	ftp://ftp.enlightenment.org/pub/enlightenment/e17/libs/ \
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
		http://www.us.rasterman.com/files/
12
MASTER_SITE_SUBDIR=	enlightenment
13
13
14
MAINTAINER=	ports@FreeBSD.ORG
14
MAINTAINER=	ishmael27@home.com
15
15
16
LIB_DEPENDS=	png.4:${PORTSDIR}/graphics/png \
16
LIB_DEPENDS=	png.4:${PORTSDIR}/graphics/png \
17
		tiff.4:${PORTSDIR}/graphics/tiff \
17
		tiff.4:${PORTSDIR}/graphics/tiff \
Lines 32-39 Link Here
32
CONFIGURE_ARGS=	--enable-mmx
32
CONFIGURE_ARGS=	--enable-mmx
33
.endif
33
.endif
34
34
35
post-configure:
36
	@${PERL} -pi -e 's|\@localbase\@|${LOCALBASE}|g' ${WRKSRC}/imlib2-config
37
35
post-install:
38
post-install:
36
	strip ${PREFIX}/lib/libImlib2.so.1
39
	@strip ${PREFIX}/lib/libImlib2.so.1
37
	strip ${PREFIX}/lib/loaders/filter/*
40
.for i in bump_map colormod testfilter
38
	strip ${PREFIX}/lib/loaders/image/*
41
	@strip ${PREFIX}/lib/loaders/filter/${i}.so
42
.endfor
43
.for i in argb bmp db gif jpeg png pnm tga tiff xpm
44
	@strip ${PREFIX}/lib/loaders/image/${i}.so
45
.endfor
46
39
.include <bsd.port.post.mk>
47
.include <bsd.port.post.mk>
(-)./files/patch-aa (+11 lines)
Line 0 Link Here
1
--- imlib2-config.in.orig	Tue Aug 22 16:38:40 2000
2
+++ imlib2-config.in	Sun Oct 29 21:38:09 2000
3
@@ -45,7 +45,7 @@
4
       echo $includes @x_cflags@
5
       ;;
6
     --libs)
7
-      libdirs=-L@libdir@
8
+      libdirs="-L@libdir@ -L@localbase@/lib"
9
       echo $libdirs -lImlib2 -lttf -lm @dlopen_libs@ @x_ldflags@ @x_libs@
10
       ;;
11
     *)

Return to bug 22629