aboutsummaryrefslogtreecommitdiff
path: root/graphics/reallyslick/Makefile
blob: 512f264a6b0d08aff161074d5c877aab40b1b6d9 (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
# New ports collection makefile for:	reallyslick
# Date created:				24 Nov 2002
# Whom:					David Yeske <dyeske@yahoo.com>
#
# $FreeBSD$
#

PORTNAME=	reallyslick
PORTVERSION=	0.6.6
CATEGORIES=	graphics
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	rss-glx
DISTNAME=	rss_glx-${PORTVERSION}

MAINTAINER=	dyeske@yahoo.com
COMMENT=	OpenGL screensaver collection

BROKEN=		"Broken pkg-plist"

USE_X_PREFIX=	yes
USE_BZIP2=	yes
USE_MESA=	yes
USE_GMAKE=	yes
USE_REINPLACE=	yes
GNU_CONFIGURE=	yes

MAN1=	colorfire.1 cyclone.1 euphoria.1 fieldlines.1 flocks.1 \
	flux.1 helios.1 hufo_smoke.1 hufo_tunnel.1 lattice.1 \
	plasma.1 skyrocket.1 solarwinds.1 sundancer2.1

post-patch:
.for file in oglc_src/Makefile.in other_src/Makefile.in \
		reallyslick/c_src/Makefile.in reallyslick/cpp_src/Makefile.in
	@${REINPLACE_CMD} -E -e 's|(@LIBS@)|\1 -lXext|' ${WRKSRC}/${file}
.endfor
# fix lib detection
	@${REINPLACE_CMD} -E -e 's@^(LIBS.*-l(GL|MesaGL|GLU))@\1 -lXext@' \
		${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}

.include <bsd.port.mk>