summaryrefslogtreecommitdiff
path: root/russian
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1995-06-26 15:00:37 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1995-06-26 15:00:37 +0000
commitba83f5a2728bd21d10536ed4e9f7bbe423d37565 (patch)
tree63ff4a31b2cc80c2242a874767e6c1328bbe2f64 /russian
parentRevised PLIST, with all the correct permissions and ownerships. (diff)
Remove NO_PACKAGE, it depends now on USA_RESIDENT variable
which must be set to YES or NO to build this package
Notes
Notes: svn path=/head/; revision=1893
Diffstat (limited to 'russian')
-rw-r--r--russian/pgp.language/Makefile22
1 files changed, 16 insertions, 6 deletions
diff --git a/russian/pgp.language/Makefile b/russian/pgp.language/Makefile
index 530df9b6aadb..7d99e1f52369 100644
--- a/russian/pgp.language/Makefile
+++ b/russian/pgp.language/Makefile
@@ -3,7 +3,7 @@
# Date created: 4 May 1995
# Whom: ache
#
-# $Id: Makefile,v 1.2 1995/05/12 09:43:57 asami Exp $
+# $Id: Makefile,v 1.3 1995/05/18 10:59:27 asami Exp $
#
DISTNAME= pgp26ru
@@ -14,11 +14,7 @@ EXTRACT_SUFX= .zip
MAINTAINER= ache@FreeBSD.ORG
-# depends on restricted stuff (pgp)
-NO_PACKAGE= yes
-
-EXEC_DEPENDS= unzip:${PORTSDIR}/archivers/unzip \
- pgp:${PORTSDIR}/utils/pgp.non-usa_only
+EXEC_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
EXTRACT_CMD= unzip
EXTRACT_ARGS= -q
NO_WRKSUBDIR= YES
@@ -29,6 +25,20 @@ NO_BUILD= YES
PGPLIB= ${PREFIX}/lib/pgp
OBJS= language.txt ru.hlp
+.if !defined(USA_RESIDENT) || ${USA_RESIDENT} != YES && ${USA_RESIDENT} != NO
+exec_depends:
+ @echo
+ @echo You must set variable USA_RESIDENT to YES, if you are USA resident
+ @echo or to NO, if you aren\'t USA resident to build this package
+ @false
+.elif defined(USA_RESIDENT)
+.if ${USA_RESIDENT} == YES
+EXEC_DEPENDS += pgp:${PORTSDIR}/utils/pgp.usa_only
+.else
+EXEC_DEPENDS += pgp:${PORTSDIR}/utils/pgp.non-usa_only
+.endif
+.endif
+
do-install:
[ -d ${PGPLIB} ] || mkdir -p ${PGPLIB}
cd ${WRKSRC}; install -c -o bin -g bin -m 444 ${OBJS} ${PGPLIB}