2004-11-08 04:48:48 +01:00
|
|
|
# New ports collection makefile for: gnome-schedule
|
|
|
|
# Date created: 2004-11-06
|
|
|
|
# Whom: Michael Johnson <ahze@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2005-08-28 17:09:15 +02:00
|
|
|
# $MCom: ports-stable/sysutils/gnome-schedule/Makefile,v 1.1 2005/08/13 14:02:49 ahze Exp $
|
2004-11-08 04:48:48 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= gnome-schedule
|
2005-08-28 17:09:15 +02:00
|
|
|
PORTVERSION= 0.9.0
|
2005-11-05 06:22:06 +01:00
|
|
|
PORTREVISION= 1
|
2004-11-08 04:48:48 +01:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
|
|
|
|
MAINTAINER= gnome@FreeBSD.org
|
|
|
|
COMMENT= GNOME GUI for configuring a users crontab
|
|
|
|
|
2004-11-10 01:24:18 +01:00
|
|
|
BUILD_DEPENDS= yelp:${PORTSDIR}/x11/yelp
|
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
|
2005-08-28 17:09:15 +02:00
|
|
|
USE_BZIP2= yes
|
2004-11-08 04:48:48 +01:00
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_GNOME= gnomeprefix pygnome2
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
DATADIR= ${PREFIX}/share/gnome
|
|
|
|
|
|
|
|
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|${X11BASE}/share/icons|; \
|
|
|
|
s|@prefix@/share|${DATADIR}|; \
|
|
|
|
s|/usr/local/share/|${DATADIR}|; \
|
|
|
|
s|/usr/share/|${DATADIR}|; \
|
|
|
|
s|/usr/bin/gnome-help|${X11BASE}/bin/gnome-help|; \
|
|
|
|
s|$$(prefix)/share/|$$(datadir)/|' \
|
|
|
|
${WRKSRC}/src/*.* ${WRKSRC}/Makefile.in \
|
|
|
|
${WRKSRC}/pixmaps/Makefile.in
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|