blob: 2c5c7147569d9f0a74c79f5c38a5df80d5a771ec (
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
|
# New ports collection makefile for: gnome-schedule
# Date created: 2004-11-06
# Whom: Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
# $MCom$
#
PORTNAME= gnome-schedule
PORTVERSION= 0.9.0
PORTREVISION= 5
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= gnome@FreeBSD.org
COMMENT= GNOME GUI for configuring a users crontab
BUILD_DEPENDS= yelp:${PORTSDIR}/x11/yelp
RUN_DEPENDS= yelp:${PORTSDIR}/x11/yelp
USE_BZIP2= yes
USE_PYTHON= yes
USE_GNOME= gnomeprefix pygnome2
USE_XLIB= yes
GNU_CONFIGURE= yes
DATADIR= ${PREFIX}/share
PORTDOCS= addingandediting.html index.html
.include <bsd.port.pre.mk>
post-patch:
.if defined(NOPORTDOCS)
.for f in ${PORTDOCS}
@${REINPLACE_CMD} -e 's|${f}||' ${WRKSRC}/doc/Makefile.in
.endfor
.else
@${REINPLACE_CMD} -e 's|gnome-schedule-$$(VERSION)|gnome-schedule|' \
${WRKSRC}/doc/Makefile.in
.endif
@${REINPLACE_CMD} -e 's|/usr/share/icons|${LOCALBASE}/share/icons|; \
s|@prefix@/share|${DATADIR}|; \
s|/usr/local/share/|${DATADIR}|; \
s|/usr/share/|${DATADIR}|; \
s|/usr/bin/gnome-help|${LOCALBASE}/bin/gnome-help|; \
s|$$(prefix)/share/|$$(datadir)/|' \
${WRKSRC}/src/*.* ${WRKSRC}/Makefile.in \
${WRKSRC}/pixmaps/Makefile.in
.include <bsd.port.post.mk>
|