mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
438fca0964
- Portlint PR: ports/108232 Submitted by: rafan Approved by: maintainer timeout (danfe; 15 days)
50 lines
1.1 KiB
Makefile
50 lines
1.1 KiB
Makefile
# 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= 5
|
|
CATEGORIES= graphics devel
|
|
MASTER_SITES= http://www.svgalib.org/
|
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
|
COMMENT= A low level console graphics library
|
|
|
|
USE_GMAKE= yes
|
|
USE_LDCONFIG= yes
|
|
MANCOMPRESSED= yes
|
|
|
|
ALL_TARGET= shared static
|
|
|
|
ONLY_FOR_ARCHS= i386
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.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: .SILENT
|
|
for file in ${WRKSRC}/utils/gtf/*.h; do \
|
|
${TR} -d '\015' < $${file} > $${file}.new; \
|
|
${MV} $${file}.new $${file}; \
|
|
done
|
|
${MKDIR} ${WRKSRC}/include/linux
|
|
# Fix for GCC 4.1
|
|
${REINPLACE_CMD} '30d' ${WRKSRC}/src/vgabg.h
|
|
${REINPLACE_CMD} -e 's,^ (unsigned [[:alpha:]]*),,' \
|
|
${WRKSRC}/src/apm.c
|
|
|
|
post-install:
|
|
${MKDIR} ${PREFIX}/include/linux
|
|
cd ${WRKSRC}/include/linux && \
|
|
${INSTALL_DATA} keyboard.h kd.h ${PREFIX}/include/linux
|
|
|
|
.include <bsd.port.post.mk>
|