summaryrefslogtreecommitdiffstats
path: root/sysutils/gnome-schedule/Makefile
blob: 6ff67fdbb9c59af789e5f0fa9f5c19400cb7f61c (plain)
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
# 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=	3
CATEGORIES=	sysutils
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}-2/${PORTNAME}-${PORTVERSION}

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

LICENSE=	GPLv2

OPTIONS_DEFINE=	APPLET NLS
OPTIONS_DEFAULT=	APPLET
OPTIONS_SUB=	yes

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

USES=		gmake pathfix python
USE_GNOME=	gnomeprefix pygnome2 gnomedocutils
INSTALLS_OMF=	yes
GNU_CONFIGURE=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LIBS+=		-L${LOCALBASE}/lib
INSTALL_TARGET=	install-strip

APPLET_CONFIGURE_ENABLE=	applet
NLS_USES=		gettext
NLS_CONFIGURE_ENABLE=	--disable-nls

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>
OpenPOWER on IntegriCloud