1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00
freebsd-ports/graphics/linplasma/Makefile
Mathieu Arnold 4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00

38 lines
814 B
Makefile

# Created by: trevor
# $FreeBSD$
PORTNAME= linplasma
PORTVERSION= 1.0
PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= SUNSITE/apps/graphics/hacks/svgalib
MAINTAINER= ports@FreeBSD.org
COMMENT= Sinus plasma, an SVGAlib demo
LIB_DEPENDS= libvga.so:graphics/svgalib
ONLY_FOR_ARCHS= i386
ALL_TARGET= ${PORTNAME}
WRKSRC= ${WRKDIR}/${PORTNAME}
PLIST_FILES= "@(root,,4755) bin/linplasma"
PORTDOCS= README
OPTIONS_DEFINE= DOCS
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 ${STAGEDIR}${PREFIX}/bin
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>