summaryrefslogtreecommitdiff
path: root/palm/syncal
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2002-01-05 08:57:29 +0000
committerWill Andrews <will@FreeBSD.org>2002-01-05 08:57:29 +0000
commit8ad291c33e7fff3167d68403a3fa605b894b3792 (patch)
treec758c47a3a2a9bc64ea4dc92db5a617606c7b553 /palm/syncal
parentUpdate to 0.3.32 and hand over maintainership to submitter (diff)
Make pilot-link install directly into PREFIX. This should allow
pilot-link and all dependents to build correctly on bento.
Notes
Notes: svn path=/head/; revision=52598
Diffstat (limited to 'palm/syncal')
-rw-r--r--palm/syncal/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/palm/syncal/Makefile b/palm/syncal/Makefile
index 34fe8d216a8a..41652ee46ccf 100644
--- a/palm/syncal/Makefile
+++ b/palm/syncal/Makefile
@@ -18,19 +18,13 @@ RUN_DEPENDS= ical:${PORTSDIR}/deskutils/ical
NO_PACKAGE= patches installed ical port
-PREFIX= ${LOCALBASE}/pilot
-
MAN1= syncal.1
post-patch:
- ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.patched
- ${SED} -e "s:@@PREFIX@@:${PREFIX}:g" ${WRKSRC}/Makefile.patched > ${WRKSRC}/Makefile
- ${MV} ${WRKSRC}/user.tcl ${WRKSRC}/user.tcl.patched
- ${SED} -e "s:@@PREFIX@@:${PREFIX}:g" ${WRKSRC}/user.tcl.patched > ${WRKSRC}/user.tcl
- ${MV} ${WRKSRC}/ical.patch ${WRKSRC}/ical.patch.patched
- ${SED} -e "s:@@PREFIX@@:${PREFIX}:g" ${WRKSRC}/ical.patch.patched > ${WRKSRC}/ical.patch
+.for file in Makefile user.tcl ical.patch
+ ${PERL} -pi -e "s|\@\@PREFIX\@\@|${LOCALBASE}|g" ${WRKSRC}/${file}
+.endfor
-#
# ical V2.2 needs a little patch, don't know how to do better
# perhaps the patch should be included int ical port by default
# Please have a look at this experts :-)