2013-01-27 06:55:20 +01:00
|
|
|
# Created by: trevor
|
2000-10-22 13:47:59 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= linplasma
|
|
|
|
PORTVERSION= 1.0
|
2007-07-02 18:07:07 +02:00
|
|
|
PORTREVISION= 1
|
2000-10-22 13:47:59 +02:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SUNSITE}
|
|
|
|
MASTER_SITE_SUBDIR= apps/graphics/hacks/svgalib
|
|
|
|
|
2005-01-14 12:11:37 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-01 15:34:33 +01:00
|
|
|
COMMENT= Sinus plasma, an SVGAlib demo
|
2000-10-22 13:47:59 +02:00
|
|
|
|
|
|
|
LIB_DEPENDS= vga.1:${PORTSDIR}/graphics/svgalib
|
|
|
|
|
2003-10-12 07:12:46 +02:00
|
|
|
ONLY_FOR_ARCHS= i386
|
2007-07-02 18:07:07 +02:00
|
|
|
|
|
|
|
ALL_TARGET= ${PORTNAME}
|
2000-10-22 13:47:59 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
2007-07-02 18:07:07 +02:00
|
|
|
PLIST_FILES= bin/linplasma
|
|
|
|
PORTDOCS= README
|
2000-10-22 13:47:59 +02:00
|
|
|
|
2013-09-20 20:35:44 +02:00
|
|
|
NO_STAGE= yes
|
2000-10-22 13:47:59 +02:00
|
|
|
post-patch:
|
2007-07-02 18:07:07 +02:00
|
|
|
@${REINPLACE_CMD} -e "s:PI:M_PI:" ${WRKSRC}/linplasma.c
|
2007-07-02 17:55:31 +02:00
|
|
|
@${REINPLACE_CMD} -e \
|
|
|
|
"s:(int)palptr = (int:palptr = (unsigned char *:" \
|
|
|
|
${WRKSRC}/linplasma.c
|
2000-10-22 13:47:59 +02:00
|
|
|
|
|
|
|
do-install:
|
2007-07-02 18:07:07 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/linplasma ${PREFIX}/bin
|
|
|
|
${CHMOD} +s ${PREFIX}/bin/linplasma
|
2000-10-22 13:47:59 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2007-07-02 18:07:07 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
2000-10-22 13:47:59 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|