summaryrefslogtreecommitdiffstats
path: root/graphics/acidwarp/Makefile
blob: 26a3085835c731341c163cc3900adbc3eaaa7143 (plain)
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
# Created by: trevor
# $FreeBSD$

PORTNAME=	acidwarp
PORTVERSION=	1.0
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR=	apps/graphics/hacks/svgalib

MAINTAINER=	swills@FreeBSD.org
COMMENT=	SVGAlib demo which displays trippy mathematical images in cycling colors

LIB_DEPENDS=	libvga.so:${PORTSDIR}/graphics/svgalib

ONLY_FOR_ARCHS=	i386
ALL_TARGET=	${PORTNAME}
WRKSRC=		${WRKDIR}/${PORTNAME}

PLIST_FILES=	bin/acidwarp
PORTDOCS=	README TODO Thanks

OPTIONS_DEFINE=	SETUID DOCS
OPTIONS_DEFAULT=	SETUID
SETUID_DESC=	Install with setuid bit set

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MSETUID}
BINMODE=	4555
.endif

post-extract:
	${RM} -f ${WRKSRC}/acidwarp

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/acidwarp ${STAGEDIR}${PREFIX}/bin
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud