View | Details | Raw Unified | Return to bug 50235
Collapse All | Expand All

(-)./Makefile (-1 lines)
Lines 314-320 Link Here
314
	@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/generate-plist > ${PLIST}
314
	@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/generate-plist > ${PLIST}
315
315
316
post-install:
316
post-install:
317
	@strip ${PREFIX}/bin/mutt
318
.if !defined(NOPORTDOCS)
317
.if !defined(NOPORTDOCS)
319
	@${ECHO} "===>   Installing Mutt documentation"
318
	@${ECHO} "===>   Installing Mutt documentation"
320
	@${MKDIR} ${PREFIX}/share/doc/mutt && \
319
	@${MKDIR} ${PREFIX}/share/doc/mutt && \
(-)./scripts/generate-plist (-41 / +38 lines)
Lines 59-65 Link Here
59
EOF
59
EOF
60
60
61
if [ "$MUTT_PORTDOCS" = "yes" ]; then
61
if [ "$MUTT_PORTDOCS" = "yes" ]; then
62
cat >> $tmp_first <<EOF
62
  cat >> $tmp_first <<EOF
63
share/doc/mutt/ABOUT-NLS
63
share/doc/mutt/ABOUT-NLS
64
share/doc/mutt/COPYRIGHT
64
share/doc/mutt/COPYRIGHT
65
share/doc/mutt/ChangeLog
65
share/doc/mutt/ChangeLog
Lines 111-161 Link Here
111
share/doc/mutt/samples/iconv/iconv.solaris-2.6.rc
111
share/doc/mutt/samples/iconv/iconv.solaris-2.6.rc
112
share/doc/mutt/samples/iconv/iconv.solaris-2.7.rc
112
share/doc/mutt/samples/iconv/iconv.solaris-2.7.rc
113
EOF
113
EOF
114
fi
115
114
116
if [ "$MUTT_NNTP" = "yes" ]; then
117
echo "share/doc/mutt/ChangeLog.nntp" >> $tmp_first
118
fi
119
if [ "$MUTT_SGML" = "yes" ]; then
120
echo "share/doc/mutt/manual.latin1" >> $tmp_first
121
echo "share/doc/mutt/manual.ps" >> $tmp_first
122
fi
123
124
if [ "$MUTT_HTML" = "yes" ]; then
125
  html=366
126
  if [ "$MUTT_COMPRESSED_FOLDERS" = "yes" ]; then
127
    html=$(($html + 5))
128
  fi
129
  if [ "$MUTT_NNTP" = "yes" ]; then
115
  if [ "$MUTT_NNTP" = "yes" ]; then
130
    html=$(($html + 22))
116
    echo "share/doc/mutt/ChangeLog.nntp" >> $tmp_first
131
  fi
132
  if [ "$MUTT_QUOTE_PATCH" = "yes" ]; then
133
    html=$(($html + 2))
134
  fi
135
  if [ "$MUTT_EDIT_THREADS" = "yes" ]; then
136
    html=$(($html + 3))
137
  fi
117
  fi
138
  if [ "$MUTT_SIGNATURE_MENU" = "yes" ]; then
118
  if [ "$MUTT_SGML" = "yes" ]; then
139
    html=$(($html + 1))
119
    echo "share/doc/mutt/manual.latin1" >> $tmp_first
120
    echo "share/doc/mutt/manual.ps" >> $tmp_first
140
  fi
121
  fi
141
  if [ "$MUTT_IFDEF_PATCH" = "yes" ]; then
142
    html=$(($html + 1))
143
  fi
144
  if [ "$MUTT_PGP_PATCH" = "yes" ]; then
145
    html=$(($html + 2))
146
  fi
147
  echo "share/doc/mutt/html/manual.html" >> $tmp_first
148
  echo "share/doc/mutt/html/manual_toc.html" >> $tmp_first 
149
  i=1
150
  while [ $i -le $html ]; do
151
    echo "share/doc/mutt/html/manual$i.html" >> $tmp_first 
152
    i=$(($i + 1))
153
  done
154
  echo "@dirrm share/doc/mutt/html" >> $tmp_last
155
fi
156
122
157
if [ "$MUTT_PORTDOCS" = "yes" ]; then
123
  if [ "$MUTT_HTML" = "yes" ]; then
158
cat >> $tmp_last <<EOF
124
    html=366
125
    if [ "$MUTT_COMPRESSED_FOLDERS" = "yes" ]; then
126
      html=$(($html + 5))
127
    fi
128
    if [ "$MUTT_NNTP" = "yes" ]; then
129
      html=$(($html + 22))
130
    fi
131
    if [ "$MUTT_QUOTE_PATCH" = "yes" ]; then
132
      html=$(($html + 2))
133
    fi
134
    if [ "$MUTT_EDIT_THREADS" = "yes" ]; then
135
      html=$(($html + 3))
136
    fi
137
    if [ "$MUTT_SIGNATURE_MENU" = "yes" ]; then
138
      html=$(($html + 1))
139
    fi
140
    if [ "$MUTT_IFDEF_PATCH" = "yes" ]; then
141
      html=$(($html + 1))
142
    fi
143
    if [ "$MUTT_PGP_PATCH" = "yes" ]; then
144
      html=$(($html + 2))
145
    fi
146
    echo "share/doc/mutt/html/manual.html" >> $tmp_first
147
    echo "share/doc/mutt/html/manual_toc.html" >> $tmp_first 
148
    i=1
149
    while [ $i -le $html ]; do
150
      echo "share/doc/mutt/html/manual$i.html" >> $tmp_first 
151
      i=$(($i + 1))
152
    done
153
    echo "@dirrm share/doc/mutt/html" >> $tmp_last
154
  fi
155
  cat >> $tmp_last <<EOF
159
@dirrm share/doc/mutt/samples/iconv
156
@dirrm share/doc/mutt/samples/iconv
160
@dirrm share/doc/mutt/samples
157
@dirrm share/doc/mutt/samples
161
@dirrm share/doc/mutt
158
@dirrm share/doc/mutt

Return to bug 50235