2000-08-25 11:08:01 +02:00
|
|
|
# New ports collection makefile for: svgalib
|
|
|
|
# Date created: 24 August 2000
|
2000-10-02 10:27:25 +02:00
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
2000-08-25 11:08:01 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= svgalib
|
2003-07-31 15:25:26 +02:00
|
|
|
PORTVERSION= 1.4.3
|
2005-07-29 08:21:15 +02:00
|
|
|
PORTREVISION= 5
|
2000-08-25 11:08:01 +02:00
|
|
|
CATEGORIES= graphics devel
|
|
|
|
MASTER_SITES= http://www.svgalib.org/
|
|
|
|
|
2004-08-27 10:46:33 +02:00
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A low level console graphics library
|
2000-08-25 11:08:01 +02:00
|
|
|
|
|
|
|
USE_GMAKE= yes
|
2007-02-07 18:06:01 +01:00
|
|
|
USE_LDCONFIG= yes
|
2003-07-31 15:25:26 +02:00
|
|
|
MANCOMPRESSED= yes
|
2000-08-25 11:08:01 +02:00
|
|
|
|
2000-08-30 19:41:08 +02:00
|
|
|
ALL_TARGET= shared static
|
2000-08-25 11:08:01 +02:00
|
|
|
|
2003-01-14 14:58:23 +01:00
|
|
|
ONLY_FOR_ARCHS= i386
|
2002-05-17 10:34:04 +02:00
|
|
|
|
2005-07-30 13:52:40 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2000-10-02 10:27:25 +02:00
|
|
|
.for i in 1 2 3 4 5 6 7 8 9
|
|
|
|
.if exists(${FILESDIR}/man${i})
|
2003-07-31 15:25:26 +02:00
|
|
|
MAN${i}!= ${CAT} ${FILESDIR}/man${i}
|
2000-09-05 14:14:41 +02:00
|
|
|
.endif
|
2000-10-02 10:27:25 +02:00
|
|
|
.endfor
|
2000-09-05 14:14:41 +02:00
|
|
|
|
2006-10-04 02:02:05 +02:00
|
|
|
pre-patch: .SILENT
|
2002-11-05 01:26:28 +01:00
|
|
|
for file in ${WRKSRC}/utils/gtf/*.h; do \
|
|
|
|
${TR} -d '\015' < $${file} > $${file}.new; \
|
|
|
|
${MV} $${file}.new $${file}; \
|
|
|
|
done
|
2000-08-30 19:41:08 +02:00
|
|
|
${MKDIR} ${WRKSRC}/include/linux
|
2006-10-04 02:02:05 +02:00
|
|
|
# Fix for GCC 4.1
|
|
|
|
${REINPLACE_CMD} '30d' ${WRKSRC}/src/vgabg.h
|
|
|
|
${REINPLACE_CMD} -e 's,^ (unsigned [[:alpha:]]*),,' \
|
|
|
|
${WRKSRC}/src/apm.c
|
2000-08-30 19:41:08 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${MKDIR} ${PREFIX}/include/linux
|
|
|
|
cd ${WRKSRC}/include/linux && \
|
|
|
|
${INSTALL_DATA} keyboard.h kd.h ${PREFIX}/include/linux
|
2000-08-25 11:08:01 +02:00
|
|
|
|
2005-07-30 13:52:40 +02:00
|
|
|
.include <bsd.port.post.mk>
|