Lines 26-31
Link Here
|
26 |
|
27 |
|
27 |
CDIR= ${PREFIX}/ICAClient |
28 |
CDIR= ${PREFIX}/ICAClient |
28 |
BINDIR= ${PREFIX}/bin |
29 |
BINDIR= ${PREFIX}/bin |
|
|
30 |
CERTDIR= ${CDIR}/keystore/cacerts |
31 |
|
32 |
PLIST_SUB= MOZILLA_HOME=${MOZILLA_HOME} |
33 |
.if defined(ICA_CERTS) |
34 |
PLIST_SUB+= HAVE_ICA_CERTS="" ICA_CERTS="${ICA_CERTS}" CERTDIR="${CERTDIR}" |
35 |
.else |
36 |
PLIST_SUB+= HAVE_ICA_CERTS="@comment " |
37 |
.endif |
29 |
|
38 |
|
30 |
NSCP= ${LOCALBASE}/libexec/netscape \ |
39 |
NSCP= ${LOCALBASE}/libexec/netscape \ |
31 |
${LOCALBASE}/libexec/netscape-linux \ |
40 |
${LOCALBASE}/libexec/netscape-linux \ |
Lines 35-42
Link Here
|
35 |
${LOCALBASE}/lib/netscape-linux \ |
44 |
${LOCALBASE}/lib/netscape-linux \ |
36 |
${MOZILLA_HOME} |
45 |
${MOZILLA_HOME} |
37 |
|
46 |
|
38 |
PLIST_SUB= MOZILLA_HOME=${MOZILLA_HOME} |
|
|
39 |
|
40 |
.include <bsd.port.pre.mk> |
47 |
.include <bsd.port.pre.mk> |
41 |
|
48 |
|
42 |
.if exists(${PREFIX}/bin/kde-config) |
49 |
.if exists(${PREFIX}/bin/kde-config) |
Lines 60-65
Link Here
|
60 |
@${FALSE} |
67 |
@${FALSE} |
61 |
.endif |
68 |
.endif |
62 |
|
69 |
|
|
|
70 |
.if defined(ICA_CERTS) |
71 |
pre-fetch: |
72 |
.for f in ${ICA_CERTS} |
73 |
@echo "Checking ${f}" |
74 |
.if !exists(${DISTDIR}/${f}) |
75 |
@echo "Cert ${f} not found." |
76 |
@exit 1 |
77 |
.endif |
78 |
.endfor |
79 |
.endif |
80 |
|
81 |
|
63 |
do-install: |
82 |
do-install: |
64 |
@if (test -d "${CDIR}") ; \ |
83 |
@if (test -d "${CDIR}") ; \ |
65 |
then \ |
84 |
then \ |
Lines 80-83
Link Here
|
80 |
${INSTALL_SCRIPT} ${WRKSRC}/wfica.x ${PREFIX}/bin/wfica |
99 |
${INSTALL_SCRIPT} ${WRKSRC}/wfica.x ${PREFIX}/bin/wfica |
81 |
# XXX: This is missing a "${BRANDELF} -t Linux <executables>". |
100 |
# XXX: This is missing a "${BRANDELF} -t Linux <executables>". |
82 |
|
101 |
|
|
|
102 |
.if defined(ICA_CERTS) |
103 |
.for f in ${ICA_CERTS} |
104 |
${INSTALL_DATA} ${DISTDIR}/${f} ${CERTDIR} |
105 |
.endfor |
106 |
.endif |
107 |
|
83 |
.include <bsd.port.post.mk> |
108 |
.include <bsd.port.post.mk> |