blob: 55b0816abca903ef367ba6c22c595e042dcec9dc (
plain)
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
|
# $NetBSD: Makefile,v 1.20 2004/12/03 15:15:11 wiz Exp $
DISTNAME= plan-1.8.4
PKGREVISION= 1
CATEGORIES= x11 time
MASTER_SITES= ftp://ftp.fu-berlin.de/unix/graphics/plan/
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.in-berlin.de/User/bitrot/plan.html
COMMENT= Schedule planner based on X/Motif
WRKSRC= ${WRKDIR}/${DISTNAME}/src
USE_BUILDLINK3= YES
USE_X11BASE= YES
BUILD_TARGET= ${LOWER_OPSYS}
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "IRIX"
BUILD_TARGET= ${LOWER_VENDOR}${OS_VERSION:C/.[0-9]//}
.endif
.include "../../mk/compiler.mk"
.if !empty(CC_VERSION:Mgcc-3.*)
post-configure:
${TOUCH} ${BUILDLINK_DIR}/include/varargs.h
.endif
pre-install:
${INSTALL_DATA_DIR} ${PREFIX}/libexec/plan
${INSTALL_DATA_DIR} ${PREFIX}/share/plan
${INSTALL_DATA_DIR} ${PREFIX}/share/plan/holiday
${RM} -f ${WRKDIR}/${DISTNAME}/holiday/holiday_*.orig
for f in ${WRKDIR}/${DISTNAME}/holiday/holiday_*; do \
${INSTALL_DATA} $$f ${PREFIX}/share/plan/holiday/; \
done
for f in HISTORY README; do \
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/$$f ${PREFIX}/share/plan; \
done
.include "../../mk/motif.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|