aboutsummaryrefslogtreecommitdiff
path: root/palm/pilot-link-devel/Makefile
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2001-02-14 22:50:24 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2001-02-14 22:50:24 +0000
commit607710a9e8020c62c06c22e514d4330b82bce221 (patch)
tree275c73bc1faa3432906dbc43ab25f147e35f3d9b /palm/pilot-link-devel/Makefile
parent34837ec97bd6dbf2951a22c455401b8e5aac3cc6 (diff)
downloadports-607710a9e8020c62c06c22e514d4330b82bce221.tar.gz
ports-607710a9e8020c62c06c22e514d4330b82bce221.zip
Notes
Diffstat (limited to 'palm/pilot-link-devel/Makefile')
-rw-r--r--palm/pilot-link-devel/Makefile9
1 files changed, 8 insertions, 1 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>