blob: 811a33b9d5be9d428bd5e14f6a503c9dcf607144 (
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
40
41
42
43
44
45
46
47
48
49
50
|
# $NetBSD: Makefile,v 1.12 2005/11/03 20:41:43 rillig Exp $
#
DISTNAME= john-1.6
PKGREVISION= 1
CATEGORIES= security textproc
MASTER_SITES= http://www.openwall.com/john/
MAINTAINER= DawS@irc.pl
HOMEPAGE= http://www.openwall.com/john/
COMMENT= Unix Password Cracker
NO_CONFIGURE= yes
BUILD_DIRS= src
.include "../../mk/compiler.mk"
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS" && ${MACHINE_ARCH} == "sparc"
. if !empty(CC_VERSION:MSun)
. if defined(SPARC_TARGET_ARCH) && ${SPARC_TARGET_ARCH} == "sparcv9"
BUILD_TARGET= solaris-sparc-v9-cc
. else
BUILD_TARGET= solaris-sparc-v8-cc
. endif
. else
BUILD_TARGET= solaris-sparc-gcc
. endif
.elif ${OPSYS} == "SunOS" && ${MACHINE_ARCH} == "i386"
BUILD_TARGET= solaris-x86-any
.else
BUILD_TARGET= generic
.endif
INSTALLATION_DIRS= bin
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/run/john ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/john
${INSTALL_DATA} ${WRKSRC}/run/all.chr ${PREFIX}/share/john
${INSTALL_DATA} ${WRKSRC}/run/alpha.chr ${PREFIX}/share/john
${INSTALL_DATA} ${WRKSRC}/run/digits.chr ${PREFIX}/share/john
${INSTALL_DATA} ${WRKSRC}/run/john.ini ${PREFIX}/share/john
${INSTALL_DATA} ${WRKSRC}/run/mailer ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/run/password.lst ${PREFIX}/share/john
${LN} -sf ${PREFIX}/bin/john ${PREFIX}/bin/unafs
${LN} -sf ${PREFIX}/bin/john ${PREFIX}/bin/unique
${LN} -sf ${PREFIX}/bin/john ${PREFIX}/bin/unshadow
.include "../../mk/bsd.pkg.mk"
|