aboutsummaryrefslogtreecommitdiffstats
path: root/mail/pgp4pine
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2002-11-04 08:46:29 +0800
committeredwin <edwin@FreeBSD.org>2002-11-04 08:46:29 +0800
commit4d0a85d97d47fcffbaab811ab7fff16d0f6b08b9 (patch)
tree8e56fdbe58f9d3b6ab3eeb6493886e50b4521ca0 /mail/pgp4pine
parent3132439c04c5ff9684e8282d21125aeb0332516a (diff)
downloadfreebsd-ports-graphics-4d0a85d97d47fcffbaab811ab7fff16d0f6b08b9.tar.gz
freebsd-ports-graphics-4d0a85d97d47fcffbaab811ab7fff16d0f6b08b9.tar.zst
freebsd-ports-graphics-4d0a85d97d47fcffbaab811ab7fff16d0f6b08b9.zip
PERL -> REINPLACE and renamed its pkg-message to pkg-pkgmessage to
prevent warnings about duplicate pkg-message targets. Informed maintainer about it. Noticed by: bento
Diffstat (limited to 'mail/pgp4pine')
-rw-r--r--mail/pgp4pine/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/mail/pgp4pine/Makefile b/mail/pgp4pine/Makefile
index 43046dedbce..76f5f9c651d 100644
--- a/mail/pgp4pine/Makefile
+++ b/mail/pgp4pine/Makefile
@@ -20,6 +20,7 @@ MAINTAINER= holger@flatline.de
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-docdir=${PREFIX}/share/doc
+USE_REINPLACE= yes
MAN1= pgp4pine.1
@@ -35,15 +36,15 @@ SCRIPTDIR= ${SAMPLEDIR}
# Post-patch
#
-post-patch: patch-path patch-message
+post-patch: patch-path patch-pkgmessage
patch-path:
- @${PERL} -pi.fbsd -e \
+ @${REINPLACE_CMD} \
's|/usr/local|${PREFIX}|g;s|/doc/|/share/examples/|g' \
${WRKSRC}/INSTALL \
${WRKSRC}/insert_entries.pl ${WRKSRC}/remove_entries.pl
-patch-message:
+patch-pkgmessage:
@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${MSG_FILE} > ${PKGMESSAGE}
# Post-configure
@@ -52,7 +53,7 @@ patch-message:
post-configure: patch-man
patch-man:
- @${PERL} -pi.fbsd -e 's|/doc/|/examples/|g' \
+ @${REINPLACE_CMD} -e 's|/doc/|/examples/|g' \
${WRKSRC}/pgp4pine/docs/en/pgp4pine.1
# Post-install