aboutsummaryrefslogtreecommitdiff
path: root/deskutils/adesklets/Makefile
blob: ec9a530ff1bece7211adfeaf065f259e7ee214e4 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# New ports collection makefile for:	adesklets
# Date created:		2005-05-25
# Whom:			Roman Bogorodskiy <novel@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	adesklets
PORTVERSION=	0.6.1
PORTREVISION=	6
CATEGORIES=	deskutils
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}%20%28core%29/${PORTVERSION}

MAINTAINER=	novel@FreeBSD.org
COMMENT=	An interactive Imlib2 console for the X Window system

RUN_DEPENDS=	gsed:${PORTSDIR}/textproc/gsed

GNU_CONFIGURE=	yes
USE_PYTHON=	yes
USE_GMAKE=	yes
USE_BZIP2=	yes
USE_EFL=	imlib2
USE_ICONV=	yes
WANT_PERL=	yes

MAN1=		adesklets.1 \
		adesklets_checkin.1 \
		adesklets_installer.1 \
		adesklets_submit.1
INFO=		adesklets \
		adesklets_fr

SUB_FILES=	pkg-message
INSTALLS_EGGINFO=	yes
LDFLAGS+=	-liconv

.if !defined(WITHOUT_PERL)
USE_PERL5=	yes
PLIST_SUB+=	PERL=""
.else
CONFIGURE_ARGS+=	--without-perl-support
PLIST_SUB+=	PERL="@comment "
.endif

.if defined(WITHOUT_HISTORY)
CONFIGURE_ARGS+=	--without-history
.endif

pre-everything::
	@${ECHO_MSG} "You may specify the following on the command line:"
	@${ECHO_MSG} ""
	@${ECHO_MSG} "WITHOUT_PERL=yes to disable perl support"
	@${ECHO_MSG} "WITHOUT_HISTORY=yes to disable history support in interactive mode"
	@${ECHO_MSG} ""

post-extract:
	@${REINPLACE_CMD} -e 's| sed | gsed |g' ${WRKSRC}/utils/adesklets_frontend.sh.in

post-install:
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>