summaryrefslogtreecommitdiff
path: root/sysutils/gnome-schedule/Makefile
blob: 80dcf058b9216827c81b3284d7b4e3c2016c2347 (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
# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$
#   $MCom: ports/sysutils/gnome-schedule/Makefile,v 1.5 2007/09/10 06:20:14 mezz Exp $

PORTNAME=	gnome-schedule
PORTVERSION=	2.1.5
PORTREVISION=	1
CATEGORIES=	sysutils
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-2/${PORTNAME}-${PORTVERSION}

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	GNOME GUI for configuring a users crontab

LICENSE=	GPLv2

BUILD_DEPENDS=	yelp:${PORTSDIR}/x11/yelp
RUN_DEPENDS=	yelp:${PORTSDIR}/x11/yelp

USE_PYTHON=	yes
USE_GMAKE=	yes
USE_GNOME=	gnomeprefix gnomehack pygnome2
INSTALLS_OMF=	yes
GNU_CONFIGURE=	yes

.if  !defined(WITHOUT_APPLET)
CONFIGURE_ARGS+=	--enable-applet
PLIST_SUB+=	APPLET=""
.else
CONFIGURE_ARGS+=	--disable-applet
PLIST_SUB+=	APPLET="@comment "
.endif

NO_STAGE=	yes
.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MNLS}
USES+=		gettext
PLIST_SUB+=	NLS=""
.else
CONFIGURE_ARGS+=	--disable-nls
PLIST_SUB+=	NLS="@comment "
.endif

post-extract:
	@${RM} ${WRKSRC}/src/config.py

post-install:
	@${ECHO} "======================================================================"
	@${ECHO} "  To make one-time tasks work, add your username to /var/at/at.allow  "
	@${ECHO} "  Note that one-time tasks will never shows in ${PORTNAME}'s          "
	@${ECHO} "  task-list because of lacking FreeBSD's atq output format support.   "
	@${ECHO} "======================================================================"

.include <bsd.port.mk>