freebsd-ports/graphics/linux_glide/Makefile

35 lines
889 B
Makefile

# Created by: cracauer@cons.org "Martin Cracauer"
# $FreeBSD$
PORTNAME= glide
PORTVERSION= 2.4
PORTREVISION= 2
CATEGORIES= graphics linux
MASTER_SITES= http://www2.cons.org/freebsd-distfiles/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= cracauer
PKGNAMEPREFIX= linux_
DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}_2_4
MAINTAINER= ports@FreeBSD.org
COMMENT= Linux library implementing the GLIDE interface to 3dfx video cards
ONLY_FOR_ARCHS= i386
USE_LINUX_PREFIX=yes
USE_LINUX= yes
WRKSRC= ${WRKDIR}/Glide2.4
NO_STAGE= yes
do-build:
@zcat ${WRKSRC}/dist.tar.gz | \
(cd ${WRKSRC}; tar fx - lib include bin/test00)
do-install:
(cd ${WRKSRC} && ${INSTALL_DATA} lib/* ${PREFIX}/usr/lib/)
(cd ${WRKSRC} && ${INSTALL_DATA} include/* ${PREFIX}/usr/include)
(cd ${WRKSRC} && ${INSTALL_PROGRAM} bin/test00 \
${PREFIX}/usr/bin/test-glide)
-/compat/linux/sbin/ldconfig
.include <bsd.port.mk>