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

PORTNAME=	epplets
PORTVERSION=	0.5
PORTREVISION=	1
CATEGORIES=	x11-wm
MASTER_SITES=	ftp://kde.planetmirror.com/pub/enlightenment/epplets/ \
		ftp://ftp.dti.ad.jp/pub/X/enlightenment/epplets/

DISTNAME=	epplet-base-${PORTVERSION}

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

LIB_DEPENDS=	gtop.1:${PORTSDIR}/devel/libgtop \
		epplet.1:${PORTSDIR}/x11-wm/libepplet
BUILD_DEPENDS=	enlightenment:${PORTSDIR}/x11-wm/enlightenment
RUN_DEPENDS=	import:${PORTSDIR}/graphics/ImageMagick

WRKSRC=		${WRKDIR}/Epplets-0.5

USE_REINPLACE=	yes
USE_X_PREFIX=	yes
INSTALLS_SHLIB=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--enable-fsstd
CONFIGURE_ENV=	EROOT=${X11BASE}/share/enlightenment \
		EBIN=${X11BASE}/bin \
		LIBS="-L${LOCALBASE}/lib -lintl" \
		X_LIBS="-lxpg4"

post-patch:
	@${REINPLACE_CMD} -e "s|malloc.h|stdlib.h|" ${WRKSRC}/epplets/mbox.c
	@${REINPLACE_CMD} -e "s|machine/soundcard.h|sys/soundcard.h|" \
		${WRKSRC}/epplets/Emix.c

.include <bsd.port.mk>