aboutsummaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2013-12-29 16:00:22 +0800
committerdinoex <dinoex@FreeBSD.org>2013-12-29 16:00:22 +0800
commit357082fbb3d0dd70c822766fc5b4d12805619d52 (patch)
tree8fc9dbd908ae53284260834732a886bc1b1ee10e /news
parente8ff34d8b2147362c213e6745861c5e045e39d98 (diff)
downloadfreebsd-ports-gnome-357082fbb3d0dd70c822766fc5b4d12805619d52.tar.gz
freebsd-ports-gnome-357082fbb3d0dd70c822766fc5b4d12805619d52.tar.zst
freebsd-ports-gnome-357082fbb3d0dd70c822766fc5b4d12805619d52.zip
- new options PGP2 PGPIN PGPGPG
- do not default to security/pgp, which is broken on amd64
Diffstat (limited to 'news')
-rw-r--r--news/cnews/Makefile16
1 files changed, 15 insertions, 1 deletions
diff --git a/news/cnews/Makefile b/news/cnews/Makefile
index 2627e2bec1aa..25df1c5f8236 100644
--- a/news/cnews/Makefile
+++ b/news/cnews/Makefile
@@ -3,7 +3,7 @@
PORTNAME= cnews
PORTVERSION= cr.g
-PORTREVISION= 11
+PORTREVISION= 12
CATEGORIES= news
MASTER_SITES= ftp://ftp.cs.toronto.edu/pub/c-news/ \
ftp://ftp.funet.fi/pub/unix/news/cnews/ \
@@ -68,7 +68,13 @@ PLIST_SUB+= NEWSOV=${NEWSOV:S=^${VARBASE}/==}
PLIST_SUB+= NEWSCTL_FILES="${NEWSCTL_FILES}"
OPTIONS_DEFINE= SENDMAIL
+OPTIONS_DEFAULT=PGPGPG
+OPTIONS_SINGLE= VERIFY
+OPTIONS_SINGLE_VERIFY= PGP2 PGPIN PGPGPG
SENDMAIL_DESC= use sendmail instead of /bin/mail
+PGP2_DESC= use pgp-2.6.3ia for control messages
+PGPIN_DESC= use pgp-2.6.3in for control messages
+PGPGPG_DESC= use pgpgpg for control messages
VARBASE?= /var
NEWSBIN?= ${PREFIX}/libexec/cnews
@@ -97,6 +103,14 @@ pre-configure:
-e "s=/usr/local/bin=${PREFIX}/bin=" \
${WRKSRC}/${i}
.endfor
+.if ${PORT_OPTIONS:MPGPIN}
+ ${REINPLACE_CMD} -e "s|'/usr/local/bin/pgp'|'/usr/local/bin/pgpin'|" \
+ ${WRKSRC}/${PGPVERIFY}
+.endif
+.if ${PORT_OPTIONS:MPGPGPG}
+ ${REINPLACE_CMD} -e "s|'/usr/local/bin/pgp'|'/usr/local/bin/pgpgpg'|" \
+ ${WRKSRC}/${PGPVERIFY}
+.endif
do-install:
${INSTALL_DATA} ${WRKSRC}/libdbz/dbz.h ${STAGEDIR}${PREFIX}/include/