diff options
author | Boris Samorodov <bsam@FreeBSD.org> | 2006-08-03 23:29:12 +0000 |
---|---|---|
committer | Boris Samorodov <bsam@FreeBSD.org> | 2006-08-03 23:29:12 +0000 |
commit | d52bfb13aa0307f49ac55537e260bcc201e46f31 (patch) | |
tree | ba7abdfcdc4dc268c3c992a0093aa37982360294 /graphics | |
parent | 67a394faf7587776e980a62224439c4693c5a305 (diff) | |
download | ports-d52bfb13aa0307f49ac55537e260bcc201e46f31.tar.gz ports-d52bfb13aa0307f49ac55537e260bcc201e46f31.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)
Notes
Notes:
svn path=/head/; revision=169604
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/linux-f10-libmng/Makefile | 42 | ||||
-rw-r--r-- | graphics/linux-f10-libmng/distinfo.i386 | 8 | ||||
-rw-r--r-- | graphics/linux-f10-libmng/pkg-plist.i386 | 4 | ||||
-rw-r--r-- | graphics/linux-f8-libmng/Makefile | 42 | ||||
-rw-r--r-- | graphics/linux-f8-libmng/distinfo.i386 | 8 | ||||
-rw-r--r-- | graphics/linux-f8-libmng/pkg-plist.i386 | 4 | ||||
-rw-r--r-- | graphics/linux-libmng/Makefile | 42 | ||||
-rw-r--r-- | graphics/linux-libmng/distinfo.i386 | 8 | ||||
-rw-r--r-- | graphics/linux-libmng/pkg-plist.i386 | 4 |
9 files changed, 45 insertions, 117 deletions
diff --git a/graphics/linux-f10-libmng/Makefile b/graphics/linux-f10-libmng/Makefile index 8429247003be..39d256d648f2 100644 --- a/graphics/linux-f10-libmng/Makefile +++ b/graphics/linux-f10-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-f10-libmng/distinfo.i386 b/graphics/linux-f10-libmng/distinfo.i386 index cab04632724d..d4b14d8ff341 100644 --- a/graphics/linux-f10-libmng/distinfo.i386 +++ b/graphics/linux-f10-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-f10-libmng/pkg-plist.i386 b/graphics/linux-f10-libmng/pkg-plist.i386 index 4fcbb969b5c2..a1e561d2b438 100644 --- a/graphics/linux-f10-libmng/pkg-plist.i386 +++ b/graphics/linux-f10-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 diff --git a/graphics/linux-f8-libmng/Makefile b/graphics/linux-f8-libmng/Makefile index 8429247003be..39d256d648f2 100644 --- a/graphics/linux-f8-libmng/Makefile +++ b/graphics/linux-f8-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-f8-libmng/distinfo.i386 b/graphics/linux-f8-libmng/distinfo.i386 index cab04632724d..d4b14d8ff341 100644 --- a/graphics/linux-f8-libmng/distinfo.i386 +++ b/graphics/linux-f8-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-f8-libmng/pkg-plist.i386 b/graphics/linux-f8-libmng/pkg-plist.i386 index 4fcbb969b5c2..a1e561d2b438 100644 --- a/graphics/linux-f8-libmng/pkg-plist.i386 +++ b/graphics/linux-f8-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 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 |