1 # $NetBSD: Makefile,v 1.30 2011/12/09 14:36:35 drochner Exp $
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
15 BUILD_TARGET
= ${LOWER_OPSYS}
17 INSTALLATION_DIRS
= libexec
/plan
${PKGMANDIR}/man1
${PKGMANDIR}/man4 \
20 .
include "../../mk/bsd.prefs.mk"
22 .if
${OPSYS} == "IRIX"
23 BUILD_TARGET
= ${LOWER_VENDOR}${OS_VERSION
:C
/.
[0-9]//}
26 .
include "../../mk/compiler.mk"
28 .if
!empty
(CC_VERSION
:Mgcc-3.
*)
30 ${TOUCH} ${BUILDLINK_DIR}/include/varargs.h
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
/; \
38 for f in HISTORY README
; do \
39 ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/$$f ${DESTDIR}${PREFIX}/share
/plan
; \
42 .
include "../../mk/motif.buildlink3.mk"
43 .
include "../../mk/bsd.pkg.mk"