aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/epplets/Makefile
blob: 5d0e03db5c126dfc1d43397d50ec02f2a8a1d2ee (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
46
# New ports collection makefile for:   epplets
# Date created:        18 October 1999
# Whom:                Yukihiro Nakai <nakai@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	epplets
PORTVERSION=	0.11
PORTREVISION=	1
CATEGORIES=	x11-wm
MASTER_SITES=	SF
MASTER_SITE_SUBDIR=	enlightenment

MAINTAINER=	gahr@FreeBSD.org
COMMENT=	A collection of Enlightenment dock applications

BUILD_DEPENDS=	e16:${PORTSDIR}/x11-wm/enlightenment
LIB_DEPENDS=	cdaudio.1:${PORTSDIR}/audio/libcdaudio
RUN_DEPENDS=	e16:${PORTSDIR}/x11-wm/enlightenment \
		import:${PORTSDIR}/graphics/ImageMagick

USE_XORG=	xext
USE_GNOME=	esound gnometarget
USE_GL=		glut
USE_GMAKE=	yes
USE_AUTOTOOLS=	libtool:15 autoconf:262
USE_LDCONFIG=	yes
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS=	--disable-auto-respawn

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 600000
BROKEN=	Does not compile on 5.x
.endif

post-patch:
	@${REINPLACE_CMD} -e 's|2.61|2.62|g' ${WRKSRC}/aclocal.m4
	@${REINPLACE_CMD} -e 's|<machine/soundcard\.h>|<sys/soundcard.h>|g' \
		${WRKSRC}/epplets/Emix.c
	@${REINPLACE_CMD} -e 's|<malloc\.h>|<stdlib.h>|g' \
		${WRKSRC}/epplets/mbox.c

.include <bsd.port.post.mk>