From 3faa8845b28c901780a3a4b7488d6236a8282a12 Mon Sep 17 00:00:00 2001 From: netchild Date: Mon, 1 May 2006 17:28:17 +0000 Subject: - convert to use bsd.linux-rpm.mk (get rid of include of linux-gtk/Makefile) [1] - use fixed plists [1] - category "linux" added to those ports without it [1] - update some ports to a recent FC3 one [1] - remove plists/... for Alpha (there's no support since linux_base-8 for Alpha anymore) - don't hardcode version numbers in some plists, use PLIST_SUB instead (any errors are mine, don't keep them, send them to me) Regarding linux-ungif I declare a maintainer timeout (one month, Boris tried to contact the maintainer) and also pull the "sweeping commit"-card (the port which it uses as some kind of master port can not be used for this anymore). Besides this, I don't think he will be upset when other people do the work instead of adding an entry to his TODO list. :-) This commit brings us just before the switch of the default linux base port to the fc3 one, modulo some bugs which may appear. So: Beta testers wanted! To test: sed -i.old -e 's:linux-XFree86-libs:linux-xorg-libs:' /usr/ports/Mk/bsd.port.mk echo OVERRIDE_LINUX_BASE_PORT=fc3 >> /etc/make.conf portupgrade -f -o emulators/linux_base-fc3 -f linux_base-8 portupgrade -o x11/linux-xorg-libs linux-XFree86-libs portupgrade linux-\* The first two steps are necessary to switch to fc3 as the new default linux base port, the last 3 steps to upgrade to fc3. And feel free to send a big "Thank you!" to Boris, he did a lot of the work! I just provided some hints and answered some questions (besides from committing all the necessary changes for FC3 and doing some minor changes+comments/improvements to/of his work), even when he tries to tell you something else. ;-) Submitted by: Boris Samorodov [1] --- audio/linux-f10-libaudiofile/Makefile | 18 ++++++++---------- audio/linux-f10-libaudiofile/distinfo.alpha | 2 -- audio/linux-f10-libaudiofile/distinfo.i386 | 12 ++++++------ audio/linux-f10-libaudiofile/pkg-plist.alpha | 28 ---------------------------- 4 files changed, 14 insertions(+), 46 deletions(-) delete mode 100644 audio/linux-f10-libaudiofile/distinfo.alpha delete mode 100644 audio/linux-f10-libaudiofile/pkg-plist.alpha (limited to 'audio/linux-f10-libaudiofile') diff --git a/audio/linux-f10-libaudiofile/Makefile b/audio/linux-f10-libaudiofile/Makefile index c1f56ea5ee2d..83b22d00f0b5 100644 --- a/audio/linux-f10-libaudiofile/Makefile +++ b/audio/linux-f10-libaudiofile/Makefile @@ -7,19 +7,17 @@ PORTNAME= libaudiofile PORTVERSION= 0.2.6 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= audio linux -MASTER_SITES= ${MASTER_SITE_FEDORA_LINUX} -MASTER_SITE_SUBDIR= 3/i386/os/Fedora/RPMS 3/SRPMS - -.if defined(PACKAGE_BUILDING) -SRC_DISTFILES+= audiofile-${PORTVERSION}-1.src.rpm -ALWAYS_KEEP_DISTFILES= yes -.endif +DISTNAME= audiofile-${PORTVERSION}-1 MAINTAINER= freebsd-emulation@FreeBSD.org COMMENT= RPM of audiofile -RPM_SET= audiofile-${PORTVERSION}-1.${ARCH}.rpm +USE_LINUX_RPM= yes +LINUX_DIST_VER= 3 +INSTALLS_SHLIB= yes +BRANDELF_DIRS= usr/bin +PLIST= pkg-plist.${LINUX_RPM_ARCH} -.include "../../x11-toolkits/linux-gtk/Makefile" +.include diff --git a/audio/linux-f10-libaudiofile/distinfo.alpha b/audio/linux-f10-libaudiofile/distinfo.alpha deleted file mode 100644 index f9522b40aba4..000000000000 --- a/audio/linux-f10-libaudiofile/distinfo.alpha +++ /dev/null @@ -1,2 +0,0 @@ -MD5 (rpm/audiofile-0.1.11-1.alpha.rpm) = 852a9656ac61aec99c7a7936b0249a9d -SIZE (rpm/audiofile-0.1.11-1.alpha.rpm) = 166874 diff --git a/audio/linux-f10-libaudiofile/distinfo.i386 b/audio/linux-f10-libaudiofile/distinfo.i386 index 32c84f559622..8b05fb77044d 100644 --- a/audio/linux-f10-libaudiofile/distinfo.i386 +++ b/audio/linux-f10-libaudiofile/distinfo.i386 @@ -1,6 +1,6 @@ -MD5 (rpm/audiofile-0.2.6-1.i386.rpm) = de7720157ee9f32ab5115c3a6c5c7df0 -SHA256 (rpm/audiofile-0.2.6-1.i386.rpm) = 170a36b5156e78b06dde42b6b1ed71546801ae048c9d1143863cec9be787d0c3 -SIZE (rpm/audiofile-0.2.6-1.i386.rpm) = 101557 -MD5 (rpm/audiofile-0.2.6-1.src.rpm) = 62a1dce5af78fa9d9d91e3767c722db5 -SHA256 (rpm/audiofile-0.2.6-1.src.rpm) = 7c44918e119b1eb69064a5ffd0d1fe84c1c8d5235eb9df3ae9b7f167be96cd4b -SIZE (rpm/audiofile-0.2.6-1.src.rpm) = 285599 +MD5 (rpm/i386/fedora/3/audiofile-0.2.6-1.i386.rpm) = de7720157ee9f32ab5115c3a6c5c7df0 +SHA256 (rpm/i386/fedora/3/audiofile-0.2.6-1.i386.rpm) = 170a36b5156e78b06dde42b6b1ed71546801ae048c9d1143863cec9be787d0c3 +SIZE (rpm/i386/fedora/3/audiofile-0.2.6-1.i386.rpm) = 101557 +MD5 (rpm/i386/fedora/3/audiofile-0.2.6-1.src.rpm) = 62a1dce5af78fa9d9d91e3767c722db5 +SHA256 (rpm/i386/fedora/3/audiofile-0.2.6-1.src.rpm) = 7c44918e119b1eb69064a5ffd0d1fe84c1c8d5235eb9df3ae9b7f167be96cd4b +SIZE (rpm/i386/fedora/3/audiofile-0.2.6-1.src.rpm) = 285599 diff --git a/audio/linux-f10-libaudiofile/pkg-plist.alpha b/audio/linux-f10-libaudiofile/pkg-plist.alpha deleted file mode 100644 index 3dd95ab74feb..000000000000 --- a/audio/linux-f10-libaudiofile/pkg-plist.alpha +++ /dev/null @@ -1,28 +0,0 @@ -usr/bin/sfconvert -usr/bin/sfinfo -usr/lib/libaudiofile.so.0.0.0 -usr/share/doc/audiofile-0.1.11/COPYING -usr/share/doc/audiofile-0.1.11/ChangeLog -usr/share/doc/audiofile-0.1.11/README -usr/share/doc/audiofile-0.1.11/TODO -usr/share/doc/audiofile-0.1.11/docs/Makefile -usr/share/doc/audiofile-0.1.11/docs/Makefile.am -usr/share/doc/audiofile-0.1.11/docs/Makefile.in -usr/share/doc/audiofile-0.1.11/docs/afCloseFile -usr/share/doc/audiofile-0.1.11/docs/afGetFrameSize -usr/share/doc/audiofile-0.1.11/docs/afGetTrackBytes -usr/share/doc/audiofile-0.1.11/docs/afIntro -usr/share/doc/audiofile-0.1.11/docs/afNewFileSetup -usr/share/doc/audiofile-0.1.11/docs/afOpenFile -usr/share/doc/audiofile-0.1.11/docs/afQuery -usr/share/doc/audiofile-0.1.11/docs/afReadFrames -usr/share/doc/audiofile-0.1.11/docs/afReadMisc -usr/share/doc/audiofile-0.1.11/docs/afSeekFrame -usr/share/doc/audiofile-0.1.11/docs/afSetErrorHandler -usr/share/doc/audiofile-0.1.11/docs/afSetVirtualByteOrder -usr/share/doc/audiofile-0.1.11/docs/afWriteFrames -usr/share/doc/audiofile-0.1.11/docs/sfconvert -usr/share/doc/audiofile-0.1.11/docs/sfinfo -usr/lib/libaudiofile.so.0 -@dirrm usr/share/doc/audiofile-0.1.11/docs -@dirrm usr/share/doc/audiofile-0.1.11 -- cgit