Merge from vendor branch TNF:
[pkgsrc.git] / security / rc5des / Makefile
1 # $NetBSD: Makefile,v 1.3 1999/06/20 21:06:21 tron Exp $
2 #
3
4 DISTNAME=               rc5-mlg-004
5 PKGNAME=                rc5des-0.4
6 CATEGORIES=             security
7 MASTER_SITES=           http://www.flame.org/netbsd-rc5/
8
9 MAINTAINER=             packages@netbsd.org
10 HOMEPAGE=               http://rc5.distributed.net/
11
12 ONLY_FOR_PLATFORM=      NetBSD-*-alpha NetBSD-*-arm32 NetBSD-*-i386
13
14 RESTRICTED=             "Crypto; export-controlled"
15 MIRROR_DISTFILE=        no
16
17 WRKSRC=                 ${WRKDIR}/RC5
18
19 NO_CONFIGURE=           yes
20
21 # agc - this is commented out until I can test that it works.
22 #post-patch:
23 #       @(hostname=`/bin/hostname`;                                     \
24 #       fqdn=`/usr/sbin/host $$hostname | ${AWK} '{ print $$1; exit }'`; \
25 #       ${MV} ${WRKSRC}/master.ini ${WRKSRC}/master.ini.in;             \
26 #       ${SED} -e 's|your\.site|'$$fqdn'|g' ${WRKSRC}/master.ini.in > ${WRKSRC}/master.ini)
27
28 do-build:
29         cd ${WRKSRC}; ${RM} -f master.ini.orig rc5.sh.orig
30
31 # agc - commented out until the above is tested.
32 #do-build:
33 #       cd ${WRKSRC}; ${RM} -f master.ini.orig master.ini.in rc5.sh.orig
34
35 do-install:
36         ${MKDIR} ${PREFIX}/RC5
37         cd ${WRKSRC}; ${PAX} -r -w . ${PREFIX}/RC5
38
39 .include "../../mk/bsd.pkg.mk"