1 |
< |
# $MidnightBSD: mports/multimedia/ffmpeg/Makefile,v 1.8 2011/09/05 16:08:16 laffer1 Exp $ |
1 |
> |
# $MidnightBSD$ |
2 |
> |
# $FreeBSD: ports/multimedia/ffmpeg/Makefile,v 1.135 2011/08/22 21:14:34 mm Exp $ |
3 |
|
|
4 |
|
PORTNAME= ffmpeg |
5 |
< |
PORTVERSION= 0.6.1 |
5 |
< |
PORTREVISION= 1 |
5 |
> |
PORTVERSION= 0.7.3 |
6 |
|
PORTEPOCH= 1 |
7 |
|
CATEGORIES= multimedia audio ipv6 net |
8 |
|
MASTER_SITES= http://ffmpeg.org/releases/ |
9 |
|
|
10 |
|
MAINTAINER= ports@MidnightBSD.org |
11 |
|
COMMENT= Realtime audio/video encoder/converter and streaming server |
12 |
< |
LICENSE= gpl2 |
12 |
> |
LICENSE= gpl3 |
13 |
|
|
14 |
< |
BUILD_DEPENDS= yasm:${PORTSDIR}/devel/yasm |
14 |
> |
BUILD_DEPENDS= yasm:${PORTSDIR}/devel/yasm \ |
15 |
> |
${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils |
16 |
|
|
17 |
+ |
CONFLICTS= ffmpeg-20* |
18 |
+ |
|
19 |
|
HAS_CONFIGURE= yes |
20 |
|
CONFIGURE_LOG= config.err |
21 |
|
USE_BZIP2= yes |
23 |
|
MAKE_JOBS_SAFE= yes |
24 |
|
WANT_SDL= yes |
25 |
|
|
26 |
< |
OPTIONS= AMR_NB "AMR Narrow Band encoder (opencore)" off \ |
27 |
< |
AMR_WB "AMR Wide Band encoder (opencore)" off \ |
26 |
> |
OPTIONS= ALSA "Enable alsa input/output device" off \ |
27 |
> |
AMR_NB "AMR Narrow Band audio encoder (opencore)" off \ |
28 |
> |
AMR_WB "AMR Wide Band audio decoder (opencore)" off \ |
29 |
> |
CELT "Enable CELT/Opus decoding via libcelt" off \ |
30 |
|
DIRAC "Dirac codec via libdirac" off \ |
31 |
|
FAAC "FAAC mp4/aac audio encoder" off \ |
27 |
– |
FAAD "FAAD mp4/aac audio decoder" on \ |
32 |
|
FFSERVER "Build and install ffserver" on \ |
33 |
+ |
FREETYPE "Text on top of video frames (freetype2)" on \ |
34 |
+ |
FREI0R "Frei0r wrapper filter" on \ |
35 |
|
GSM "GSM audio codec" off \ |
36 |
|
LAME "LAME MP3 encoder" off \ |
37 |
+ |
OPENCV "OpenCV video filtering support" on \ |
38 |
|
OPENJPEG "JPEG 2000 decoder" off \ |
39 |
|
OPTIMIZED_CFLAGS "Additional optimizations" off \ |
40 |
+ |
RTMP "RTMP[E] support via librtmp" off \ |
41 |
|
SCHROEDINGER "Dirac codec via libschroedinger" on \ |
42 |
|
SDL "SDL support (build ffplay)" off \ |
43 |
|
SPEEX "Speex audio decoder" off \ |
36 |
– |
SSSE3 "Enable ssse3 support" on \ |
44 |
|
THEORA "Theora encoder (implies OGG)" on \ |
45 |
+ |
VAAPI "GPU acceleration support (libva)" off \ |
46 |
+ |
VDPAU "Nvidia vdpau support" off \ |
47 |
+ |
VO_AACENC "AAC audio encoder (vo-aacenc)" off \ |
48 |
+ |
VO_AMRWBENC "AMR Wide Band audio encoder (vo-amrwbenc)" off \ |
49 |
|
VORBIS "Vorbis encoder via libvorbis (implies OGG)" on \ |
50 |
< |
X264 "H.264 encoder" off \ |
50 |
> |
VP8 "VP8 codec via libvpx" on \ |
51 |
> |
X264 "H.264 encoder" on \ |
52 |
|
XVID "Xvid encoder via xvidcore" on |
53 |
|
|
54 |
|
COMPAT_HEADERS=libavcodec/avcodec.h \ |
80 |
|
|
81 |
|
.include <bsd.port.pre.mk> |
82 |
|
|
83 |
+ |
CONFIGURE_ENV+= COMPILER_PATH=${LOCALBASE}/bin |
84 |
+ |
MAKE_ENV+= COMPILER_PATH=${LOCALBASE}/bin |
85 |
+ |
|
86 |
|
CONFIGURE_ARGS+=--prefix="${PREFIX}" \ |
87 |
|
--mandir="${PREFIX}/man" \ |
88 |
|
--enable-shared \ |
89 |
|
--enable-gpl \ |
90 |
|
--enable-postproc \ |
91 |
|
--enable-avfilter \ |
77 |
– |
--enable-avfilter-lavf \ |
92 |
|
--enable-pthreads \ |
93 |
|
--enable-x11grab \ |
94 |
|
--enable-memalign-hack \ |
95 |
+ |
--enable-runtime-cpudetect \ |
96 |
|
--cc="${CC}" \ |
97 |
|
--extra-cflags="${FFMPEG_CFLAGS} -I${LOCALBASE}/include" \ |
98 |
|
--extra-ldflags="-L${LOCALBASE}/lib ${FFMPEG_LDFLAGS}" \ |
99 |
< |
--extra-libs="${PTHREAD_LIBS}" \ |
85 |
< |
--disable-debug |
99 |
> |
--extra-libs="${PTHREAD_LIBS}" |
100 |
|
SHLIB_VER= 1 |
101 |
|
PLIST_SUB= SHLIB_VER=${SHLIB_VER} |
102 |
|
USE_LDCONFIG= yes |
103 |
|
|
104 |
< |
DOC_FILES= Changelog COPYING.GPLv2 COPYING.GPLv3 COPYING.LGPLv2.1 \ |
91 |
< |
COPYING.LGPLv3 CREDITS INSTALL LICENSE MAINTAINERS README \ |
92 |
< |
RELEASE |
104 |
> |
DOC_FILES= CREDITS INSTALL LICENSE MAINTAINERS README RELEASE |
105 |
|
# under doc subdirectory |
106 |
< |
DOC_DOCFILES= APIchanges TODO avutil.txt developer.html faq.html \ |
95 |
< |
ffmpeg_powerpc_performance_evaluation_howto.txt \ |
96 |
< |
ffmpeg-doc.html ffplay-doc.html ffprobe-doc.html \ |
97 |
< |
ffserver-doc.html general.html issue_tracker.txt \ |
98 |
< |
libavfilter.html optimization.txt rate_distortion.txt \ |
99 |
< |
snow.txt soc.txt swscale.txt tablegen.txt viterbi.txt |
106 |
> |
DOC_DOCFILES= APIchanges RELEASE_NOTES TODO *.txt *.html |
107 |
|
PORTDOCS= * |
108 |
|
|
109 |
< |
.if !defined(WITHOUT_SSSE3) |
110 |
< |
BUILD_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils |
111 |
< |
CONFIGURE_ENV+= COMPILER_PATH=${LOCALBASE}/bin |
112 |
< |
MAKE_ENV+= COMPILER_PATH=${LOCALBASE}/bin |
109 |
> |
.if !defined(WITH_DEBUG) |
110 |
> |
CONFIGURE_ARGS+= --disable-debug |
111 |
> |
.else |
112 |
> |
CONFIGURE_ARGS+= --disable-stripping |
113 |
|
.endif |
114 |
|
|
115 |
< |
.ifndef(WITHOUT_FFSERVER) |
115 |
> |
.if !defined(WITHOUT_FFSERVER) |
116 |
|
USE_RC_SUBR= ffserver |
117 |
|
.endif |
118 |
|
|
135 |
|
.endif |
136 |
|
|
137 |
|
# PORTDOCS |
138 |
< |
.ifndef(NOPORTDOCS) |
138 |
> |
.if !defined(NOPORTDOCS) |
139 |
|
BUILD_DEPENDS+= texi2html:${PORTSDIR}/textproc/texi2html |
140 |
|
MAN1+= ffmpeg.1 ffprobe.1 |
141 |
< |
. ifndef(WITHOUT_FFSERVER) |
141 |
> |
. if !defined(WITHOUT_FFSERVER) |
142 |
|
MAN1+= ffserver.1 |
143 |
|
. endif |
144 |
|
.endif |
148 |
|
CFLAGS+= -O3 -ffast-math -fno-finite-math-only -fomit-frame-pointer |
149 |
|
.endif |
150 |
|
|
151 |
< |
# amr |
152 |
< |
.if defined(WITH_AMR_NB) || defined (WITH_AMR_WB) |
153 |
< |
LIB_DEPENDS+= opencore-amrnb.0:${PORTSDIR}/audio/opencore-amr |
151 |
> |
#alsa |
152 |
> |
.if defined(WITH_ALSA) |
153 |
> |
LIB_DEPENDS+= asound.2:${PORTSDIR}/audio/alsa-lib |
154 |
> |
.else |
155 |
> |
CONFIGURE_ARGS+= --disable-indev=alsa \ |
156 |
> |
--disable-outdev=alsa |
157 |
|
.endif |
158 |
|
|
159 |
< |
.ifdef(WITH_AMR_NB) |
160 |
< |
CONFIGURE_ARGS+= --enable-libopencore-amrnb --enable-version3 |
159 |
> |
# Opencore AMR NB |
160 |
> |
.if defined(WITH_AMR_NB) |
161 |
> |
LIB_DEPENDS+= opencore-amrnb.0:${PORTSDIR}/audio/opencore-amr |
162 |
> |
CONFIGURE_ARGS+= --enable-libopencore-amrnb |
163 |
|
.else |
164 |
|
CONFIGURE_ARGS+= --disable-libopencore-amrnb |
165 |
|
.endif |
166 |
|
|
167 |
< |
.ifdef(WITH_AMR_WB) |
168 |
< |
CONFIGURE_ARGS+= --enable-libopencore-amrwb --enable-version3 |
167 |
> |
# Opencore AMR WB |
168 |
> |
.if defined(WITH_AMR_WB) |
169 |
> |
LIB_DEPENDS+= opencore-amrwb.0:${PORTSDIR}/audio/opencore-amr |
170 |
> |
CONFIGURE_ARGS+= --enable-libopencore-amrwb |
171 |
|
.else |
172 |
|
CONFIGURE_ARGS+= --disable-libopencore-amrwb |
173 |
|
.endif |
174 |
|
|
175 |
+ |
# celt |
176 |
+ |
.if defined(WITH_CELT) |
177 |
+ |
LIB_DEPENDS+= celt0.2:${PORTSDIR}/audio/celt |
178 |
+ |
CONFIGURE_ARGS+= --enable-libcelt |
179 |
+ |
.else |
180 |
+ |
CONFIGURE_ARGS+= --disable-libcelt |
181 |
+ |
.endif |
182 |
+ |
|
183 |
|
# dirac |
184 |
< |
.ifdef(WITH_DIRAC) |
184 |
> |
.if defined(WITH_DIRAC) |
185 |
|
LIB_DEPENDS+= dirac_encoder.1:${PORTSDIR}/multimedia/dirac |
186 |
|
CONFIGURE_ARGS+= --enable-libdirac |
187 |
|
.else |
189 |
|
.endif |
190 |
|
|
191 |
|
# faac |
192 |
< |
.ifdef(WITH_FAAC) |
192 |
> |
.if defined(WITH_FAAC) |
193 |
> |
RESTRICTED= linking to libfaac restricts redistribution |
194 |
|
LIB_DEPENDS+= faac.0:${PORTSDIR}/audio/faac |
195 |
|
CONFIGURE_ARGS+= --enable-libfaac --enable-nonfree |
196 |
|
.else |
197 |
|
CONFIGURE_ARGS+= --disable-libfaac |
198 |
|
.endif |
199 |
|
|
177 |
– |
# faad |
178 |
– |
.ifndef(WITHOUT_FAAD) |
179 |
– |
LIB_DEPENDS+= faad.2:${PORTSDIR}/audio/faad |
180 |
– |
CONFIGURE_ARGS+= --enable-libfaad \ |
181 |
– |
--enable-libfaadbin |
182 |
– |
.else |
183 |
– |
CONFIGURE_ARGS+= --disable-libfaad |
184 |
– |
.endif |
185 |
– |
|
200 |
|
# ffserver |
201 |
< |
.ifndef(WITHOUT_FFSERVER) |
201 |
> |
.if !defined(WITHOUT_FFSERVER) |
202 |
|
PLIST_SUB+= FFSERVER="" |
203 |
|
.else |
204 |
|
PLIST_SUB+= FFSERVER="@comment " |
205 |
|
CONFIGURE_ARGS+= --disable-ffserver |
206 |
|
.endif |
207 |
|
|
208 |
+ |
# freetype |
209 |
+ |
.if !defined(WITHOUT_FREETYPE) |
210 |
+ |
LIB_DEPENDS+= freetype.9:${PORTSDIR}/print/freetype2 |
211 |
+ |
CONFIGURE_ARGS+= --enable-libfreetype |
212 |
+ |
.else |
213 |
+ |
CONFIGURE_ARGS+= --disable-libfreetype |
214 |
+ |
.endif |
215 |
+ |
|
216 |
+ |
# frei0r |
217 |
+ |
.if !defined(WITHOUT_FREI0R) |
218 |
+ |
BUILD_DEPENDS+= ${LOCALBASE}/include/frei0r.h:${PORTSDIR}/graphics/frei0r |
219 |
+ |
CONFIGURE_ARGS+= --enable-frei0r |
220 |
+ |
.else |
221 |
+ |
CONFIGURE_ARGS+= --disable-frei0r |
222 |
+ |
.endif |
223 |
+ |
|
224 |
|
# gsm |
225 |
< |
.ifdef(WITH_GSM) |
225 |
> |
.if defined(WITH_GSM) |
226 |
|
LIB_DEPENDS+= gsm.1:${PORTSDIR}/audio/gsm |
227 |
|
CONFIGURE_ARGS+= --enable-libgsm |
228 |
|
.else |
230 |
|
.endif |
231 |
|
|
232 |
|
# mp3 |
233 |
< |
.ifdef(WITH_LAME) |
233 |
> |
.if defined(WITH_LAME) |
234 |
|
LIB_DEPENDS+= mp3lame.0:${PORTSDIR}/audio/lame |
235 |
|
CONFIGURE_ARGS+= --enable-libmp3lame |
236 |
|
.else |
237 |
|
CONFIGURE_ARGS+= --disable-libmp3lame |
238 |
|
.endif |
239 |
|
|
240 |
+ |
# opencv |
241 |
+ |
.if !defined(WITHOUT_OPENCV) |
242 |
+ |
LIB_DEPENDS+= opencv_imgproc.2:${PORTSDIR}/graphics/opencv-core |
243 |
+ |
CONFIGURE_ARGS+= --enable-libopencv |
244 |
+ |
.else |
245 |
+ |
CONFIGURE_ARGS+= --disable-libopencv |
246 |
+ |
.endif |
247 |
+ |
|
248 |
|
# openjpeg |
249 |
< |
.ifdef(WITH_OPENJPEG) |
249 |
> |
.if defined(WITH_OPENJPEG) |
250 |
|
LIB_DEPENDS+= openjpeg.2:${PORTSDIR}/graphics/openjpeg |
251 |
|
CONFIGURE_ARGS+= --enable-libopenjpeg |
252 |
|
.else |
253 |
|
CONFIGURE_ARGS+= --disable-libopenjpeg |
254 |
|
.endif |
255 |
|
|
256 |
+ |
# rtmp |
257 |
+ |
.if defined(WITH_RTMP) |
258 |
+ |
LIB_DEPENDS+= rtmp.0:${PORTSDIR}/multimedia/rtmpdump |
259 |
+ |
CONFIGURE_ARGS+= --enable-librtmp |
260 |
+ |
.else |
261 |
+ |
CONFIGURE_ARGS+= --disable-librtmp |
262 |
+ |
.endif |
263 |
+ |
|
264 |
|
# schroedinger |
265 |
< |
.ifndef(WITHOUT_SCHROEDINGER) |
265 |
> |
.if !defined(WITHOUT_SCHROEDINGER) |
266 |
|
LIB_DEPENDS+= schroedinger-1.0.10:${PORTSDIR}/multimedia/schroedinger |
267 |
|
CONFIGURE_ARGS+= --enable-libschroedinger |
268 |
|
.else |
270 |
|
.endif |
271 |
|
|
272 |
|
# sdl |
273 |
< |
.ifdef(WITH_SDL) |
273 |
> |
.if defined(WITH_SDL) |
274 |
|
USE_SDL+= sdl |
275 |
|
PLIST_FILES+= bin/ffplay |
276 |
|
.if !defined(NOPORTDOCS) |
281 |
|
.endif |
282 |
|
|
283 |
|
# speex |
284 |
< |
.ifdef(WITH_SPEEX) |
284 |
> |
.if defined(WITH_SPEEX) |
285 |
|
LIB_DEPENDS+= speex.1:${PORTSDIR}/audio/speex |
286 |
|
CONFIGURE_ARGS+= --enable-libspeex |
287 |
|
.else |
289 |
|
.endif |
290 |
|
|
291 |
|
# theora |
292 |
< |
.ifndef(WITHOUT_THEORA) |
292 |
> |
.if !defined(WITHOUT_THEORA) |
293 |
|
LIB_DEPENDS+= theora.0:${PORTSDIR}/multimedia/libtheora |
294 |
|
CONFIGURE_ARGS+= --enable-libtheora |
295 |
|
.else |
296 |
|
CONFIGURE_ARGS+= --disable-libtheora |
297 |
|
.endif |
298 |
|
|
299 |
+ |
# vaapi |
300 |
+ |
.if !defined(WITHOUT_VAAPI) |
301 |
+ |
LIB_DEPENDS+= va.1:${PORTSDIR}/multimedia/libva |
302 |
+ |
CONFIGURE_ARGS+= --enable-vaapi |
303 |
+ |
.else |
304 |
+ |
CONFIGURE_ARGS+= --disable-vaapi |
305 |
+ |
.endif |
306 |
+ |
|
307 |
+ |
# vdpau |
308 |
+ |
.if !defined(WITHOUT_VDPAU) |
309 |
+ |
BUILD_DEPENDS+= ${LOCALBASE}/include/vdpau/vdpau.h:${PORTSDIR}/multimedia/libvdpau |
310 |
+ |
CONFIGURE_ARGS+= --enable-vdpau |
311 |
+ |
.else |
312 |
+ |
CONFIGURE_ARGS+= --disable-vdpau |
313 |
+ |
.endif |
314 |
+ |
|
315 |
+ |
# vo-aacenc |
316 |
+ |
.if defined(WITH_VO_AACENC) |
317 |
+ |
LIB_DEPENDS+= vo-aacenc.0:${PORTSDIR}/audio/vo-aacenc |
318 |
+ |
CONFIGURE_ARGS+= --enable-libvo-aacenc |
319 |
+ |
.else |
320 |
+ |
CONFIGURE_ARGS+= --disable-libvo-aacenc |
321 |
+ |
.endif |
322 |
+ |
|
323 |
+ |
# vo-amrwbenc |
324 |
+ |
.if defined(WITH_VO_AMRWBENC) |
325 |
+ |
LIB_DEPENDS+= vo-amrwbenc.0:${PORTSDIR}/audio/vo-amrwbenc |
326 |
+ |
CONFIGURE_ARGS+= --enable-libvo-amrwbenc |
327 |
+ |
.else |
328 |
+ |
CONFIGURE_ARGS+= --disable-libvo-amrwbenc |
329 |
+ |
.endif |
330 |
+ |
|
331 |
|
# vorbis |
332 |
< |
.ifndef(WITHOUT_VORBIS) |
332 |
> |
.if !defined(WITHOUT_VORBIS) |
333 |
|
LIB_DEPENDS+= vorbisenc.2:${PORTSDIR}/audio/libvorbis |
334 |
|
CONFIGURE_ARGS+= --enable-libvorbis |
335 |
|
FFMPEG_CFLAGS+= -I${LOCALBASE}/include/vorbis |
337 |
|
CONFIGURE_ARGS+= --disable-libvorbis |
338 |
|
.endif |
339 |
|
|
340 |
+ |
# vp8 |
341 |
+ |
.if !defined(WITHOUT_VP8) |
342 |
+ |
LIB_DEPENDS+= vpx.0:${PORTSDIR}/multimedia/libvpx |
343 |
+ |
CONFIGURE_ARGS+= --enable-libvpx |
344 |
+ |
.else |
345 |
|
CONFIGURE_ARGS+= --disable-libvpx |
346 |
+ |
.endif |
347 |
|
|
348 |
|
# x264 |
349 |
< |
.ifndef(WITHOUT_X264) |
350 |
< |
LIB_DEPENDS+= x264.50:${PORTSDIR}/multimedia/x264 |
349 |
> |
.if !defined(WITHOUT_X264) |
350 |
> |
LIB_DEPENDS+= x264.115:${PORTSDIR}/multimedia/x264 |
351 |
|
CONFIGURE_ARGS+= --enable-libx264 |
352 |
|
.else |
353 |
|
CONFIGURE_ARGS+= --disable-libx264 |
354 |
|
.endif |
355 |
|
|
356 |
|
# xvid |
357 |
< |
.ifndef(WITHOUT_XVID) |
357 |
> |
.if !defined(WITHOUT_XVID) |
358 |
|
LIB_DEPENDS+= xvidcore.4:${PORTSDIR}/multimedia/xvid |
359 |
|
CONFIGURE_ARGS+= --enable-libxvid |
360 |
|
.else |
367 |
|
.endif |
368 |
|
|
369 |
|
post-patch: |
286 |
– |
# faad compat |
287 |
– |
@${REINPLACE_CMD} -e 's|faacD|NeAACD|' ${WRKSRC}/libavcodec/libfaad.c |
370 |
|
# {C,LD}FLAGS safeness |
371 |
< |
@${REINPLACE_CMD} -e 's|$$(LIBDIR)/pkgconfig|${FAKE_DESTDIR}${PREFIX}/libdata/pkgconfig|' \ |
371 |
> |
@${REINPLACE_CMD} -e 's|$$(LIBDIR)/pkgconfig|${PREFIX}/libdata/pkgconfig|' \ |
372 |
|
${WRKSRC}/subdir.mak |
373 |
|
@${REINPLACE_CMD} -e 's|/etc/ffserver.conf|${PREFIX}/etc/ffserver.conf|' \ |
374 |
|
${WRKSRC}/ffserver.c |
379 |
|
s|gsm/gsm.h|gsm.h|g" \ |
380 |
|
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} |
381 |
|
@${REINPLACE_CMD} -e 's|-ldl||; s|$$(LIBMAJOR)|${SHLIB_VER}|g;' \ |
382 |
+ |
-e 's|opencv opencv/cxcore.h|opencv-core opencv2/core/core_c.h|g' \ |
383 |
|
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} |
384 |
< |
.ifdef(WITH_SDL) |
384 |
> |
.if defined(WITH_SDL) |
385 |
|
@${REINPLACE_CMD} -E \ |
386 |
|
-e 's|sdl-config|${SDL_CONFIG}|g' \ |
387 |
|
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} |
391 |
|
.endif |
392 |
|
|
393 |
|
post-configure: |
394 |
< |
.ifdef(WITHOUT_THEORA) |
394 |
> |
.if defined(WITHOUT_THEORA) |
395 |
|
@${REINPLACE_CMD} -E \ |
396 |
|
-e 's|^(CONFIG_LIBTHEORA).*$$|\1=no|' \ |
397 |
|
${WRKSRC}/config.mak |
398 |
|
.endif |
399 |
|
|
400 |
|
post-install: |
401 |
< |
.ifndef(WITHOUT_FFSERVER) |
401 |
> |
.if !defined(WITHOUT_FFSERVER) |
402 |
|
${INSTALL_DATA} ${WRKSRC}/doc/ffserver.conf ${PREFIX}/etc/ffserver.conf-dist |
403 |
|
if [ ! -f ${PREFIX}/etc/ffserver.conf ]; then \ |
404 |
|
${INSTALL_DATA} ${WRKSRC}/doc/ffserver.conf ${PREFIX}/etc; \ |
405 |
|
fi |
406 |
|
.endif |
407 |
< |
.ifndef(NOPORTDOCS) |
407 |
> |
.if !defined(NOPORTDOCS) |
408 |
|
${MKDIR} ${DOCSDIR} |
409 |
|
.for FILE in ${DOC_FILES} |
410 |
|
${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} |