blob: 0bd2373539401bda9e19801760cbe2c35cd485b3 (
plain) (
blame)
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
|
# New ports collection makefile for: LinPlasma
# Date created: 2000-10-22
# Whom: Trevor Johnson <trevor@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= linplasma
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR= apps/graphics/hacks/svgalib
MAINTAINER= ports@FreeBSD.org
COMMENT= Sinus plasma, an SVGAlib demo
LIB_DEPENDS= vga.1:${PORTSDIR}/graphics/svgalib
ONLY_FOR_ARCHS= i386
ALL_TARGET= ${PORTNAME}
WRKSRC= ${WRKDIR}/${PORTNAME}
PLIST_FILES= bin/linplasma
PORTDOCS= README
post-patch:
@${REINPLACE_CMD} -e "s:PI:M_PI:" ${WRKSRC}/linplasma.c
@${REINPLACE_CMD} -e \
"s:(int)palptr = (int:palptr = (unsigned char *:" \
${WRKSRC}/linplasma.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/linplasma ${PREFIX}/bin
${CHMOD} +s ${PREFIX}/bin/linplasma
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>
|