aboutsummaryrefslogtreecommitdiff
path: root/devel/linux-sdl12/Makefile
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2006-06-26 22:09:55 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2006-06-26 22:09:55 +0000
commitb69c6bf55f4c0dd923d0208c4ee38ab7408ab965 (patch)
tree47e6e209198382b4aa6f42b5aca7a048283fff16 /devel/linux-sdl12/Makefile
parent2e4cba834775867c975b3ce1c57f09dc2a31d88d (diff)
downloadports-b69c6bf55f4c0dd923d0208c4ee38ab7408ab965.tar.gz
ports-b69c6bf55f4c0dd923d0208c4ee38ab7408ab965.zip
Notes
Diffstat (limited to 'devel/linux-sdl12/Makefile')
-rw-r--r--devel/linux-sdl12/Makefile44
1 files changed, 8 insertions, 36 deletions
diff --git a/devel/linux-sdl12/Makefile b/devel/linux-sdl12/Makefile
index dcaa16d1e12e..4319e01b9f98 100644
--- a/devel/linux-sdl12/Makefile
+++ b/devel/linux-sdl12/Makefile
@@ -7,50 +7,22 @@
#
PORTNAME= sdl
-PORTVERSION= 1.2.5
-PORTREVISION= 2
+PORTVERSION= 1.2.10
CATEGORIES= devel linux
MASTER_SITES= http://www.libsdl.org/release/ \
ftp://ftp.icm.edu.pl/vol/rzm9/linux-pld/pool/s/SDL/
-PKGNAMEPREFIX= linux-
-DISTNAME= ${PORTNAME:U}-${PORTVERSION:S/.1$/-1/}-1.${MACHINE_ARCH}
-EXTRACT_SUFX= .rpm
-EXTRACT_ONLY=
+DISTNAME= ${PORTNAME:U}-${PORTVERSION:S/.1$/-1/}-1
MAINTAINER= freebsd-emulation@FreeBSD.org
COMMENT= Cross-platform multi-media development API (linux version)
-BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
-
-USE_LINUX= yes
-USE_LINUX_PREFIX= yes
+USE_LINUX_RPM= 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
-NO_BUILD= yes
-NO_FILTER_SHLIBS= yes
-PLIST= ${MASTERDIR}/pkg-plist.${MACHINE_ARCH}
-MD5_FILE= ${MASTERDIR}/distinfo.${MACHINE_ARCH}
-
-DBPATH= /var/lib/rpm
-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}
+PLIST= ${MASTERDIR}/pkg-plist.${LINUX_RPM_ARCH}
+PLIST_SUB+= SDLVER=${PORTVERSION}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>