2000-08-25 09:08:01 +00:00
|
|
|
# New ports collection makefile for: svgalib
|
|
|
|
# Date created: 24 August 2000
|
2000-10-02 08:27:25 +00:00
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
2000-08-25 09:08:01 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= svgalib
|
2003-07-31 13:25:26 +00:00
|
|
|
PORTVERSION= 1.4.3
|
2004-07-30 07:58:12 +00:00
|
|
|
PORTREVISION= 4
|
2000-08-25 09:08:01 +00:00
|
|
|
CATEGORIES= graphics devel
|
|
|
|
MASTER_SITES= http://www.svgalib.org/
|
|
|
|
|
2004-08-27 08:46:33 +00:00
|
|
|
MAINTAINER= danfe@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= A low level console graphics library
|
2000-08-25 09:08:01 +00:00
|
|
|
|
|
|
|
USE_GMAKE= yes
|
|
|
|
INSTALLS_SHLIB= yes
|
2003-07-31 13:25:26 +00:00
|
|
|
MANCOMPRESSED= yes
|
2000-08-25 09:08:01 +00:00
|
|
|
|
2000-08-30 17:41:08 +00:00
|
|
|
ALL_TARGET= shared static
|
2000-08-25 09:08:01 +00:00
|
|
|
|
2003-01-14 13:58:23 +00:00
|
|
|
ONLY_FOR_ARCHS= i386
|
2002-05-17 08:34:04 +00:00
|
|
|
|
2000-09-05 12:14:41 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 400000
|
2000-10-02 08:27:25 +00:00
|
|
|
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})
|
2003-07-31 13:25:26 +00:00
|
|
|
MAN${i}!= ${CAT} ${FILESDIR}/man${i}
|
2000-09-05 12:14:41 +00:00
|
|
|
.endif
|
2000-10-02 08:27:25 +00:00
|
|
|
.endfor
|
2000-09-05 12:14:41 +00:00
|
|
|
|
2000-08-25 09:08:01 +00:00
|
|
|
pre-patch:
|
2002-11-05 00:26:28 +00:00
|
|
|
for file in ${WRKSRC}/utils/gtf/*.h; do \
|
|
|
|
${TR} -d '\015' < $${file} > $${file}.new; \
|
|
|
|
${MV} $${file}.new $${file}; \
|
|
|
|
done
|
2000-08-30 17:41:08 +00:00
|
|
|
${MKDIR} ${WRKSRC}/include/linux
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${MKDIR} ${PREFIX}/include/linux
|
|
|
|
cd ${WRKSRC}/include/linux && \
|
|
|
|
${INSTALL_DATA} keyboard.h kd.h ${PREFIX}/include/linux
|
2000-08-25 09:08:01 +00:00
|
|
|
|
2000-09-05 12:14:41 +00:00
|
|
|
.include <bsd.port.post.mk>
|