aboutsummaryrefslogtreecommitdiffstats
path: root/russian/pgp.language
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-06-26 23:00:37 +0800
committerache <ache@FreeBSD.org>1995-06-26 23:00:37 +0800
commitc527a48351c1f1460b603cf55326fcc2ad321ccb (patch)
treeae8688bfc078432b1cdf9d2f559c10bbf9819d32 /russian/pgp.language
parent37e2f349039ed3e53c603f1b43faa214c40e59ff (diff)
downloadfreebsd-ports-gnome-c527a48351c1f1460b603cf55326fcc2ad321ccb.tar.gz
freebsd-ports-gnome-c527a48351c1f1460b603cf55326fcc2ad321ccb.tar.zst
freebsd-ports-gnome-c527a48351c1f1460b603cf55326fcc2ad321ccb.zip
Remove NO_PACKAGE, it depends now on USA_RESIDENT variable
which must be set to YES or NO to build this package
Diffstat (limited to 'russian/pgp.language')
-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}