[Midnightbsd-cvs] mports: mail/pine-pgp-filters: This isn't ready for magus yet, but it
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sun May 11 10:51:41 EDT 2008
Log Message:
-----------
This isn't ready for magus yet, but it should work with regular users.
gpg2 is looked for in FAKE_DESTDIR PREFIX due to the way the "configure" script works. I've added /usr/local/bin to the search path. Ideally we should check LOCALBASE.
Modified Files:
--------------
mports/mail/pine-pgp-filters:
Makefile (r1.6 -> r1.7)
Added Files:
-----------
mports/mail/pine-pgp-filters/files:
patch-configure (r1.1)
-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/mail/pine-pgp-filters/Makefile,v
retrieving revision 1.6
retrieving revision 1.7
diff -L mail/pine-pgp-filters/Makefile -L mail/pine-pgp-filters/Makefile -u -r1.6 -r1.7
--- mail/pine-pgp-filters/Makefile
+++ mail/pine-pgp-filters/Makefile
@@ -8,10 +8,10 @@
PORTNAME= pine-pgp-filters
PORTVERSION= 1.6
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail security
MASTER_SITES= http://dougbarton.us/PGP/scripts/ppf/ \
- ${MASTER_SITE_LOCAL}
+ ${MASTER_SITE_FREEBSD_LOCAL}
MASTER_SITE_SUBDIR= dougb
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.asc
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
@@ -35,6 +35,7 @@
gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.asc
do-configure:
+ @${MKDIR} ${FAKE_DESTDIR}${PREFIX}/libexec
@(cd ${WRKSRC} && ./configure --prefix=${FAKE_DESTDIR}${PREFIX})
post-install:
--- /dev/null
+++ mail/pine-pgp-filters/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Sun May 11 10:46:16 2008
++++ configure Sun May 11 10:48:00 2008
+@@ -40,7 +40,7 @@
+ fi
+
+ for bin in gpg2 gpg; do
+- for dir in ${PREFIX}/bin /usr/bin /bin; do
++ for dir in ${PREFIX}/bin /usr/local/bin /usr/bin /bin; do
+ if [ -x "${dir}/${bin}" ]; then
+ if ${dir}/${bin} --version >/dev/null 2>&1; then
+ gpg="${dir}/${bin}"
More information about the Midnightbsd-cvs
mailing list