aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2000-11-07 22:32:57 +0800
committerkevlo <kevlo@FreeBSD.org>2000-11-07 22:32:57 +0800
commit2381edcc951050399ca2d1ca04400e2247e1f67b (patch)
tree8cceab7a6e76c896409dd4b6cab93155b4ae2997 /graphics
parent2d535aec247ff9da421ea2eb3c7ab05a5501e6ee (diff)
downloadfreebsd-ports-gnome-2381edcc951050399ca2d1ca04400e2247e1f67b.tar.gz
freebsd-ports-gnome-2381edcc951050399ca2d1ca04400e2247e1f67b.tar.zst
freebsd-ports-gnome-2381edcc951050399ca2d1ca04400e2247e1f67b.zip
- Change MASTER_SITES to MASTER_SITE_SOURCEFORGE.
- Clean up the imlib2-config script installed. - Take over maintainer-ship. PR: 22629 Submitted by: Jeremy Norris <ishmael27@home.com>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/imlib2-tmp/Makefile23
-rw-r--r--graphics/imlib2-tmp/files/patch-aa11
-rw-r--r--graphics/imlib2/Makefile23
-rw-r--r--graphics/imlib2/files/patch-aa11
4 files changed, 54 insertions, 14 deletions
diff --git a/graphics/imlib2-tmp/Makefile b/graphics/imlib2-tmp/Makefile
index 9d55bd13d30c..861aa746d7d6 100644
--- a/graphics/imlib2-tmp/Makefile
+++ b/graphics/imlib2-tmp/Makefile
@@ -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$
#
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 +33,16 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
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 --git a/graphics/imlib2-tmp/files/patch-aa b/graphics/imlib2-tmp/files/patch-aa
new file mode 100644
index 000000000000..7a8b2a5a55a0
--- /dev/null
+++ b/graphics/imlib2-tmp/files/patch-aa
@@ -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@
+ ;;
+ *)
diff --git a/graphics/imlib2/Makefile b/graphics/imlib2/Makefile
index 9d55bd13d30c..861aa746d7d6 100644
--- a/graphics/imlib2/Makefile
+++ b/graphics/imlib2/Makefile
@@ -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$
#
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 +33,16 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
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 --git a/graphics/imlib2/files/patch-aa b/graphics/imlib2/files/patch-aa
new file mode 100644
index 000000000000..7a8b2a5a55a0
--- /dev/null
+++ b/graphics/imlib2/files/patch-aa
@@ -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@
+ ;;
+ *)