blob: ed2afd19ebed9ce4ea72c5506659e4f15e6a702b (
plain)
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
41
42
43
44
45
46
47
48
49
|
# New ports collection makefile for: svgalib
# Date created: 24 August 2000
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= svgalib
PORTVERSION= 1.4.3
PORTREVISION= 1
CATEGORIES= graphics devel
MASTER_SITES= http://www.svgalib.org/
MAINTAINER= danfe@regency.nsu.ru
COMMENT= A low level console graphics library
USE_GMAKE= yes
INSTALLS_SHLIB= yes
MANCOMPRESSED= yes
ALL_TARGET= shared static
ONLY_FOR_ARCHS= i386
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 400000
BROKEN= "3.* isn't supported - please upgrade to use the port"
.endif
.for i in 1 2 3 4 5 6 7 8 9
.if exists(${FILESDIR}/man${i})
MAN${i}!= ${CAT} ${FILESDIR}/man${i}
.endif
.endfor
pre-patch:
for file in ${WRKSRC}/utils/gtf/*.h; do \
${TR} -d '\015' < $${file} > $${file}.new; \
${MV} $${file}.new $${file}; \
done
${MKDIR} ${WRKSRC}/include/linux
post-install:
${MKDIR} ${PREFIX}/include/linux
cd ${WRKSRC}/include/linux && \
${INSTALL_DATA} keyboard.h kd.h ${PREFIX}/include/linux
.include <bsd.port.post.mk>
|