1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Add linux-libmng 1.0.4, RPM of libmng.

PR:		ports/64308
Submitted by:	Michael Ranner <mranner@inode.at>
This commit is contained in:
Volker Stolz 2004-05-24 07:58:19 +00:00
parent df38a4f4ec
commit 3a08da4004
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=109836
13 changed files with 181 additions and 0 deletions

View File

@ -235,6 +235,7 @@
SUBDIR += linux-gdk-pixbuf
SUBDIR += linux-imlib
SUBDIR += linux-jpeg
SUBDIR += linux-libmng
SUBDIR += linux-png
SUBDIR += linux-tiff
SUBDIR += linux-ungif

View File

@ -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>

View File

@ -0,0 +1,2 @@
MD5 (rpm/libmng-1.0.4-1.i386.rpm) = 4445e99362ea84f0f0e71d00da07897e
SIZE (rpm/libmng-1.0.4-1.i386.rpm) = 117947

View File

@ -0,0 +1 @@
This is a port for libmng rpm.

View File

@ -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

View File

@ -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>

View File

@ -0,0 +1,2 @@
MD5 (rpm/libmng-1.0.4-1.i386.rpm) = 4445e99362ea84f0f0e71d00da07897e
SIZE (rpm/libmng-1.0.4-1.i386.rpm) = 117947

View File

@ -0,0 +1 @@
This is a port for libmng rpm.

View File

@ -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

View File

@ -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>

View File

@ -0,0 +1,2 @@
MD5 (rpm/libmng-1.0.4-1.i386.rpm) = 4445e99362ea84f0f0e71d00da07897e
SIZE (rpm/libmng-1.0.4-1.i386.rpm) = 117947

View File

@ -0,0 +1 @@
This is a port for libmng rpm.

View File

@ -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