summaryrefslogtreecommitdiff
path: root/mail/pine
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>1998-01-24 20:36:06 +0000
committerhubertf <hubertf@pkgsrc.org>1998-01-24 20:36:06 +0000
commit6fd2e0dce2670589b3f73154d467568a17a04800 (patch)
tree0d9f5a8abb4cd053b8d5990ed5e7deb9ae1296c2 /mail/pine
parent54faf94a7a079c8cf51631c218c5f149835b231b (diff)
downloadpkgsrc-6fd2e0dce2670589b3f73154d467568a17a04800.tar.gz
portlint: uss macros for commands (cp, install, echo)
Diffstat (limited to 'mail/pine')
-rw-r--r--mail/pine/Makefile38
1 files changed, 19 insertions, 19 deletions
diff --git a/mail/pine/Makefile b/mail/pine/Makefile
index 065031ffdf7..e109f26e15e 100644
--- a/mail/pine/Makefile
+++ b/mail/pine/Makefile
@@ -4,7 +4,7 @@
# Date created: 03 September 1994
# Whom: mr
#
-# $NetBSD: Makefile,v 1.4 1997/12/04 22:53:34 hubertf Exp $
+# $NetBSD: Makefile,v 1.5 1998/01/24 20:36:06 hubertf Exp $
# FreeBSD Id: Makefile,v 1.21 1997/03/26 02:12:07 ache Exp
#
@@ -19,29 +19,29 @@ MAN1= pine.1 pico.1 pilot.1
post-patch:
[ -f ${WRKSRC}/pine/osdep/os-neb.h.orig ] || \
- cp ${WRKSRC}/pine/osdep/os-neb.h ${WRKSRC}/pine/osdep/os-neb.h.orig
- sed \
- -e 's|.*\(#define.*SYSTEM_PINERC_FIXED\) .*|\1 "'"${PREFIX}/lib/pine.conf.fixed"'"|g' \
- -e 's|.*\(#define.*SYSTEM_PINERC\) .*|\1 "'"${PREFIX}/lib/pine.conf"'"|g' \
- <${WRKSRC}/pine/osdep/os-neb.h.orig >${WRKSRC}/pine/osdep/os-neb.h
+ ${CP} ${WRKSRC}/pine/osdep/os-neb.h ${WRKSRC}/pine/osdep/os-neb.h.orig
+ ${SED} \
+ -e 's|.*\(#define.*SYSTEM_PINERC_FIXED\) .*|\1 "'"${PREFIX}/lib/pine.conf.fixed"'"|g' \
+ -e 's|.*\(#define.*SYSTEM_PINERC\) .*|\1 "'"${PREFIX}/lib/pine.conf"'"|g' \
+ <${WRKSRC}/pine/osdep/os-neb.h.orig >${WRKSRC}/pine/osdep/os-neb.h
do-build:
cd ${WRKSRC} && ./build neb
do-install:
- install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ${WRKSRC}/pico/libpico.a ${PREFIX}/lib/libpico.a
- install -c -s -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ${WRKSRC}/bin/pico ${PREFIX}/bin/pico
- install -c -s -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ${WRKSRC}/bin/pilot ${PREFIX}/bin/pilot
- install -c -s -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ${WRKSRC}/bin/pine ${PREFIX}/bin/pine
- install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ${FILESDIR}/pgpencrypt ${PREFIX}/bin/pgpencrypt
- install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ${FILESDIR}/pgpdecode ${PREFIX}/bin/pgpdecode
- install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} ${FILESDIR}/pgpsign ${PREFIX}/bin/pgpsign
- install -c -o ${SHAREOWN} -g ${SHAREGRP} -m ${SHAREMODE} ${FILESDIR}/dot.pinerc.pgp.sample ${PREFIX}/etc/dot.pinerc.pgp.sample
- install -c -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} ${WRKSRC}/doc/pico.1 ${PREFIX}/man/man1/pico.1
- install -c -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} ${WRKSRC}/doc/pilot.1 ${PREFIX}/man/man1/pilot.1
- install -c -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} ${WRKSRC}/doc/pine.1 ${PREFIX}/man/man1/pine.1
- ( echo '# (This file is not part of the pine distribution! - HF)' ; \
- ${PREFIX}/bin/pine -conf ) | sed \
+ ${INSTALL_PROGRAM} ${WRKSRC}/pico/libpico.a ${PREFIX}/lib/libpico.a
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/pico ${PREFIX}/bin/pico
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/pilot ${PREFIX}/bin/pilot
+ ${INSTALL_PROGRAM} ${WRKSRC}/bin/pine ${PREFIX}/bin/pine
+ ${INSTALL_PROGRAM} ${FILESDIR}/pgpencrypt ${PREFIX}/bin/pgpencrypt
+ ${INSTALL_PROGRAM} ${FILESDIR}/pgpdecode ${PREFIX}/bin/pgpdecode
+ ${INSTALL_PROGRAM} ${FILESDIR}/pgpsign ${PREFIX}/bin/pgpsign
+ ${INSTALL_DATA} ${FILESDIR}/dot.pinerc.pgp.sample ${PREFIX}/etc/dot.pinerc.pgp.sample
+ ${INSTALL_MAN} ${WRKSRC}/doc/pico.1 ${PREFIX}/man/man1/pico.1
+ ${INSTALL_MAN} ${WRKSRC}/doc/pilot.1 ${PREFIX}/man/man1/pilot.1
+ ${INSTALL_MAN} ${WRKSRC}/doc/pine.1 ${PREFIX}/man/man1/pine.1
+ ( ${ECHO} '# (This file is not part of the pine distribution! - HF)' ; \
+ ${PREFIX}/bin/pine -conf ) | ${SED} \
-e 's|^\(use-only-domain-name\)=.*$$|\1=No|g' \
-e 's|^\(mail-directory\)=.*$$|\1=Mail|g' \
-e 's|^\(feature-list\)=.*$$|\1=enable-mail-check-cue,enable-suspend,expanded-view-of-addressbooks,include-header-in-reply,include-text-in-reply,show-selected-in-boldface,signature-at-bottom|g' \