aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/acidwarp/Makefile
blob: 0d1c5ca6f191dfb52839e7745774223be925d916 (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
42
43
44
45
# Created by: trevor
# $FreeBSD$

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

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

LIB_DEPENDS=    vga.1:${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

NO_STAGE=   yes
.include <bsd.port.options.mk>

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

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

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/acidwarp ${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
    ${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>