summaryrefslogtreecommitdiff
path: root/security/gnupg-idea
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2000-07-04 02:44:57 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2000-07-04 02:44:57 +0000
commitfb83c3ab066cfd5e170bf42b7efda5ab7c8a9aa3 (patch)
tree5b7e2f4c8360ea4bcc40f85269e8fcadae14db91 /security/gnupg-idea
parentAdd concorde, a combinatorial optimization library. (diff)
Fix workaround for USA_RESIDENT=YES condition.
Submitted by: dirk.meyer@dinoex.sub.org (maintainer) PR: ports/19608
Notes
Notes: svn path=/head/; revision=30154
Diffstat (limited to 'security/gnupg-idea')
-rw-r--r--security/gnupg-idea/Makefile24
-rw-r--r--security/gnupg-idea/pkg-comment2
2 files changed, 17 insertions, 9 deletions
diff --git a/security/gnupg-idea/Makefile b/security/gnupg-idea/Makefile
index b4ca7ddc8393..65c1c4eb11a4 100644
--- a/security/gnupg-idea/Makefile
+++ b/security/gnupg-idea/Makefile
@@ -25,18 +25,14 @@ pre-fetch:
@${ECHO_MSG} You must set variable USA_RESIDENT to YES, if you are USA resident
@${ECHO_MSG} or to NO, if you aren\'t USA resident to build this package
@${FALSE}
-.endif
+
+.include <bsd.port.mk>
+
+.elif defined(USA_RESIDENT)
.if ${USA_RESIDENT} == NO
DISTFILES= rsa.c idea.c
CONTRIB= rsa idea
-#EXTRACT_ONLY=
-.else
-do-fetch:
- @${ECHO_MSG}
- @${ECHO_MSG} rsaref not yet supported
- @${FALSE}
-.endif
.include <bsd.port.pre.mk>
@@ -58,3 +54,15 @@ do-install:
.endfor
.include <bsd.port.post.mk>
+
+.else
+pre-fetch:
+ @${ECHO_MSG}
+ @${ECHO_MSG} rsaref is not supported in this port
+ @${FALSE}
+
+.include <bsd.port.mk>
+
+.endif
+
+.endif
diff --git a/security/gnupg-idea/pkg-comment b/security/gnupg-idea/pkg-comment
index a42b94b4e0af..c13a56e27bd3 100644
--- a/security/gnupg-idea/pkg-comment
+++ b/security/gnupg-idea/pkg-comment
@@ -1 +1 @@
-gnupg extensions: rsa idea
+Extensions gnupg: rsa idea