svn commit: r366290 - in head/mail/pine-pgp-filters: . files
Vanilla I. Shu
vanilla at FreeBSD.org
Wed Aug 27 03:24:51 UTC 2014
Author: vanilla
Date: Wed Aug 27 03:24:50 2014
New Revision: 366290
URL: http://svnweb.freebsd.org/changeset/ports/366290
QAT: https://qat.redports.org/buildarchive/r366290/
Log:
Stagify.
Added:
head/mail/pine-pgp-filters/files/
head/mail/pine-pgp-filters/files/patch-Makefile.in (contents, props changed)
Modified:
head/mail/pine-pgp-filters/Makefile
Modified: head/mail/pine-pgp-filters/Makefile
==============================================================================
--- head/mail/pine-pgp-filters/Makefile Wed Aug 27 03:15:44 2014 (r366289)
+++ head/mail/pine-pgp-filters/Makefile Wed Aug 27 03:24:50 2014 (r366290)
@@ -10,15 +10,13 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= ports at 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>
Added: head/mail/pine-pgp-filters/files/patch-Makefile.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/mail/pine-pgp-filters/files/patch-Makefile.in Wed Aug 27 03:24:50 2014 (r366290)
@@ -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 \
More information about the svn-ports-all
mailing list