aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/linux-libmng
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2006-08-04 07:29:12 +0800
committerbsam <bsam@FreeBSD.org>2006-08-04 07:29:12 +0800
commitc2ed6669dd0ddfb0123364fa46af8176dcc0626a (patch)
treed6c7a6bc69d613fa53878cdecf79b81483292abe /graphics/linux-libmng
parent20219db5acd51f6354376543508bda555a1fbd18 (diff)
downloadfreebsd-ports-gnome-c2ed6669dd0ddfb0123364fa46af8176dcc0626a.tar.gz
freebsd-ports-gnome-c2ed6669dd0ddfb0123364fa46af8176dcc0626a.tar.zst
freebsd-ports-gnome-c2ed6669dd0ddfb0123364fa46af8176dcc0626a.zip
o convert the port to use bsd.linux-rpm.mk infrostructure;
o update to new version 1.0.9; o add amd64 to ONLY_FOR_ARCHS; o add SHA256 checksum; o add fetching of the sources when PACKAGE_BUILDING=YES. Approved by: mranner@inode.at (maintainer timeout, emailed 2006-06-26), netchild (mentor, implicit)
Diffstat (limited to 'graphics/linux-libmng')
-rw-r--r--graphics/linux-libmng/Makefile42
-rw-r--r--graphics/linux-libmng/distinfo.i3868
-rw-r--r--graphics/linux-libmng/pkg-plist.i3864
3 files changed, 15 insertions, 39 deletions
diff --git a/graphics/linux-libmng/Makefile b/graphics/linux-libmng/Makefile
index 8429247003be..39d256d648f2 100644
--- a/graphics/linux-libmng/Makefile
+++ b/graphics/linux-libmng/Makefile
@@ -6,48 +6,20 @@
#
PORTNAME= libmng
-PORTVERSION= 1.0.4
-PORTREVISION= 2
+PORTVERSION= 1.0.9
CATEGORIES= graphics linux
-MASTER_SITES?= ${RPM_MIRRORS:S/__DIR__/${STDDIR}/g}
-PKGNAMEPREFIX= linux-
-DISTNAME= libmng-${PORTVERSION}-1.${MACHINE_ARCH}
-EXTRACT_SUFX= .rpm
-EXTRACT_ONLY=
+DISTNAME= ${PORTNAME}-${PORTVERSION}-1
MAINTAINER= mranner@inode.at
COMMENT= RPM of libmng
-BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
RUN_DEPENDS= ${LINUXBASE}/usr/lib/libjpeg.so.62:${PORTSDIR}/graphics/linux-jpeg
-BASEVERSION= 8.0
-USE_LINUX= yes
-USE_LINUX_PREFIX= yes
-ONLY_FOR_ARCHS= i386
+USE_LINUX_RPM= yes
+LINUX_DIST_VER= 4
+INSTALLS_SHLIB= yes
+ONLY_FOR_ARCHS= i386 amd64
-DIST_SUBDIR= rpm
-NO_BUILD= yes
-PLIST?= ${PKGDIR}/pkg-plist.${MACHINE_ARCH}
-MD5_FILE?= ${MASTERDIR}/distinfo.${MACHINE_ARCH}
-
-# Let's avoid hardcoding 'en' as the language.
-LANG?= en
-RPM_MIRRORS= \
- ftp://ftp.redhat.com/pub/redhat/__DIR__/ \
- ftp://ftp.nluug.nl/site/ftp.redhat.com/redhat/__DIR__/ \
- ftp://ftp.mirrorservice.org/sites/ftp.redhat.com/pub/redhat/__DIR__/
-STDDIR= linux/${BASEVERSION}/${LANG}/os/${MACHINE_ARCH}/RedHat/RPMS
-UPDDIR= linux/updates/${BASEVERSION}/${LANG}/os/${MACHINE_ARCH}
-DBPATH= /var/lib/rpm
-RPMFLAGS= --ignoreos --root ${PREFIX} --dbpath ${DBPATH} \
- --nodeps --replacepkgs
-RPMDIR= ${DISTDIR}/${DIST_SUBDIR}
-
-do-install:
- @for R in ${DISTFILES}; do \
- ${ECHO_MSG} $$R; \
- rpm -U ${RPMFLAGS} ${RPMDIR}/$$R || true ; \
- done
+PLIST?= ${PKGDIR}/pkg-plist.${LINUX_RPM_ARCH}
.include <bsd.port.mk>
diff --git a/graphics/linux-libmng/distinfo.i386 b/graphics/linux-libmng/distinfo.i386
index cab04632724d..d4b14d8ff341 100644
--- a/graphics/linux-libmng/distinfo.i386
+++ b/graphics/linux-libmng/distinfo.i386
@@ -1,2 +1,6 @@
-MD5 (rpm/libmng-1.0.4-1.i386.rpm) = 4445e99362ea84f0f0e71d00da07897e
-SIZE (rpm/libmng-1.0.4-1.i386.rpm) = 117947
+MD5 (rpm/i386/fedora/4/libmng-1.0.9-1.i386.rpm) = 2f5ec74c8981db8fc45cd6585fa62558
+SHA256 (rpm/i386/fedora/4/libmng-1.0.9-1.i386.rpm) = 07e9799e07cac87cf9ebcee6ba76e88bb93cf8059a5a245503376a3da241373d
+SIZE (rpm/i386/fedora/4/libmng-1.0.9-1.i386.rpm) = 140962
+MD5 (rpm/i386/fedora/4/libmng-1.0.9-1.src.rpm) = a8674698604aac9c0768466063ba12bf
+SHA256 (rpm/i386/fedora/4/libmng-1.0.9-1.src.rpm) = 543aa8c4771f2c13276bc98159098ea6ccd3f5b145529c60e16290fefde55204
+SIZE (rpm/i386/fedora/4/libmng-1.0.9-1.src.rpm) = 560137
diff --git a/graphics/linux-libmng/pkg-plist.i386 b/graphics/linux-libmng/pkg-plist.i386
index 4fcbb969b5c2..a1e561d2b438 100644
--- a/graphics/linux-libmng/pkg-plist.i386
+++ b/graphics/linux-libmng/pkg-plist.i386
@@ -1,4 +1,4 @@
usr/lib/libmng.so.1.0.0
+usr/lib/libmng.so.1
@exec ln -sf %D/usr/lib/libmng.so.1 %D/usr/lib/libmng.1
-@unexec rm -f %D/usr/lib/libmng.so.1
-@unexec rm -f %D/usr/lib/libmng.so.1.0.0
+@unexec rm -f %D/usr/lib/libmng.1