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:
parent
df38a4f4ec
commit
3a08da4004
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=109836
@ -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
|
||||
|
53
graphics/linux-f10-libmng/Makefile
Normal file
53
graphics/linux-f10-libmng/Makefile
Normal 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>
|
2
graphics/linux-f10-libmng/distinfo.i386
Normal file
2
graphics/linux-f10-libmng/distinfo.i386
Normal 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
|
1
graphics/linux-f10-libmng/pkg-descr
Normal file
1
graphics/linux-f10-libmng/pkg-descr
Normal file
@ -0,0 +1 @@
|
||||
This is a port for libmng rpm.
|
4
graphics/linux-f10-libmng/pkg-plist.i386
Normal file
4
graphics/linux-f10-libmng/pkg-plist.i386
Normal 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
|
53
graphics/linux-f8-libmng/Makefile
Normal file
53
graphics/linux-f8-libmng/Makefile
Normal 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>
|
2
graphics/linux-f8-libmng/distinfo.i386
Normal file
2
graphics/linux-f8-libmng/distinfo.i386
Normal 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
|
1
graphics/linux-f8-libmng/pkg-descr
Normal file
1
graphics/linux-f8-libmng/pkg-descr
Normal file
@ -0,0 +1 @@
|
||||
This is a port for libmng rpm.
|
4
graphics/linux-f8-libmng/pkg-plist.i386
Normal file
4
graphics/linux-f8-libmng/pkg-plist.i386
Normal 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
|
53
graphics/linux-libmng/Makefile
Normal file
53
graphics/linux-libmng/Makefile
Normal 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>
|
2
graphics/linux-libmng/distinfo.i386
Normal file
2
graphics/linux-libmng/distinfo.i386
Normal 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
|
1
graphics/linux-libmng/pkg-descr
Normal file
1
graphics/linux-libmng/pkg-descr
Normal file
@ -0,0 +1 @@
|
||||
This is a port for libmng rpm.
|
4
graphics/linux-libmng/pkg-plist.i386
Normal file
4
graphics/linux-libmng/pkg-plist.i386
Normal 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
|
Loading…
Reference in New Issue
Block a user