2013-09-20 16:21:37 +00:00
|
|
|
# Created by: Daniel Eischen <deischen@FreeBSD.org>
|
1999-08-25 05:28:01 +00:00
|
|
|
# $FreeBSD$
|
2013-07-10 06:49:35 +00:00
|
|
|
|
1999-09-05 22:15:15 +00:00
|
|
|
# Also update ports/japanese/plan/ (ja-plan) when this port is updated
|
1999-07-08 06:23:56 +00:00
|
|
|
|
2000-04-08 22:04:57 +00:00
|
|
|
PORTNAME= plan
|
2009-10-11 12:55:58 +00:00
|
|
|
PORTVERSION= 1.10.1
|
2000-04-14 17:10:50 +00:00
|
|
|
CATEGORIES+= deskutils
|
2004-02-08 15:42:10 +00:00
|
|
|
MASTER_SITES= ftp://plan.ftp.fu-berlin.de/
|
1997-03-11 23:40:08 +00:00
|
|
|
MASTER_SITE_SUBDIR= applications
|
1996-08-05 07:38:11 +00:00
|
|
|
|
2009-03-13 23:27:19 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-07-10 06:49:35 +00:00
|
|
|
COMMENT= X/Motif schedule planner with calendar
|
1996-08-05 07:38:11 +00:00
|
|
|
|
2013-07-10 06:49:35 +00:00
|
|
|
USES= motif
|
2001-02-06 08:52:34 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
|
1998-02-01 05:09:58 +00:00
|
|
|
ALL_TARGET= freebsd
|
1996-08-09 04:27:49 +00:00
|
|
|
|
2006-05-13 17:27:39 +00:00
|
|
|
MAKE_ENV+= DATADIR=${DATADIR} EXAMPLESDIR=${EXAMPLESDIR}
|
|
|
|
|
2014-02-02 14:04:43 +00:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
2010-01-27 01:03:35 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} > 900006
|
|
|
|
EXTRA_PATCHES= ${PATCHDIR}/utmpx-src-daemon.c
|
|
|
|
.endif
|
|
|
|
|
2000-11-24 22:10:06 +00:00
|
|
|
do-install:
|
2014-02-02 14:04:43 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
2006-05-13 17:27:39 +00:00
|
|
|
|
|
|
|
cd ${WRKSRC} \
|
2014-02-02 14:04:43 +00:00
|
|
|
&& ${INSTALL_PROGRAM} plan pland netplan notifier ${STAGEDIR}${PREFIX}/bin \
|
|
|
|
&& ${INSTALL_SCRIPT} ../misc/Killpland ${STAGEDIR}${PREFIX}/bin \
|
|
|
|
&& ${INSTALL_MAN} ../misc/netplan.1 ../misc/plan.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 \
|
|
|
|
&& ${INSTALL_MAN} ../misc/plan.4 ${STAGEDIR}${MAN4PREFIX}/man/man4
|
2006-05-13 17:27:39 +00:00
|
|
|
|
2014-02-02 14:04:43 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2006-05-13 17:27:39 +00:00
|
|
|
cd ${WRKSRC}/.. \
|
|
|
|
&& ${INSTALL_DATA} misc/plan_cal.ps language/* misc/Mkdoc misc/Mkdoc.nawk \
|
|
|
|
misc/BlackWhite misc/Monochrome README \
|
2014-02-02 14:04:43 +00:00
|
|
|
${STAGEDIR}${DOCSDIR}
|
2006-05-13 17:27:39 +00:00
|
|
|
|
|
|
|
cd ${WRKSRC}/../holiday \
|
|
|
|
&& ${INSTALL_DATA} \
|
|
|
|
holiday_australia holiday_austria holiday_bavarian holiday_belgium \
|
|
|
|
holiday_canada holiday_combi holiday_czech holiday_denmark holiday_dutch \
|
|
|
|
holiday_finnish holiday_french holiday_frswiss holiday_german holiday_greek \
|
|
|
|
holiday_hungary holiday_italy holiday_japan holiday_norway holiday_portugal \
|
|
|
|
holiday_quebec holiday_slovak holiday_spain holiday_swedish holiday_uk \
|
2014-02-02 14:04:43 +00:00
|
|
|
holiday_us ${STAGEDIR}${EXAMPLESDIR}
|
2000-11-24 22:10:06 +00:00
|
|
|
|
2002-12-01 02:07:21 +00:00
|
|
|
.if !target(post-install)
|
1998-02-01 05:09:58 +00:00
|
|
|
post-install:
|
2014-02-02 14:04:43 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}/netplan.dir
|
2002-12-01 02:07:21 +00:00
|
|
|
.endif
|
1998-02-01 05:09:58 +00:00
|
|
|
|
2010-01-27 01:03:35 +00:00
|
|
|
.include <bsd.port.post.mk>
|