44 lines
1.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.37 2021/05/14 11:40:39 nia Exp $
|
|
|
|
DISTNAME= plan-1.9
|
|
PKGREVISION= 1
|
|
CATEGORIES= x11 time
|
|
MASTER_SITES= ftp://ftp.fu-berlin.de/unix/graphics/plan/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
#HOMEPAGE= https://me.in-berlin.de/~bitrot/plan.html
|
|
COMMENT= Schedule planner based on X/Motif
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
|
USE_TOOLS+= yacc lex
|
|
|
|
SUBST_CLASSES+= paths
|
|
SUBST_STAGE.paths= pre-configure
|
|
SUBST_FILES.paths+= Makefile
|
|
SUBST_SED.paths+= -e "s,/usr/X11R6,${X11BASE},g"
|
|
|
|
INSTALLATION_DIRS= libexec/plan ${PKGMANDIR}/man1 ${PKGMANDIR}/man4 \
|
|
share/plan/holiday
|
|
|
|
BUILD_TARGET.IRIX= ${LOWER_VENDOR}${OS_VERSION:C/.[0-9]//}
|
|
BUILD_TARGET.SunOS= solg
|
|
BUILD_TARGET.*= ${LOWER_OPSYS}
|
|
|
|
.include "../../mk/compiler.mk"
|
|
|
|
.if !empty(CC_VERSION:Mgcc-3.*)
|
|
post-configure:
|
|
${TOUCH} ${BUILDLINK_DIR}/include/varargs.h
|
|
.endif
|
|
|
|
pre-install:
|
|
${RM} -f ${WRKDIR}/${DISTNAME}/holiday/holiday_*.orig
|
|
for f in ${WRKDIR}/${DISTNAME}/holiday/holiday_*; do \
|
|
${INSTALL_DATA} $$f ${DESTDIR}${PREFIX}/share/plan/holiday/; \
|
|
done
|
|
for f in HISTORY README; do \
|
|
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/$$f ${DESTDIR}${PREFIX}/share/plan; \
|
|
done
|
|
|
|
.include "../../mk/motif.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|