aboutsummaryrefslogtreecommitdiff
path: root/graphics/linux-libmng
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2004-05-24 07:58:19 +0000
committerVolker Stolz <vs@FreeBSD.org>2004-05-24 07:58:19 +0000
commit3a08da400481deb3a421c1f2f632209bc2901a11 (patch)
tree4d9d5bc0e93f2a2e0679ab5570679727f687ed94 /graphics/linux-libmng
parentdf38a4f4ecdbb74a028a1e6533c76e9815d589b8 (diff)
downloadports-3a08da400481deb3a421c1f2f632209bc2901a11.tar.gz
ports-3a08da400481deb3a421c1f2f632209bc2901a11.zip
Notes
Diffstat (limited to 'graphics/linux-libmng')
-rw-r--r--graphics/linux-libmng/Makefile53
-rw-r--r--graphics/linux-libmng/distinfo.i3862
-rw-r--r--graphics/linux-libmng/pkg-descr1
-rw-r--r--graphics/linux-libmng/pkg-plist.i3864
4 files changed, 60 insertions, 0 deletions
diff --git a/graphics/linux-libmng/Makefile b/graphics/linux-libmng/Makefile
new file mode 100644
index 000000000000..0b546fb0b4ec
--- /dev/null
+++ b/graphics/linux-libmng/Makefile
@@ -0,0 +1,53 @@
+# New ports collection makefile for: linux-libmng
+# Date created: 01/09/18
+# Whom: mranner@inode.at
+#
+# $FreeBSD$
+#
+
+PORTNAME= libmng
+PORTVERSION= 1.0.4
+CATEGORIES= graphics linux
+MASTER_SITES?= ${RPM_MIRRORS:S/__DIR__/${STDDIR}/g}
+PKGNAMEPREFIX= linux-
+DISTNAME= libmng-${PORTVERSION}-1.${MACHINE_ARCH}
+EXTRACT_SUFX= .rpm
+EXTRACT_ONLY= yes
+
+MAINTAINER= mranner@inode.at
+COMMENT= RPM of libmng
+
+BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
+RUN_DEPENDS= ${LINUXBASE}/usr/lib/libjpeg.so.6:${PORTSDIR}/graphics/linux-jpeg
+
+BASEVERSION= 8.0
+USE_LINUX_RPM= yes
+USE_LINUX_PREFIX= yes
+ONLY_FOR_ARCHS= i386
+
+DIST_SUBDIR= rpm
+NO_BUILD= yes
+NO_FILTER_SHLIBS= 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.mirror.ac.uk/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
+
+.include <bsd.port.mk>
diff --git a/graphics/linux-libmng/distinfo.i386 b/graphics/linux-libmng/distinfo.i386
new file mode 100644
index 000000000000..cab04632724d
--- /dev/null
+++ b/graphics/linux-libmng/distinfo.i386
@@ -0,0 +1,2 @@
+MD5 (rpm/libmng-1.0.4-1.i386.rpm) = 4445e99362ea84f0f0e71d00da07897e
+SIZE (rpm/libmng-1.0.4-1.i386.rpm) = 117947
diff --git a/graphics/linux-libmng/pkg-descr b/graphics/linux-libmng/pkg-descr
new file mode 100644
index 000000000000..7403b3a9d5c4
--- /dev/null
+++ b/graphics/linux-libmng/pkg-descr
@@ -0,0 +1 @@
+This is a port for libmng rpm.
diff --git a/graphics/linux-libmng/pkg-plist.i386 b/graphics/linux-libmng/pkg-plist.i386
new file mode 100644
index 000000000000..4fcbb969b5c2
--- /dev/null
+++ b/graphics/linux-libmng/pkg-plist.i386
@@ -0,0 +1,4 @@
+usr/lib/libmng.so.1.0.0
+@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