blob: 73c4714de01a42f72638f3ecfbcc8f5db35d70cc (
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
|
PORTNAME= acidwarp-sdl
PORTVERSION= g2020062101
CATEGORIES= graphics
MAINTAINER= swills@FreeBSD.org
COMMENT= Eye candy program which displays various patterns
BUILD_DEPENDS= convert:graphics/ImageMagick7
USES= cmake sdl
USE_SDL= sdl2
USE_GITHUB= yes
GH_ACCOUNT= dreamlayers
GH_PROJECT= acidwarp
GH_TAGNAME= 698c4e1
# Fix build on recent current (clang11)
CFLAGS+= -fcommon
PORTSCOUT= skipv:svgalib-port,original,old-sdl-port
PLIST_FILES= bin/acidwarp \
share/applications/acidwarp.desktop \
share/pixmaps/acidwarp.png
post-patch:
${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/acidwarp.desktop
do-install:
${STRIP_CMD} ${WRKSRC}/bin/acidwarp
${INSTALL_PROGRAM} ${WRKSRC}/bin/acidwarp ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/acidwarp.desktop ${STAGEDIR}${PREFIX}/share/applications
${INSTALL_DATA} ${WRKSRC}/acidwarp.png ${STAGEDIR}${PREFIX}/share/pixmaps
.include <bsd.port.mk>
|