summaryrefslogtreecommitdiff
path: root/security/rc5des/Makefile
blob: a68cb4a625853611a7336ed64a3f19a7764ab382 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# $NetBSD: Makefile,v 1.4 2000/02/05 05:01:26 wiz Exp $
#

DISTNAME=		rc5-mlg-004
PKGNAME=		rc5des-0.4
CATEGORIES=		security
MASTER_SITES=		http://www.flame.org/netbsd-rc5/

MAINTAINER=		packages@netbsd.org
HOMEPAGE=		http://rc5.distributed.net/

ONLY_FOR_PLATFORM=	NetBSD-*-alpha NetBSD-*-arm32 NetBSD-*-i386

RESTRICTED=		"Crypto; export-controlled"
MIRROR_DISTFILE=	no

WRKSRC=			${WRKDIR}/RC5

NO_CONFIGURE=		yes

# agc - this is commented out until I can test that it works.
#post-patch:
#	@(hostname=`/bin/hostname`;					\
#	fqdn=`/usr/sbin/host $$hostname | ${AWK} '{ print $$1; exit }'`; \
#	${MV} ${WRKSRC}/master.ini ${WRKSRC}/master.ini.in;		\
#	${SED} -e 's|your\.site|'$$fqdn'|g' ${WRKSRC}/master.ini.in > ${WRKSRC}/master.ini)

do-build:
	cd ${WRKSRC}; ${RM} -f master.ini.orig rc5.sh.orig

# agc - commented out until the above is tested.
#do-build:
#	cd ${WRKSRC}; ${RM} -f master.ini.orig master.ini.in rc5.sh.orig

do-install:
	${MKDIR} ${PREFIX}/RC5
	cd ${WRKSRC}; ${PAX} -r -w . ${PREFIX}/RC5

.include "../../mk/bsd.pkg.mk"