mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
o change Makefile to use bsd.linux-rpm.mk;
o update to new version 1.2.10; o drop alpha support. Approved by: netchild (mentor)
This commit is contained in:
parent
2e4cba8347
commit
b69c6bf55f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=166404
@ -7,50 +7,22 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= sdl
|
PORTNAME= sdl
|
||||||
PORTVERSION= 1.2.5
|
PORTVERSION= 1.2.10
|
||||||
PORTREVISION= 2
|
|
||||||
CATEGORIES= devel linux
|
CATEGORIES= devel linux
|
||||||
MASTER_SITES= http://www.libsdl.org/release/ \
|
MASTER_SITES= http://www.libsdl.org/release/ \
|
||||||
ftp://ftp.icm.edu.pl/vol/rzm9/linux-pld/pool/s/SDL/
|
ftp://ftp.icm.edu.pl/vol/rzm9/linux-pld/pool/s/SDL/
|
||||||
PKGNAMEPREFIX= linux-
|
DISTNAME= ${PORTNAME:U}-${PORTVERSION:S/.1$/-1/}-1
|
||||||
DISTNAME= ${PORTNAME:U}-${PORTVERSION:S/.1$/-1/}-1.${MACHINE_ARCH}
|
|
||||||
EXTRACT_SUFX= .rpm
|
|
||||||
EXTRACT_ONLY=
|
|
||||||
|
|
||||||
MAINTAINER= freebsd-emulation@FreeBSD.org
|
MAINTAINER= freebsd-emulation@FreeBSD.org
|
||||||
COMMENT= Cross-platform multi-media development API (linux version)
|
COMMENT= Cross-platform multi-media development API (linux version)
|
||||||
|
|
||||||
BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
|
USE_LINUX_RPM= yes
|
||||||
|
|
||||||
USE_LINUX= yes
|
|
||||||
USE_LINUX_PREFIX= yes
|
|
||||||
USE_XLIB= yes
|
USE_XLIB= yes
|
||||||
LDCONFIG_LINUX= ${LINUXBASE}/sbin/ldconfig
|
INSTALL_SHLIB= yes
|
||||||
|
|
||||||
ONLY_FOR_ARCHS= i386 alpha amd64
|
ONLY_FOR_ARCHS= i386 amd64
|
||||||
DIST_SUBDIR= rpm
|
DIST_SUBDIR= rpm
|
||||||
NO_BUILD= yes
|
PLIST= ${MASTERDIR}/pkg-plist.${LINUX_RPM_ARCH}
|
||||||
NO_FILTER_SHLIBS= yes
|
PLIST_SUB+= SDLVER=${PORTVERSION}
|
||||||
PLIST= ${MASTERDIR}/pkg-plist.${MACHINE_ARCH}
|
|
||||||
MD5_FILE= ${MASTERDIR}/distinfo.${MACHINE_ARCH}
|
|
||||||
|
|
||||||
DBPATH= /var/lib/rpm
|
.include <bsd.port.mk>
|
||||||
RPMFLAGS= --ignoreos --root ${PREFIX} --dbpath ${DBPATH} \
|
|
||||||
--nodeps --replacepkgs
|
|
||||||
RPMDIR= ${DISTDIR}/${DIST_SUBDIR}
|
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
|
||||||
|
|
||||||
.if ${ARCH} == "amd64"
|
|
||||||
MACHINE_ARCH= i386
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${ARCH} == "alpha"
|
|
||||||
BROKEN= "Unfetchable"
|
|
||||||
.endif
|
|
||||||
|
|
||||||
do-install:
|
|
||||||
@${LOCALBASE}/bin/rpm -U ${RPMFLAGS} ${RPMDIR}/${DISTFILES}
|
|
||||||
@${LDCONFIG_LINUX}
|
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
|
||||||
|
@ -1 +0,0 @@
|
|||||||
MD5 (rpm/SDL-1.2.5-1.alpha.rpm) = 32449f9682e0b34c09421859d21b5fce
|
|
@ -1 +1,6 @@
|
|||||||
MD5 (rpm/SDL-1.2.5-1.i386.rpm) = 60fc1cc75098167f5d836b0af1ba25c8
|
MD5 (rpm/SDL-1.2.10-1.i386.rpm) = 0c3fbd54bab5e9443bd113c734be54a4
|
||||||
|
SHA256 (rpm/SDL-1.2.10-1.i386.rpm) = dd214dda420eb3240b38de0f70d2d38a1b93249215ce5dc99844d9178f74dd07
|
||||||
|
SIZE (rpm/SDL-1.2.10-1.i386.rpm) = 202187
|
||||||
|
MD5 (rpm/SDL-1.2.10-1.src.rpm) = 3b5bf21e881e0e2a495371ed66044150
|
||||||
|
SHA256 (rpm/SDL-1.2.10-1.src.rpm) = 52d1b333bff6dfd8d962c71a23a21afa0594ccf2e9a0ae7048ed5eecd2553dbc
|
||||||
|
SIZE (rpm/SDL-1.2.10-1.src.rpm) = 2797820
|
||||||
|
@ -1,8 +0,0 @@
|
|||||||
usr/doc/SDL-1.2.5/BUGS
|
|
||||||
usr/doc/SDL-1.2.5/COPYING
|
|
||||||
usr/doc/SDL-1.2.5/CREDITS
|
|
||||||
usr/doc/SDL-1.2.5/README-SDL.txt
|
|
||||||
usr/lib/libSDL-1.1.so.0
|
|
||||||
usr/lib/libSDL-1.2.so.0
|
|
||||||
usr/lib/libSDL-1.2.so.0.0.5
|
|
||||||
@dirrm usr/doc/SDL-1.2.5
|
|
@ -1,9 +1,9 @@
|
|||||||
usr/doc/SDL-1.2.5/BUGS
|
usr/share/doc/SDL-%%SDLVER%%/BUGS
|
||||||
usr/doc/SDL-1.2.5/COPYING
|
usr/share/doc/SDL-%%SDLVER%%/COPYING
|
||||||
usr/doc/SDL-1.2.5/CREDITS
|
usr/share/doc/SDL-%%SDLVER%%/CREDITS
|
||||||
usr/doc/SDL-1.2.5/README-SDL.txt
|
usr/share/doc/SDL-%%SDLVER%%/README-SDL.txt
|
||||||
usr/lib/libSDL-1.1.so.0
|
usr/lib/libSDL-1.1.so.0
|
||||||
usr/lib/libSDL-1.2.so.0
|
usr/lib/libSDL-1.2.so.0
|
||||||
usr/lib/libSDL-1.2.so.0.0.5
|
usr/lib/libSDL-1.2.so.0.7.3
|
||||||
@dirrm usr/doc/SDL-1.2.5
|
@dirrm usr/share/doc/SDL-%%SDLVER%%
|
||||||
@dirrmtry usr/doc
|
@dirrmtry usr/doc
|
||||||
|
@ -7,50 +7,22 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= sdl
|
PORTNAME= sdl
|
||||||
PORTVERSION= 1.2.5
|
PORTVERSION= 1.2.10
|
||||||
PORTREVISION= 2
|
|
||||||
CATEGORIES= devel linux
|
CATEGORIES= devel linux
|
||||||
MASTER_SITES= http://www.libsdl.org/release/ \
|
MASTER_SITES= http://www.libsdl.org/release/ \
|
||||||
ftp://ftp.icm.edu.pl/vol/rzm9/linux-pld/pool/s/SDL/
|
ftp://ftp.icm.edu.pl/vol/rzm9/linux-pld/pool/s/SDL/
|
||||||
PKGNAMEPREFIX= linux-
|
DISTNAME= ${PORTNAME:U}-${PORTVERSION:S/.1$/-1/}-1
|
||||||
DISTNAME= ${PORTNAME:U}-${PORTVERSION:S/.1$/-1/}-1.${MACHINE_ARCH}
|
|
||||||
EXTRACT_SUFX= .rpm
|
|
||||||
EXTRACT_ONLY=
|
|
||||||
|
|
||||||
MAINTAINER= freebsd-emulation@FreeBSD.org
|
MAINTAINER= freebsd-emulation@FreeBSD.org
|
||||||
COMMENT= Cross-platform multi-media development API (linux version)
|
COMMENT= Cross-platform multi-media development API (linux version)
|
||||||
|
|
||||||
BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
|
USE_LINUX_RPM= yes
|
||||||
|
|
||||||
USE_LINUX= yes
|
|
||||||
USE_LINUX_PREFIX= yes
|
|
||||||
USE_XLIB= yes
|
USE_XLIB= yes
|
||||||
LDCONFIG_LINUX= ${LINUXBASE}/sbin/ldconfig
|
INSTALL_SHLIB= yes
|
||||||
|
|
||||||
ONLY_FOR_ARCHS= i386 alpha amd64
|
ONLY_FOR_ARCHS= i386 amd64
|
||||||
DIST_SUBDIR= rpm
|
DIST_SUBDIR= rpm
|
||||||
NO_BUILD= yes
|
PLIST= ${MASTERDIR}/pkg-plist.${LINUX_RPM_ARCH}
|
||||||
NO_FILTER_SHLIBS= yes
|
PLIST_SUB+= SDLVER=${PORTVERSION}
|
||||||
PLIST= ${MASTERDIR}/pkg-plist.${MACHINE_ARCH}
|
|
||||||
MD5_FILE= ${MASTERDIR}/distinfo.${MACHINE_ARCH}
|
|
||||||
|
|
||||||
DBPATH= /var/lib/rpm
|
.include <bsd.port.mk>
|
||||||
RPMFLAGS= --ignoreos --root ${PREFIX} --dbpath ${DBPATH} \
|
|
||||||
--nodeps --replacepkgs
|
|
||||||
RPMDIR= ${DISTDIR}/${DIST_SUBDIR}
|
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
|
||||||
|
|
||||||
.if ${ARCH} == "amd64"
|
|
||||||
MACHINE_ARCH= i386
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${ARCH} == "alpha"
|
|
||||||
BROKEN= "Unfetchable"
|
|
||||||
.endif
|
|
||||||
|
|
||||||
do-install:
|
|
||||||
@${LOCALBASE}/bin/rpm -U ${RPMFLAGS} ${RPMDIR}/${DISTFILES}
|
|
||||||
@${LDCONFIG_LINUX}
|
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
|
||||||
|
@ -1 +0,0 @@
|
|||||||
MD5 (rpm/SDL-1.2.5-1.alpha.rpm) = 32449f9682e0b34c09421859d21b5fce
|
|
@ -1 +1,6 @@
|
|||||||
MD5 (rpm/SDL-1.2.5-1.i386.rpm) = 60fc1cc75098167f5d836b0af1ba25c8
|
MD5 (rpm/SDL-1.2.10-1.i386.rpm) = 0c3fbd54bab5e9443bd113c734be54a4
|
||||||
|
SHA256 (rpm/SDL-1.2.10-1.i386.rpm) = dd214dda420eb3240b38de0f70d2d38a1b93249215ce5dc99844d9178f74dd07
|
||||||
|
SIZE (rpm/SDL-1.2.10-1.i386.rpm) = 202187
|
||||||
|
MD5 (rpm/SDL-1.2.10-1.src.rpm) = 3b5bf21e881e0e2a495371ed66044150
|
||||||
|
SHA256 (rpm/SDL-1.2.10-1.src.rpm) = 52d1b333bff6dfd8d962c71a23a21afa0594ccf2e9a0ae7048ed5eecd2553dbc
|
||||||
|
SIZE (rpm/SDL-1.2.10-1.src.rpm) = 2797820
|
||||||
|
@ -1,8 +0,0 @@
|
|||||||
usr/doc/SDL-1.2.5/BUGS
|
|
||||||
usr/doc/SDL-1.2.5/COPYING
|
|
||||||
usr/doc/SDL-1.2.5/CREDITS
|
|
||||||
usr/doc/SDL-1.2.5/README-SDL.txt
|
|
||||||
usr/lib/libSDL-1.1.so.0
|
|
||||||
usr/lib/libSDL-1.2.so.0
|
|
||||||
usr/lib/libSDL-1.2.so.0.0.5
|
|
||||||
@dirrm usr/doc/SDL-1.2.5
|
|
@ -1,9 +1,9 @@
|
|||||||
usr/doc/SDL-1.2.5/BUGS
|
usr/share/doc/SDL-%%SDLVER%%/BUGS
|
||||||
usr/doc/SDL-1.2.5/COPYING
|
usr/share/doc/SDL-%%SDLVER%%/COPYING
|
||||||
usr/doc/SDL-1.2.5/CREDITS
|
usr/share/doc/SDL-%%SDLVER%%/CREDITS
|
||||||
usr/doc/SDL-1.2.5/README-SDL.txt
|
usr/share/doc/SDL-%%SDLVER%%/README-SDL.txt
|
||||||
usr/lib/libSDL-1.1.so.0
|
usr/lib/libSDL-1.1.so.0
|
||||||
usr/lib/libSDL-1.2.so.0
|
usr/lib/libSDL-1.2.so.0
|
||||||
usr/lib/libSDL-1.2.so.0.0.5
|
usr/lib/libSDL-1.2.so.0.7.3
|
||||||
@dirrm usr/doc/SDL-1.2.5
|
@dirrm usr/share/doc/SDL-%%SDLVER%%
|
||||||
@dirrmtry usr/doc
|
@dirrmtry usr/doc
|
||||||
|
@ -7,50 +7,22 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= sdl
|
PORTNAME= sdl
|
||||||
PORTVERSION= 1.2.5
|
PORTVERSION= 1.2.10
|
||||||
PORTREVISION= 2
|
|
||||||
CATEGORIES= devel linux
|
CATEGORIES= devel linux
|
||||||
MASTER_SITES= http://www.libsdl.org/release/ \
|
MASTER_SITES= http://www.libsdl.org/release/ \
|
||||||
ftp://ftp.icm.edu.pl/vol/rzm9/linux-pld/pool/s/SDL/
|
ftp://ftp.icm.edu.pl/vol/rzm9/linux-pld/pool/s/SDL/
|
||||||
PKGNAMEPREFIX= linux-
|
DISTNAME= ${PORTNAME:U}-${PORTVERSION:S/.1$/-1/}-1
|
||||||
DISTNAME= ${PORTNAME:U}-${PORTVERSION:S/.1$/-1/}-1.${MACHINE_ARCH}
|
|
||||||
EXTRACT_SUFX= .rpm
|
|
||||||
EXTRACT_ONLY=
|
|
||||||
|
|
||||||
MAINTAINER= freebsd-emulation@FreeBSD.org
|
MAINTAINER= freebsd-emulation@FreeBSD.org
|
||||||
COMMENT= Cross-platform multi-media development API (linux version)
|
COMMENT= Cross-platform multi-media development API (linux version)
|
||||||
|
|
||||||
BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
|
USE_LINUX_RPM= yes
|
||||||
|
|
||||||
USE_LINUX= yes
|
|
||||||
USE_LINUX_PREFIX= yes
|
|
||||||
USE_XLIB= yes
|
USE_XLIB= yes
|
||||||
LDCONFIG_LINUX= ${LINUXBASE}/sbin/ldconfig
|
INSTALL_SHLIB= yes
|
||||||
|
|
||||||
ONLY_FOR_ARCHS= i386 alpha amd64
|
ONLY_FOR_ARCHS= i386 amd64
|
||||||
DIST_SUBDIR= rpm
|
DIST_SUBDIR= rpm
|
||||||
NO_BUILD= yes
|
PLIST= ${MASTERDIR}/pkg-plist.${LINUX_RPM_ARCH}
|
||||||
NO_FILTER_SHLIBS= yes
|
PLIST_SUB+= SDLVER=${PORTVERSION}
|
||||||
PLIST= ${MASTERDIR}/pkg-plist.${MACHINE_ARCH}
|
|
||||||
MD5_FILE= ${MASTERDIR}/distinfo.${MACHINE_ARCH}
|
|
||||||
|
|
||||||
DBPATH= /var/lib/rpm
|
.include <bsd.port.mk>
|
||||||
RPMFLAGS= --ignoreos --root ${PREFIX} --dbpath ${DBPATH} \
|
|
||||||
--nodeps --replacepkgs
|
|
||||||
RPMDIR= ${DISTDIR}/${DIST_SUBDIR}
|
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
|
||||||
|
|
||||||
.if ${ARCH} == "amd64"
|
|
||||||
MACHINE_ARCH= i386
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if ${ARCH} == "alpha"
|
|
||||||
BROKEN= "Unfetchable"
|
|
||||||
.endif
|
|
||||||
|
|
||||||
do-install:
|
|
||||||
@${LOCALBASE}/bin/rpm -U ${RPMFLAGS} ${RPMDIR}/${DISTFILES}
|
|
||||||
@${LDCONFIG_LINUX}
|
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
|
||||||
|
@ -1 +0,0 @@
|
|||||||
MD5 (rpm/SDL-1.2.5-1.alpha.rpm) = 32449f9682e0b34c09421859d21b5fce
|
|
@ -1 +1,6 @@
|
|||||||
MD5 (rpm/SDL-1.2.5-1.i386.rpm) = 60fc1cc75098167f5d836b0af1ba25c8
|
MD5 (rpm/SDL-1.2.10-1.i386.rpm) = 0c3fbd54bab5e9443bd113c734be54a4
|
||||||
|
SHA256 (rpm/SDL-1.2.10-1.i386.rpm) = dd214dda420eb3240b38de0f70d2d38a1b93249215ce5dc99844d9178f74dd07
|
||||||
|
SIZE (rpm/SDL-1.2.10-1.i386.rpm) = 202187
|
||||||
|
MD5 (rpm/SDL-1.2.10-1.src.rpm) = 3b5bf21e881e0e2a495371ed66044150
|
||||||
|
SHA256 (rpm/SDL-1.2.10-1.src.rpm) = 52d1b333bff6dfd8d962c71a23a21afa0594ccf2e9a0ae7048ed5eecd2553dbc
|
||||||
|
SIZE (rpm/SDL-1.2.10-1.src.rpm) = 2797820
|
||||||
|
@ -1,8 +0,0 @@
|
|||||||
usr/doc/SDL-1.2.5/BUGS
|
|
||||||
usr/doc/SDL-1.2.5/COPYING
|
|
||||||
usr/doc/SDL-1.2.5/CREDITS
|
|
||||||
usr/doc/SDL-1.2.5/README-SDL.txt
|
|
||||||
usr/lib/libSDL-1.1.so.0
|
|
||||||
usr/lib/libSDL-1.2.so.0
|
|
||||||
usr/lib/libSDL-1.2.so.0.0.5
|
|
||||||
@dirrm usr/doc/SDL-1.2.5
|
|
@ -1,9 +1,9 @@
|
|||||||
usr/doc/SDL-1.2.5/BUGS
|
usr/share/doc/SDL-%%SDLVER%%/BUGS
|
||||||
usr/doc/SDL-1.2.5/COPYING
|
usr/share/doc/SDL-%%SDLVER%%/COPYING
|
||||||
usr/doc/SDL-1.2.5/CREDITS
|
usr/share/doc/SDL-%%SDLVER%%/CREDITS
|
||||||
usr/doc/SDL-1.2.5/README-SDL.txt
|
usr/share/doc/SDL-%%SDLVER%%/README-SDL.txt
|
||||||
usr/lib/libSDL-1.1.so.0
|
usr/lib/libSDL-1.1.so.0
|
||||||
usr/lib/libSDL-1.2.so.0
|
usr/lib/libSDL-1.2.so.0
|
||||||
usr/lib/libSDL-1.2.so.0.0.5
|
usr/lib/libSDL-1.2.so.0.7.3
|
||||||
@dirrm usr/doc/SDL-1.2.5
|
@dirrm usr/share/doc/SDL-%%SDLVER%%
|
||||||
@dirrmtry usr/doc
|
@dirrmtry usr/doc
|
||||||
|
Loading…
Reference in New Issue
Block a user