summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-05-14 11:40:39 +0000
committernia <nia@pkgsrc.org>2021-05-14 11:40:39 +0000
commitda7afd81d89a49580f20e615af1892f54ead51a7 (patch)
treec956797ba503bb6ba42de348bbf336ebe08d497d /time
parentcf5498c4e3fa2d40f3b8a11ab69694a61f1ef9bb (diff)
downloadpkgsrc-da7afd81d89a49580f20e615af1892f54ead51a7.tar.gz
plan: substitute path to X11R6 in Makefile
Diffstat (limited to 'time')
-rw-r--r--time/plan/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/time/plan/Makefile b/time/plan/Makefile
index 014b80af5e1..2bd3265fb8a 100644
--- a/time/plan/Makefile
+++ b/time/plan/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2017/09/03 08:53:16 wiz Exp $
+# $NetBSD: Makefile,v 1.37 2021/05/14 11:40:39 nia Exp $
DISTNAME= plan-1.9
PKGREVISION= 1
@@ -12,6 +12,11 @@ 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