summaryrefslogtreecommitdiff
path: root/mail/oe2mbx/Makefile
diff options
context:
space:
mode:
authorzuntum <zuntum@pkgsrc.org>2005-02-05 16:27:39 +0000
committerzuntum <zuntum@pkgsrc.org>2005-02-05 16:27:39 +0000
commita6a84526c43e4bb9b39c6349c8e4c6b93a6861f0 (patch)
tree6f4bac4fbcb54e8bffde0229844c4ad3ca7a95df /mail/oe2mbx/Makefile
parent71c26ad8d9f5337547c12046837ba71701973b13 (diff)
downloadpkgsrc-a6a84526c43e4bb9b39c6349c8e4c6b93a6861f0.tar.gz
Fix PR#28775 by Georg Schwarz <georg.schwarz@freenet.de>: improve portability:
- use "test -r" instead of "test -e" - use ${INSTALL_*}
Diffstat (limited to 'mail/oe2mbx/Makefile')
-rw-r--r--mail/oe2mbx/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/mail/oe2mbx/Makefile b/mail/oe2mbx/Makefile
index 81804ff5605..110eb6e21b5 100644
--- a/mail/oe2mbx/Makefile
+++ b/mail/oe2mbx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2004/12/03 15:15:02 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2005/02/05 16:27:39 zuntum Exp $
#
DISTNAME= oe2mbx-1.21
@@ -12,15 +12,13 @@ COMMENT= Outlook Express messages to the Unix mailbox format converter
WRKSRC= ${WRKDIR}/liboe-0.92
MAKEFILE= makefile
+MAKE_ENV+= INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
+ INSTALL_LIB="${INSTALL_LIB}" \
+ INSTALL_DATA="${INSTALL_DATA}"
+
BUILD_TARGET= liboe oe2mbx
pre-build:
cd ${WRKSRC} && ${MAKE_PROGRAM} clean
-post-patch:
- ${SED} -e "s,gcc,${CC} ${CFLAGS},g" \
- -e "s,^PREFIX,#PREFIX,g" \
- ${WRKSRC}/${MAKEFILE} > ${WRKSRC}/${MAKEFILE}.done
- ${MV} ${WRKSRC}/${MAKEFILE}.done ${WRKSRC}/${MAKEFILE}
-
.include "../../mk/bsd.pkg.mk"