aboutsummaryrefslogtreecommitdiff
path: root/security/gnupg-idea
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-10-09 20:03:15 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-10-09 20:03:15 +0000
commit49ba1538bdd5a1245018b6f030b43cb05b9a1bd8 (patch)
tree263e10e26bab439a4fb81018c2dcd61b87d9b8a6 /security/gnupg-idea
parent07bce7395407085d683a79b9ffb23b5af0c28979 (diff)
downloadports-49ba1538bdd5a1245018b6f030b43cb05b9a1bd8.tar.gz
ports-49ba1538bdd5a1245018b6f030b43cb05b9a1bd8.zip
Notes
Diffstat (limited to 'security/gnupg-idea')
-rw-r--r--security/gnupg-idea/Makefile14
-rw-r--r--security/gnupg-idea/distinfo3
2 files changed, 11 insertions, 6 deletions
diff --git a/security/gnupg-idea/Makefile b/security/gnupg-idea/Makefile
index 76d0c20b22fa..ae652351e4c0 100644
--- a/security/gnupg-idea/Makefile
+++ b/security/gnupg-idea/Makefile
@@ -6,15 +6,16 @@
#
PORTNAME= gnupg-idea
-PORTVERSION= 1.0.2
+PORTVERSION= 1.0.3
CATEGORIES= security
MASTER_SITES= ftp://ftp.gnupg.org/pub/gcrypt/%SUBDIR%/ \
http://www.gnupg.dk/contrib-dk/ \
${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/gnupg/&,}
MASTER_SITE_SUBDIR= contrib
-DISTFILES= ${CONTRIB:S|$|.c|}
+DISTFILES= # later
DIST_SUBDIR= ${PORTNAME}
EXTRACT_ONLY= # none
+EXTRACT_AFTER_ARGS= > ${WRKSRC}/idea.c
MAINTAINER= dinoex@FreeBSD.org
@@ -40,8 +41,11 @@ pre-fetch:
.if ${USA_RESIDENT} == NO || defined(MAKE_IDEA)
CONTRIB= idea rsa
+DISTFILES= idea.c.gz rsa.c
+EXTRACT_ONLY= idea.c.gz
.else
CONTRIB= rsa
+DISTFILES= rsa.c
pre-fetch:
@${ECHO_MSG}
@@ -67,12 +71,14 @@ do-patch:
do-build:
.for i in ${CONTRIB}
${CC} ${CFLAGS} -o ${WRKSRC}/${i} ${WRKSRC}/${i}.c
- ${ECHO_CMD} "libexec/gnupg/${i}" >>${PLIST}
+ ${ECHO_CMD} "lib/gnupg/${i}" >>${PLIST}
.endfor
+ ${ECHO_CMD} "@dirrm lib/gnupg" >>${PLIST}
do-install:
+ ${MKDIR} ${PREFIX}/lib/gnupg
.for i in ${CONTRIB}
- ${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/libexec/gnupg/${i}
+ ${INSTALL_PROGRAM} ${WRKSRC}/${i} ${PREFIX}/lib/gnupg/${i}
.endfor
.include <bsd.port.post.mk>
diff --git a/security/gnupg-idea/distinfo b/security/gnupg-idea/distinfo
index a41c7aa5dc7e..8b37c0b16f0f 100644
--- a/security/gnupg-idea/distinfo
+++ b/security/gnupg-idea/distinfo
@@ -1,3 +1,2 @@
-MD5 (gnupg-idea/idea.c) = c5935abff3d78cccf1e365b4d7ecfeeb
-MD5 (gnupg-idea/idea.c) = 782c4be308090abd3fd1507bde870d28
+MD5 (gnupg-idea/idea.c.gz) = 05efff7f130bd99ae17c1d5ee1d18835
MD5 (gnupg-idea/rsa.c) = d8b6f26df0e3e0ccd93c2d0589d8766f