summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 00:46:29 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-04 00:46:29 +0000
commit6b9e822cdbdfa3bfef07be33335dec8453563f4a (patch)
tree0c687f7ab3f08ea3d9a0425a54bfc1a7849c2822 /mail
parentUSE_REINPLACE instead of perl. (but this still won't build on current) (diff)
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
Notes
Notes: svn path=/head/; revision=69399
Diffstat (limited to 'mail')
-rw-r--r--mail/pgp4pine/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/mail/pgp4pine/Makefile b/mail/pgp4pine/Makefile
index 43046dedbcec..76f5f9c651d2 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