aboutsummaryrefslogtreecommitdiffstats
path: root/devel/linux-allegro/Makefile
blob: a310ff14145b08c7252d7b67c0f1a7c07b075d76 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# New ports collection makefile for:    linux-allegro
# Date created:             18 Nov 2003
# Whom:                 Pav Lucistnik <pav@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   allegro
PORTVERSION=    4.0.3
PORTREVISION=   1
CATEGORIES= devel linux
MASTER_SITES=   http://membres.lycos.fr/ebotcazou/allegro/
PKGNAMEPREFIX=  linux-
DISTNAME=   ${PORTNAME}-${PORTVERSION}-1.${MACHINE_ARCH}
EXTRACT_SUFX=   .rpm
EXTRACT_ONLY=

MAINTAINER= freebsd-emulation@FreeBSD.org
COMMENT=    Cross-platform game programming library (linux version)

USE_LINUX?=     yes
USE_LINUX_PREFIX=   yes
LDCONFIG_LINUX= ${LINUXBASE}/sbin/ldconfig

ONLY_FOR_ARCHS= i386
DIST_SUBDIR=    rpm
NO_BUILD=   yes
NO_FILTER_SHLIBS=   yes

DBPATH=     /var/lib/rpm
RPMFLAGS=   --ignoreos --root ${PREFIX} --dbpath ${DBPATH} \
        --nodeps --replacepkgs
RPMDIR=     ${DISTDIR}/${DIST_SUBDIR}

do-install:
    @${PREFIX}/bin/rpm -U ${RPMFLAGS} ${RPMDIR}/${DISTFILES}
    @${LDCONFIG_LINUX}
    @${RMDIR} ${PREFIX}/var/tmp

.include <bsd.port.mk>