blob: fe37d6c5dbe010bfd4a676948cd9b99362a2cd0c (
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
51
|
# $NetBSD: Makefile,v 1.10 2005/06/17 03:50:32 jlam 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
WRKSRC= ${WRKDIR}/${DISTNAME}/src
NO_CONFIGURE= # defined
.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"
|