aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-11-07 18:08:49 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-11-07 18:08:49 +0000
commitb12dacd05aa963d4902cb96722ea5d81f2f4fcf9 (patch)
tree596e9e748ebbcb33c68c1a6f5a08512759d05048 /security
parent2a09fc7f1c64e29c06c645cf5d488ba9677de3c5 (diff)
downloadports-b12dacd05aa963d4902cb96722ea5d81f2f4fcf9.tar.gz
ports-b12dacd05aa963d4902cb96722ea5d81f2f4fcf9.zip
Notes
Diffstat (limited to 'security')
-rw-r--r--security/john/Makefile9
-rw-r--r--security/john/pkg-message4
2 files changed, 7 insertions, 6 deletions
diff --git a/security/john/Makefile b/security/john/Makefile
index b6c9f44d0aaa..5542dc6832b0 100644
--- a/security/john/Makefile
+++ b/security/john/Makefile
@@ -47,7 +47,7 @@ do-configure:
${WRKDIR}/${DISTNAME}/run/john.ini.in > ${WRKDIR}/${DISTNAME}/run/john.ini
do-install:
- @${MKDIR} ${PREFIX}/share/john
+ @${MKDIR} ${DATADIR}
@${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME}/run/john ${PREFIX}/bin
@cd ${PREFIX}/bin ; ${LN} -sf john xtract
@cd ${PREFIX}/bin ; ${LN} -sf john unshadow
@@ -57,10 +57,11 @@ do-install:
${WRKDIR}/${DISTNAME}/run/digits.chr \
${WRKDIR}/${DISTNAME}/run/password.lst \
${WRKDIR}/${DISTNAME}/run/john.ini \
- ${PREFIX}/share/john
+ ${DATADIR}
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/john
- @${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/* ${PREFIX}/share/doc/john
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/* ${DOCSDIR}
.endif
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
diff --git a/security/john/pkg-message b/security/john/pkg-message
index f8a5a51375a7..fa8b0b78a30f 100644
--- a/security/john/pkg-message
+++ b/security/john/pkg-message
@@ -1,2 +1,2 @@
-Before running John the Ripper, copy <install_path>/share/ucfjohn/john.ini
-to the current directory.
+Before running John the Ripper, copy $LOCALBASE/share/john/john.ini
+to the current directory. By default $LOCALBASE is /usr/local.