aboutsummaryrefslogtreecommitdiffstats
path: root/palm
diff options
context:
space:
mode:
Diffstat (limited to 'palm')
-rw-r--r--palm/pilot-link-devel/Makefile9
-rw-r--r--palm/pilot-link/Makefile9
2 files changed, 16 insertions, 2 deletions
diff --git a/palm/pilot-link-devel/Makefile b/palm/pilot-link-devel/Makefile
index bcb2af9d5bbc..30a65ec6abe4 100644
--- a/palm/pilot-link-devel/Makefile
+++ b/palm/pilot-link-devel/Makefile
@@ -22,13 +22,20 @@ USE_PERL5= yes
PREFIX= ${LOCALBASE}/pilot
CONFIGURE_ARGS= --with-perl5=${PERL5}
+.include <bsd.port.pre.mk>
+
+CFLAGS!= ${ECHO} "${CFLAGS}" | ${SED} -e 's/-O[0-9a-z]*//g'
+
MAN1= dlpsh.1 ietf2datebook.1 install-datebook.1 \
install-hinote.1 install-memo.1 install-user.1 \
pilot-xfer.1 read-ical.1
MAN7= pilot-link.7
+post-patch:
+ @${CHMOD} 755 ${WRKSRC}/${CONFIGURE_SCRIPT}
+
post-install:
@${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/pilot-link.sh > ${LOCALBASE}/etc/rc.d/pilot-link.sh
@${CHMOD} 750 ${LOCALBASE}/etc/rc.d/pilot-link.sh
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/palm/pilot-link/Makefile b/palm/pilot-link/Makefile
index bcb2af9d5bbc..30a65ec6abe4 100644
--- a/palm/pilot-link/Makefile
+++ b/palm/pilot-link/Makefile
@@ -22,13 +22,20 @@ USE_PERL5= yes
PREFIX= ${LOCALBASE}/pilot
CONFIGURE_ARGS= --with-perl5=${PERL5}
+.include <bsd.port.pre.mk>
+
+CFLAGS!= ${ECHO} "${CFLAGS}" | ${SED} -e 's/-O[0-9a-z]*//g'
+
MAN1= dlpsh.1 ietf2datebook.1 install-datebook.1 \
install-hinote.1 install-memo.1 install-user.1 \
pilot-xfer.1 read-ical.1
MAN7= pilot-link.7
+post-patch:
+ @${CHMOD} 755 ${WRKSRC}/${CONFIGURE_SCRIPT}
+
post-install:
@${SED} "s|%%PREFIX%%|${PREFIX}|g" < ${FILESDIR}/pilot-link.sh > ${LOCALBASE}/etc/rc.d/pilot-link.sh
@${CHMOD} 750 ${LOCALBASE}/etc/rc.d/pilot-link.sh
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>