freebsd-ports/x11-toolkits/linux-f8-gtk/Makefile
Mario Sergio Fujikawa Ferreira 328b6db785 After repo copy from graphics category to newly create multimedia
one, update all appropriate references (*_DEPENDS, comments, etc):

ports/graphics/libfame		-->	ports/multimedia/libfame
ports/graphics/libquicktime	-->	ports/multimedia/libquicktime
ports/graphics/mpeg		-->	ports/multimedia/mpeg
ports/graphics/mpeg_encode	-->	ports/multimedia/mpeg_encode
ports/graphics/mpeg_play	-->	ports/multimedia/mpeg_play
ports/graphics/mtv		-->	ports/multimedia/mtv
ports/graphics/smpeg		-->	ports/multimedia/smpeg
ports/graphics/totem		-->	ports/multimedia/totem
ports/graphics/transcode	-->	ports/multimedia/transcode
ports/graphics/xanim		-->	ports/multimedia/xanim
ports/graphics/xmps		-->	ports/multimedia/xmps

Repo copied by:		cvs (joe)
Approved by:		portmgr (self & no objections)
2003-04-04 05:34:50 +00:00

58 lines
1.6 KiB
Makefile

# New ports collection makefile for: linux-gtk
# Date created: 8 April 2000
# Whom: sada@FreeBSD.org
# Based on: emulators/linux_base by marcel@FreeBSD.org
# & multimedia/xmovie by sanpei@sanpei.org
#
# $FreeBSD$
#
PORTNAME?= gtk
PORTVERSION?= 1.2
PORTREVISION?= 2
CATEGORIES?= x11-toolkits linux
MASTER_SITES?= ${RPM_MIRRORS:S/__DIR__/${STDDIR}/g}
PKGNAMEPREFIX= linux-
DISTFILES= ${RPM_SET}
MAINTAINER?= ports@FreeBSD.org
COMMENT?= RPM of the Gtk lib
BUILD_DEPENDS= rpm:${PORTSDIR}/archivers/rpm
USE_LINUX_PREFIX= yes
ONLY_FOR_ARCHS= i386 alpha
DIST_SUBDIR= rpm
EXTRACT_ONLY=
NO_BUILD= yes
NO_FILTER_SHLIBS= yes
PLIST= ${PKGDIR}/pkg-plist.${MACHINE_ARCH}
MD5_FILE= ${MASTERDIR}/distinfo.${MACHINE_ARCH}
# Let's avoid hardcoding 'en' as the language.
LANG= en
# Set the version of linux_base
BASEVERSION= 7.1
RPM_MIRRORS= \
ftp://ftp.redhat.com/pub/redhat/__DIR__/ \
ftp://ftp.nluug.nl/site/ftp.redhat.com/redhat/__DIR__/ \
ftp://ftp.mirror.ac.uk/sites/ftp.redhat.com/pub/redhat/__DIR__/
STDDIR= linux/${BASEVERSION}/${LANG}/os/${MACHINE_ARCH}/RedHat/RPMS
UPDDIR= linux/updates/${BASEVERSION}/${LANG}/os/${MACHINE_ARCH}
.if (${MACHINE_ARCH} == "i386")
RPM_SET?= gtk+-1.2.9-4.${MACHINE_ARCH}.rpm
.elif (${MACHINE_ARCH} == "alpha")
RPM_SET?= gtk+-1.2.9-4.${MACHINE_ARCH}.rpm
.endif
DBPATH= /var/lib/rpm
RPMFLAGS= --ignoreos --root ${PREFIX} --dbpath ${DBPATH} \
--nodeps --replacepkgs
RPMDIR= ${DISTDIR}/${DIST_SUBDIR}
do-install:
@for R in ${RPM_SET}; do \
${ECHO} $$R; \
rpm -U ${RPMFLAGS} ${RPMDIR}/$$R || true ; \
done
.include <bsd.port.mk>