2004-06-11 00:42:42 +02:00
|
|
|
# $NetBSD: Makefile,v 1.18 2004/06/10 22:42:42 jschauma Exp $
|
2000-12-18 00:32:09 +01:00
|
|
|
|
|
|
|
DISTNAME= plan-1.8.4
|
|
|
|
CATEGORIES= x11 time
|
|
|
|
MASTER_SITES= ftp://ftp.fu-berlin.de/unix/graphics/plan/
|
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
2000-12-18 00:32:09 +01:00
|
|
|
HOMEPAGE= http://www.in-berlin.de/User/bitrot/plan.html
|
2001-02-17 18:31:58 +01:00
|
|
|
COMMENT= Schedule planner based on X/Motif
|
2000-12-18 00:32:09 +01:00
|
|
|
|
2004-01-20 13:18:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
2004-04-11 22:42:28 +02:00
|
|
|
USE_BUILDLINK3= YES
|
2002-08-25 23:50:52 +02:00
|
|
|
USE_X11BASE= YES
|
2004-06-11 00:42:42 +02:00
|
|
|
ALL_TARGET= ${LOWER_OPSYS}
|
|
|
|
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
|
|
|
.if ${OPSYS} == "IRIX"
|
|
|
|
ALL_TARGET= ${LOWER_VENDOR}${OS_VERSION:C/.[0-9]//}
|
|
|
|
.endif
|
2000-12-18 00:32:09 +01:00
|
|
|
|
2004-02-18 14:33:40 +01:00
|
|
|
.include "../../mk/compiler.mk"
|
2003-11-13 22:13:49 +01:00
|
|
|
|
|
|
|
.if !empty(CC_VERSION:Mgcc-3.*)
|
|
|
|
post-configure:
|
|
|
|
${TOUCH} ${BUILDLINK_DIR}/include/varargs.h
|
|
|
|
.endif
|
|
|
|
|
2000-12-18 00:32:09 +01:00
|
|
|
pre-install:
|
2004-06-11 00:42:42 +02:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/libexec/plan
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/plan
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/plan/holiday
|
2000-12-18 00:32:09 +01:00
|
|
|
${RM} -f ${WRKDIR}/${DISTNAME}/holiday/holiday_*.orig
|
2004-06-11 00:42:42 +02:00
|
|
|
for f in ${WRKDIR}/${DISTNAME}/holiday/holiday_*; do \
|
|
|
|
${INSTALL_DATA} $$f ${PREFIX}/share/plan/holiday/; \
|
|
|
|
done
|
2000-12-18 00:32:09 +01:00
|
|
|
for f in HISTORY README; do \
|
2001-08-20 02:59:17 +02:00
|
|
|
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/$$f ${PREFIX}/share/plan; \
|
2000-12-18 00:32:09 +01:00
|
|
|
done
|
|
|
|
|
2004-04-11 22:42:28 +02:00
|
|
|
.include "../../mk/motif.buildlink3.mk"
|
2000-12-18 00:32:09 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|