aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-08-27 11:24:50 +0800
committervanilla <vanilla@FreeBSD.org>2014-08-27 11:24:50 +0800
commit24fc58beea2a53b29faec4d849d974996af273d2 (patch)
treebe607ea1e4175aa3b7f23add3516795b2d529a42 /mail
parenteddeaff4715f1fc178a65331d91eaa791c0580ad (diff)
downloadfreebsd-ports-gnome-24fc58beea2a53b29faec4d849d974996af273d2.tar.gz
freebsd-ports-gnome-24fc58beea2a53b29faec4d849d974996af273d2.tar.zst
freebsd-ports-gnome-24fc58beea2a53b29faec4d849d974996af273d2.zip
Stagify.
Diffstat (limited to 'mail')
-rw-r--r--mail/pine-pgp-filters/Makefile19
-rw-r--r--mail/pine-pgp-filters/files/patch-Makefile.in28
2 files changed, 34 insertions, 13 deletions
diff --git a/mail/pine-pgp-filters/Makefile b/mail/pine-pgp-filters/Makefile
index 71f4b3f243be..2ddd8ff8976e 100644
--- a/mail/pine-pgp-filters/Makefile
+++ b/mail/pine-pgp-filters/Makefile
@@ -10,15 +10,13 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple /bin/sh-based filters to use GnuPG with Alpine
+RUN_DEPENDS= alpine:${PORTSDIR}/mail/alpine
+
+PORTDOCS= BUGS CHANGES INSTALL LICENSE README
PLIST_FILES= bin/ppf_mime bin/ppf_mime_decrypt \
libexec/ppf_decrypt libexec/ppf_encrypt libexec/ppf_mime \
libexec/ppf_mime_decrypt libexec/ppf_sign libexec/ppf_verify
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
-RUN_DEPENDS= alpine:${PORTSDIR}/mail/alpine
-
# We want to be version-agnostic here, but also record the right dependency
# if the user installs the package and already has one or the other installed.
.if exists(${LOCALBASE}/bin/gpg2)
@@ -35,15 +33,10 @@ verify: checksum
do-configure:
@(cd ${WRKSRC} && ./configure --prefix=${PREFIX})
-PORTDOCS= BUGS CHANGES INSTALL LICENSE README
-
post-install:
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for file in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
- @${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/mail/pine-pgp-filters/files/patch-Makefile.in b/mail/pine-pgp-filters/files/patch-Makefile.in
new file mode 100644
index 000000000000..b8a29a180486
--- /dev/null
+++ b/mail/pine-pgp-filters/files/patch-Makefile.in
@@ -0,0 +1,28 @@
+--- Makefile.in.orig 2014-08-27 11:21:39.552449460 +0800
++++ Makefile.in 2014-08-27 11:22:32.666448424 +0800
+@@ -9,18 +9,18 @@ all:
+ done
+
+ install: all
+- @if [ ! -d @@PREFIX@@/libexec ]; then \
+- install -d -m 755 @@PREFIX@@/libexec; \
++ @if [ ! -d $(DESTDIR)@@PREFIX@@/libexec ]; then \
++ install -d -m 755 $(DESTDIR)@@PREFIX@@/libexec; \
+ fi
+
+- install -m 555 $$PWD/out/ppf_* @@PREFIX@@/libexec
++ install -m 555 $$PWD/out/ppf_* $(DESTDIR)@@PREFIX@@/libexec
+
+- @if [ ! -d @@PREFIX@@/bin ]; then \
+- install -d -m 755 @@PREFIX@@/bin; \
++ @if [ ! -d $(DESTDIR)@@PREFIX@@/bin ]; then \
++ install -d -m 755 $(DESTDIR)@@PREFIX@@/bin; \
+ fi
+
+- ln -sf @@PREFIX@@/libexec/ppf_mime @@PREFIX@@/bin/ppf_mime
+- ln -sf @@PREFIX@@/libexec/ppf_mime_decrypt @@PREFIX@@/bin/ppf_mime_decrypt
++ ln -sf @@PREFIX@@/libexec/ppf_mime $(DESTDIR)@@PREFIX@@/bin/ppf_mime
++ ln -sf @@PREFIX@@/libexec/ppf_mime_decrypt $(DESTDIR)@@PREFIX@@/bin/ppf_mime_decrypt
+
+ clean:
+ @if [ -d "$$PWD/out" ]; then \