1996-08-05 07:38:11 +00:00
|
|
|
# New ports collection makefile for: plan
|
|
|
|
# Date created: 14 April 1996
|
2000-11-24 22:10:06 +00:00
|
|
|
# Whom: Daniel Eischen <deischen@freebsd.org>
|
1996-08-05 07:38:11 +00:00
|
|
|
#
|
1999-08-25 05:28:01 +00:00
|
|
|
# $FreeBSD$
|
1996-08-09 04:27:49 +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
|
2003-11-12 20:31:21 +00:00
|
|
|
PORTVERSION= 1.8.7
|
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
|
|
|
|
2000-11-24 22:10:06 +00:00
|
|
|
MAINTAINER= deischen@freebsd.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= An X/Motif schedule planner with calendar
|
1996-08-05 07:38:11 +00:00
|
|
|
|
2000-11-07 23:28:20 +00:00
|
|
|
USE_MOTIF= yes
|
2001-02-06 08:52:34 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
|
1998-02-01 05:09:58 +00:00
|
|
|
ALL_TARGET= freebsd
|
1997-06-20 13:29:25 +00:00
|
|
|
MAN1= netplan.1 plan.1
|
1996-11-17 09:06:37 +00:00
|
|
|
MAN4= plan.4
|
1996-08-09 04:27:49 +00:00
|
|
|
|
2000-11-24 22:10:06 +00:00
|
|
|
post-patch:
|
2003-11-12 20:31:21 +00:00
|
|
|
cd ${WRKSRC} && ${MV} config.h config.h.orig && ${SED} -e 's,%%PREFIX%%,${PREFIX},' \
|
2000-11-24 22:10:06 +00:00
|
|
|
< config.h.orig > config.h
|
|
|
|
do-install:
|
2003-03-23 23:23:59 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/doc/plan/examples ;\
|
2000-11-24 22:10:06 +00:00
|
|
|
cd ${WRKSRC} ; ${INSTALL_PROGRAM} plan pland netplan notifier ${PREFIX}/bin ;\
|
|
|
|
${INSTALL_SCRIPT} ../misc/Killpland ${PREFIX}/bin ;\
|
|
|
|
${INSTALL_MAN} ../misc/netplan.1 ../misc/plan.1 ${MAN1PREFIX}/man/man1 ;\
|
|
|
|
${INSTALL_MAN} ../misc/plan.4 ${MAN4PREFIX}/man/man4 ;\
|
|
|
|
${INSTALL_DATA} ../misc/plan_cal.ps ../language/* ../misc/Mkdoc ../misc/Mkdoc.nawk \
|
|
|
|
../misc/BlackWhite ../misc/Monochrome ../README \
|
|
|
|
${PREFIX}/share/doc/plan ;\
|
|
|
|
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 \
|
2003-03-23 23:23:59 +00:00
|
|
|
holiday_quebec holiday_slovak holiday_spain holiday_swedish holiday_uk \
|
|
|
|
holiday_us ${PREFIX}/share/doc/plan/examples
|
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:
|
|
|
|
@${MKDIR} ${PREFIX}/share/netplan.dir
|
2002-12-01 02:07:21 +00:00
|
|
|
.endif
|
1998-02-01 05:09:58 +00:00
|
|
|
|
1996-08-05 07:38:11 +00:00
|
|
|
.include <bsd.port.mk>
|