diff options
author | Steve Price <steve@FreeBSD.org> | 2000-04-30 19:35:57 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 2000-04-30 19:35:57 +0000 |
commit | e9284d7b924d556706e456f3f17a820c0a26eb57 (patch) | |
tree | 844a8fde818f718efd4c633c0e50ec847bb0d546 /mail/xmailbox/Makefile | |
parent | - Update to version 0.3.3 (diff) |
Support PREFIX properly.
PR: 17853
Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp>
Diffstat (limited to 'mail/xmailbox/Makefile')
-rw-r--r-- | mail/xmailbox/Makefile | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/mail/xmailbox/Makefile b/mail/xmailbox/Makefile index cfee7b165774..1f419f5aeae1 100644 --- a/mail/xmailbox/Makefile +++ b/mail/xmailbox/Makefile @@ -17,19 +17,18 @@ LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm USE_IMAKE= yes MAN1= xmailbox.1 -MANCOMPRESSED= no -do-install: - @ ${INSTALL_PROGRAM} ${WRKSRC}/xmailbox ${PREFIX}/bin - @ ${INSTALL_MAN} ${WRKSRC}/xmailbox.man ${PREFIX}/man/man1/xmailbox.1 - @ ${INSTALL_DATA} ${WRKSRC}/XMailbox.ad ${PREFIX}/lib/X11/app-defaults/XMailbox - @ ${MKDIR} ${PREFIX}/share/xmailbox - @ ${INSTALL_DATA} ${WRKSRC}/dingdong.au ${PREFIX}/share/xmailbox - @ ${INSTALL_DATA} ${WRKSRC}/ugotmail.au ${PREFIX}/share/xmailbox +post-patch: + @${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/XMailbox.ad + +post-install: + @${MKDIR} ${PREFIX}/share/xmailbox + ${INSTALL_DATA} ${WRKSRC}/dingdong.au ${PREFIX}/share/xmailbox + ${INSTALL_DATA} ${WRKSRC}/ugotmail.au ${PREFIX}/share/xmailbox .if !defined(NOPORTDOCS) - @ ${MKDIR} ${PREFIX}/share/doc/xmailbox - @ ${INSTALL_DATA} ${WRKSRC}/DISCLAIMER ${PREFIX}/share/doc/xmailbox - @ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xmailbox + @${MKDIR} ${PREFIX}/share/doc/xmailbox + ${INSTALL_DATA} ${WRKSRC}/DISCLAIMER ${PREFIX}/share/doc/xmailbox + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xmailbox .endif .include <bsd.port.mk> |