Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / time / plan / Makefile
blobccda292cd7025b1922f853921466b2a56d4fdb44
1 # $NetBSD: Makefile,v 1.30 2011/12/09 14:36:35 drochner Exp $
3 DISTNAME= plan-1.9
4 PKGREVISION= 1
5 CATEGORIES= x11 time
6 MASTER_SITES= ftp://ftp.fu-berlin.de/unix/graphics/plan/
8 MAINTAINER= pkgsrc-users@NetBSD.org
9 HOMEPAGE= http://me.in-berlin.de/~bitrot/plan.html
10 COMMENT= Schedule planner based on X/Motif
12 WRKSRC= ${WRKDIR}/${DISTNAME}/src
13 USE_TOOLS+= yacc lex
14 USE_X11BASE= YES
15 BUILD_TARGET= ${LOWER_OPSYS}
17 INSTALLATION_DIRS= libexec/plan ${PKGMANDIR}/man1 ${PKGMANDIR}/man4 \
18 share/plan/holiday
20 .include "../../mk/bsd.prefs.mk"
22 .if ${OPSYS} == "IRIX"
23 BUILD_TARGET= ${LOWER_VENDOR}${OS_VERSION:C/.[0-9]//}
24 .endif
26 .include "../../mk/compiler.mk"
28 .if !empty(CC_VERSION:Mgcc-3.*)
29 post-configure:
30 ${TOUCH} ${BUILDLINK_DIR}/include/varargs.h
31 .endif
33 pre-install:
34 ${RM} -f ${WRKDIR}/${DISTNAME}/holiday/holiday_*.orig
35 for f in ${WRKDIR}/${DISTNAME}/holiday/holiday_*; do \
36 ${INSTALL_DATA} $$f ${DESTDIR}${PREFIX}/share/plan/holiday/; \
37 done
38 for f in HISTORY README; do \
39 ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/$$f ${DESTDIR}${PREFIX}/share/plan; \
40 done
42 .include "../../mk/motif.buildlink3.mk"
43 .include "../../mk/bsd.pkg.mk"