ports/64308: [NEW PORT] graphics/linux-libmng: RPM of libmng
Michael Ranner
mranner at inode.at
Mon Mar 15 18:30:28 UTC 2004
>Number: 64308
>Category: ports
>Synopsis: [NEW PORT] graphics/linux-libmng: RPM of libmng
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Mar 15 10:30:19 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Michael Ranner
>Release: FreeBSD 4.9-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD dwarf.jawa.at 4.9-RELEASE-p1 FreeBSD 4.9-RELEASE-p1 #4: Sat Nov 29 11:09:14 CET 2003
>Description:
This is a port for Linux libmng rpm.
This port makes my old PR ports/62710 obsolete which needs PR ports/62829
(please close ports/62710). If ports/62829 is commited, I will update this
port to use its features. But now I need this port sooner to bring dbdesigner4
to FreeBSD. This new PR includes also the new SIZE feature.
Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:
--- linux-libmng-1.0.4.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# linux-libmng
# linux-libmng/Makefile
# linux-libmng/pkg-descr
# linux-libmng/distinfo.i386
# linux-libmng/pkg-plist.i386
#
echo c - linux-libmng
mkdir -p linux-libmng > /dev/null 2>&1
echo x - linux-libmng/Makefile
sed 's/^X//' >linux-libmng/Makefile << 'END-of-linux-libmng/Makefile'
X# New ports collection makefile for: linux-libmng
X# Date created: 01/09/18
X# Whom: mranner at inode.at
X#
X# $FreeBSD$
X#
X
XPORTNAME= libmng
XPORTVERSION= 1.0.4
XCATEGORIES= graphics linux
XMASTER_SITES?= ${RPM_MIRRORS:S/__DIR__/${STDDIR}/g}
XPKGNAMEPREFIX= linux-
XDISTNAME= libmng-${PORTVERSION}-1.${MACHINE_ARCH}
XEXTRACT_SUFX= .rpm
XEXTRACT_ONLY= yes
X
XMAINTAINER= mranner at inode.at
XCOMMENT= RPM of libmng
X
XBUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
XRUN_DEPENDS= ${LINUXBASE}/usr/lib/libjpeg.so.6:${PORTSDIR}/graphics/linux-jpeg
X
XBASEVERSION= 8.0
XUSE_LINUX_RPM= yes
XUSE_LINUX_PREFIX= yes
XONLY_FOR_ARCHS= i386
X
XDIST_SUBDIR= rpm
XNO_BUILD= yes
XNO_FILTER_SHLIBS= yes
XPLIST?= ${PKGDIR}/pkg-plist.${MACHINE_ARCH}
XMD5_FILE?= ${MASTERDIR}/distinfo.${MACHINE_ARCH}
X
X# Let's avoid hardcoding 'en' as the language.
XLANG?= en
XRPM_MIRRORS= \
X ftp://ftp.redhat.com/pub/redhat/__DIR__/ \
X ftp://ftp.nluug.nl/site/ftp.redhat.com/redhat/__DIR__/ \
X ftp://ftp.mirror.ac.uk/sites/ftp.redhat.com/pub/redhat/__DIR__/
XSTDDIR= linux/${BASEVERSION}/${LANG}/os/${MACHINE_ARCH}/RedHat/RPMS
XUPDDIR= linux/updates/${BASEVERSION}/${LANG}/os/${MACHINE_ARCH}
XDBPATH= /var/lib/rpm
XRPMFLAGS= --ignoreos --root ${PREFIX} --dbpath ${DBPATH} \
X --nodeps --replacepkgs
XRPMDIR= ${DISTDIR}/${DIST_SUBDIR}
X
Xdo-install:
X @for R in ${DISTFILES}; do \
X ${ECHO_MSG} $$R; \
X rpm -U ${RPMFLAGS} ${RPMDIR}/$$R || true ; \
X done
X
X.include <bsd.port.mk>
END-of-linux-libmng/Makefile
echo x - linux-libmng/pkg-descr
sed 's/^X//' >linux-libmng/pkg-descr << 'END-of-linux-libmng/pkg-descr'
XThis is a port for libmng rpm.
END-of-linux-libmng/pkg-descr
echo x - linux-libmng/distinfo.i386
sed 's/^X//' >linux-libmng/distinfo.i386 << 'END-of-linux-libmng/distinfo.i386'
XMD5 (rpm/libmng-1.0.4-1.i386.rpm) = 4445e99362ea84f0f0e71d00da07897e
XSIZE (rpm/libmng-1.0.4-1.i386.rpm) = 117947
END-of-linux-libmng/distinfo.i386
echo x - linux-libmng/pkg-plist.i386
sed 's/^X//' >linux-libmng/pkg-plist.i386 << 'END-of-linux-libmng/pkg-plist.i386'
Xusr/lib/libmng.so.1.0.0
X at exec ln -sf %D/usr/lib/libmng.so.1 %D/usr/lib/libmng.1
X at unexec rm -f %D/usr/lib/libmng.so.1
X at unexec rm -f %D/usr/lib/libmng.so.1.0.0
END-of-linux-libmng/pkg-plist.i386
exit
--- linux-libmng-1.0.4.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list