mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
- 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>
This commit is contained in:
parent
b5ff911583
commit
c61d65a849
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34875
4 changed files with 54 additions and 14 deletions
|
@ -1,17 +1,18 @@
|
||||||
# New ports collection makefile for: imlib2
|
# New ports collection makefile for: imlib2
|
||||||
# Date created: 16 Oct 2000
|
# Date created: 16 Oct 2000
|
||||||
# Whom: >Jeremy Norris <ishmael27@home.com>
|
# Whom: Jeremy Norris <ishmael27@home.com>
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= imlib2
|
PORTNAME= imlib2
|
||||||
PORTVERSION= 1.0.0
|
PORTVERSION= 1.0.0
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= graphics
|
CATEGORIES= graphics
|
||||||
MASTER_SITES= ftp://ftp.enlightenment.org/pub/enlightenment/e17/libs/ \
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||||
http://www.us.rasterman.com/files/
|
MASTER_SITE_SUBDIR= enlightenment
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.ORG
|
MAINTAINER= ishmael27@home.com
|
||||||
|
|
||||||
LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png \
|
LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png \
|
||||||
tiff.4:${PORTSDIR}/graphics/tiff \
|
tiff.4:${PORTSDIR}/graphics/tiff \
|
||||||
|
@ -32,8 +33,16 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||||
CONFIGURE_ARGS= --enable-mmx
|
CONFIGURE_ARGS= --enable-mmx
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
post-configure:
|
||||||
|
@${PERL} -pi -e 's|\@localbase\@|${LOCALBASE}|g' ${WRKSRC}/imlib2-config
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
strip ${PREFIX}/lib/libImlib2.so.1
|
@strip ${PREFIX}/lib/libImlib2.so.1
|
||||||
strip ${PREFIX}/lib/loaders/filter/*
|
.for i in bump_map colormod testfilter
|
||||||
strip ${PREFIX}/lib/loaders/image/*
|
@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>
|
.include <bsd.port.post.mk>
|
||||||
|
|
11
graphics/imlib2-tmp/files/patch-aa
Normal file
11
graphics/imlib2-tmp/files/patch-aa
Normal file
|
@ -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@
|
||||||
|
;;
|
||||||
|
*)
|
|
@ -1,17 +1,18 @@
|
||||||
# New ports collection makefile for: imlib2
|
# New ports collection makefile for: imlib2
|
||||||
# Date created: 16 Oct 2000
|
# Date created: 16 Oct 2000
|
||||||
# Whom: >Jeremy Norris <ishmael27@home.com>
|
# Whom: Jeremy Norris <ishmael27@home.com>
|
||||||
#
|
#
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= imlib2
|
PORTNAME= imlib2
|
||||||
PORTVERSION= 1.0.0
|
PORTVERSION= 1.0.0
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= graphics
|
CATEGORIES= graphics
|
||||||
MASTER_SITES= ftp://ftp.enlightenment.org/pub/enlightenment/e17/libs/ \
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||||
http://www.us.rasterman.com/files/
|
MASTER_SITE_SUBDIR= enlightenment
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.ORG
|
MAINTAINER= ishmael27@home.com
|
||||||
|
|
||||||
LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png \
|
LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png \
|
||||||
tiff.4:${PORTSDIR}/graphics/tiff \
|
tiff.4:${PORTSDIR}/graphics/tiff \
|
||||||
|
@ -32,8 +33,16 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||||
CONFIGURE_ARGS= --enable-mmx
|
CONFIGURE_ARGS= --enable-mmx
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
post-configure:
|
||||||
|
@${PERL} -pi -e 's|\@localbase\@|${LOCALBASE}|g' ${WRKSRC}/imlib2-config
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
strip ${PREFIX}/lib/libImlib2.so.1
|
@strip ${PREFIX}/lib/libImlib2.so.1
|
||||||
strip ${PREFIX}/lib/loaders/filter/*
|
.for i in bump_map colormod testfilter
|
||||||
strip ${PREFIX}/lib/loaders/image/*
|
@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>
|
.include <bsd.port.post.mk>
|
||||||
|
|
11
graphics/imlib2/files/patch-aa
Normal file
11
graphics/imlib2/files/patch-aa
Normal file
|
@ -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@
|
||||||
|
;;
|
||||||
|
*)
|
Loading…
Add table
Reference in a new issue