# New ports collection Makefile for: qmmp # Date created: Fri Jan 30 01:13:20 JST 2009 # Whom: SimaMoto,RyoTa # # $FreeBSD$ # PORTNAME= qmmp PORTVERSION= 0.6.3 CATEGORIES= multimedia MASTER_SITES= http://qmmp.ylsoftware.com/files/ \ ${MASTER_SITE_GOOGLE_CODE} MAINTAINER= liangtai.s4@gmail.com COMMENT= A Qt4-based multimedia player LICENSE= GPLv2 USE_BZIP2= yes USE_CMAKE= yes USE_QT4= corelib gui network xml \ qmake_build rcc_build uic_build moc_build linguist_build USE_LDCONFIG= yes USE_PKGCONFIG= build OPTIONS_DEFINE= SKINNEDUI DIR_ASSOC APIDOC PULSEAUDIO ALSA OSS OSS4 \ JACK NULLOUT FLAC MUSEPACK FFMPEG MODPLUG WILDMIDI GME MAD \ VORBIS SNDFILE WAVPACK CUE CDIO FAAD LADSPA CROSSFADE BS2B \ STEREO SRCONV MPLAYER CURL MMS PROJECTM ANALYZER ENCA \ CONVERTER MPRIS SCROBBLER STATICON SB NOTIFIER LYRICS HOTKEY \ FILEOPS COVER KDENOTIFY HAL UDISKS QMMP_DIALOG OPTIONS_DEFAULT= SKINNEDUI DIR_ASSOC PULSEAUDIO ALSA OSS4 \ JACK NULLOUT FLAC MUSEPACK FFMPEG MODPLUG WILDMIDI GME MAD \ VORBIS SNDFILE WAVPACK CUE CDIO FAAD LADSPA CROSSFADE BS2B \ STEREO SRCONV MPLAYER CURL MMS PROJECTM ANALYZER ENCA \ CONVERTER MPRIS SCROBBLER STATICON SB NOTIFIER LYRICS HOTKEY \ FILEOPS COVER KDENOTIFY HAL UDISKS QMMP_DIALOG SKINNEDUI_DESC= Skinned GUI DIR_ASSOC_DESC= inode/directory mime type association APIDOC_DESC= Doxygen generated doc (libqmmp libqmmpui) OSS4_DESC= Open Sound System (ver4) support NULLOUT_DESC= Support a null output WILDMIDI_DESC= Support to playback MIDI files GME_DESC= Support video game music files CDIO_DESC= Support to playback compact discs CROSSFADE_DESC= Support cross-fade effect BS2B_DESC= Support the Bauer stereophonic2binaural effect STEREO_DESC= Support stereo effect SRCONV_DESC= Support the sample rate converter PROJECTM_DESC= Support the projectM music visualiser ANALYZER_DESC= Supoort spectrum analyzer visualization ENCA_DESC= Support automatic character set detection CONVERTER_DESC= Support file type converter MPRIS_DESC= Support the Media Player Remote SCROBBLER_DESC= Support Libre.fm/Last.fm scrobbler feature STATICON_DESC= Support to show status icon SB_DESC= Browser for IceCast stream directory NOTIFIER_DESC= Support to popup notifier LYRICS_DESC= Support to show lyrics using lyrics.wikia.com HOTKEY_DESC= Support to set shortcut keys FILEOPS_DESC= Support file operation COVER_DESC= Support to show cover images KDENOTIFY_DESC= Support to popup notifier for KDE UDISKS_DESC= Support removable disc detection using UDisks QMMP_DIALOG_DESC= An original dialog .include .if ${PORT_OPTIONS:MAPIDOC} BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen .endif .if ${PORT_OPTIONS:MSKINNEDUI} PLIST_SUB+= SKINNEDUI="" PLUGIN_OPTIONS_CMAKE+= -DUSE_SKINNED:BOOL=TRUE .else PLIST_SUB+= SKINNEDUI="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_SKINNED:BOOL=FALSE .endif .if ${PORT_OPTIONS:MDIR_ASSOC} PLIST_SUB+= DIR_ASSOC="" PLUGIN_OPTIONS_CMAKE+= -DUSE_DIR_ASSOC:BOOL=TRUE .else PLIST_SUB+= DIR_ASSOC="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_DIR_ASSOC:BOOL=FALSE .endif .if ${PORT_OPTIONS:MJACK} PLIST_SUB+= JACK="" LIB_DEPENDS+= jack:${PORTSDIR}/audio/jack BUILD_DEPENDS+= jackit>=0.121.2:${PORTSDIR}/audio/jack PLUGIN_OPTIONS_CMAKE+= -DUSE_JACK:BOOL=TRUE .else PLIST_SUB+= JACK="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_JACK:BOOL=FALSE .endif .if ${PORT_OPTIONS:MALSA} PLIST_SUB+= ALSA="" LIB_DEPENDS+= asound:${PORTSDIR}/audio/alsa-lib PLUGIN_OPTIONS_CMAKE+= -DUSE_ALSA:BOOL=TRUE .else PLIST_SUB+= ALSA="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_ALSA:BOOL=FALSE .endif .if ${PORT_OPTIONS:MBS2B} PLIST_SUB+= BS2B="" LIB_DEPENDS+= bs2b:${PORTSDIR}/audio/libbs2b PLUGIN_OPTIONS_CMAKE+= -DUSE_BS2B:BOOL=TRUE .else PLIST_SUB+= BS2B="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_BS2B:BOOL=FALSE .endif .if ${PORT_OPTIONS:MPULSEAUDIO} PLIST_SUB+= PULSE_AUDIO="" LIB_DEPENDS+= pulse:${PORTSDIR}/audio/pulseaudio PLUGIN_OPTIONS_CMAKE+= -DUSE_PULSE:BOOL=TRUE .else PLIST_SUB+= PULSE_AUDIO="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_PULSE:BOOL=FALSE .endif .if ${PORT_OPTIONS:MFLAC} PLIST_SUB+= FLAC="" LIB_DEPENDS+= FLAC:${PORTSDIR}/audio/flac PLUGIN_OPTIONS_CMAKE+= -DUSE_FLAC:BOOL=TRUE .else PLIST_SUB+= FLAC="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_FLAC:BOOL=FALSE .endif .if ${PORT_OPTIONS:MMUSEPACK} PLIST_SUB+= MUSEPACK="" LIB_DEPENDS+= mpcdec:${PORTSDIR}/audio/musepack PLUGIN_OPTIONS_CMAKE+= -DUSE_MPC:BOOL=TRUE .else PLIST_SUB+= MUSEPACK="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_MPC:BOOL=FALSE .endif .if ${PORT_OPTIONS:MGME} PLIST_SUB+= GME="" LIB_DEPENDS+= gme:${PORTSDIR}/audio/libgme PLUGIN_OPTIONS_CMAKE+= -DUSE_GME:BOOL=TRUE .else PLIST_SUB+= GME="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_GME:BOOL=FALSE .endif .if ${PORT_OPTIONS:MFFMPEG} PLIST_SUB+= FFMPEG="" . if exists(${LOCALBASE}/include/libavcodec/vda.h) LIB_DEPENDS+= avcodec:${PORTSDIR}/multimedia/ffmpeg-devel . else LIB_DEPENDS+= avcodec:${PORTSDIR}/multimedia/ffmpeg . endif PLUGIN_OPTIONS_CMAKE+= -DUSE_FFMPEG:BOOL=TRUE .else PLIST_SUB+= FFMPEG="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_FFMPEG:BOOL=FALSE .endif .if ${PORT_OPTIONS:MMODPLUG} PLIST_SUB+= MODPLUG="" LIB_DEPENDS+= modplug:${PORTSDIR}/audio/libmodplug PLUGIN_OPTIONS_CMAKE+= -DUSE_MODPLUG:BOOL=TRUE .else PLIST_SUB+= MODPLUG="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_MODPLUG:BOOL=FALSE .endif .if ${PORT_OPTIONS:MFAAD} PLIST_SUB+= FAAD="" LIB_DEPENDS+= faad:${PORTSDIR}/audio/faad PLUGIN_OPTIONS_CMAKE+= -DUSE_AAC:BOOL=TRUE .else PLIST_SUB+= FAAD="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_AAC:BOOL=FALSE .endif .if ${PORT_OPTIONS:MCDIO} PLIST_SUB+= CDIO="" LIB_DEPENDS+= cdio:${PORTSDIR}/sysutils/libcdio PLUGIN_OPTIONS_CMAKE+= -DUSE_CDA:BOOL=TRUE .else PLIST_SUB+= CDIO="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_CDA:BOOL=FALSE .endif .if ${PORT_OPTIONS:MENCA} || \ (exists(${LOCALBASE}/include/enca.h) && ${PORT_OPTIONS:MCUE}) PLIST_SUB+= ENCA="" LIB_DEPENDS+= enca:${PORTSDIR}/converters/enca PLUGIN_OPTIONS_CMAKE+= -DUSE_ENCA:BOOL=TRUE .else PLIST_SUB+= ENCA="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_ENCA:BOOL=FALSE .endif .if ${PORT_OPTIONS:MMPLAYER} PLIST_SUB+= MPLAYER="" RUN_DEPENDS+= mplayer:${PORTSDIR}/multimedia/mplayer PLUGIN_OPTIONS_CMAKE+= -DUSE_MPLAYER:BOOL=TRUE .else PLIST_SUB+= MPLAYER="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_MPLAYER:BOOL=FALSE .endif .if ${PORT_OPTIONS:MPROJECTM} PLIST_SUB+= PROJECTM="" LIB_DEPENDS+= projectM.2:${PORTSDIR}/graphics/libprojectm USE_QT4+= opengl PLUGIN_OPTIONS_CMAKE+= -DUSE_PROJECTM:BOOL=TRUE .else PLIST_SUB+= PROJECTM="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_PROJECTM:BOOL=FALSE .endif .if ${PORT_OPTIONS:MOSS} PLIST_SUB+= OSS="" PLUGIN_OPTIONS_CMAKE+= -DUSE_OSS:BOOL=TRUE .else PLIST_SUB+= OSS="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_OSS:BOOL=FALSE .endif .if ${PORT_OPTIONS:MOSS4} PLIST_SUB+= OSS4="" BUILD_DEPENDS+= ${LOCALBASE}/lib/oss/include/sys/soundcard.h:${PORTSDIR}/audio/oss PLUGIN_OPTIONS_CMAKE+= -DUSE_OSS4:BOOL=TRUE .else PLIST_SUB+= OSS4="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_OSS4:BOOL=FALSE .endif .if ${PORT_OPTIONS:MLADSPA} PLIST_SUB+= LADSPA="" RUN_DEPENDS+= analyseplugin:${PORTSDIR}/audio/ladspa PLUGIN_OPTIONS_CMAKE+= -DUSE_LADSPA:BOOL=TRUE .else PLIST_SUB+= LADSPA="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_LADSPA:BOOL=FALSE .endif .if ${PORT_OPTIONS:MWILDMIDI} PLIST_SUB+= WILDMIDI="" LIB_DEPENDS+= WildMidi:${PORTSDIR}/audio/wildmidi PLUGIN_OPTIONS_CMAKE+= -DUSE_MIDI:BOOL=TRUE .else PLIST_SUB+= WILDMIDI="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_MIDI:BOOL=FALSE .endif .if ${PORT_OPTIONS:MMAD} PLIST_SUB+= MAD="" LIB_DEPENDS+= mad:${PORTSDIR}/audio/libmad PLUGIN_OPTIONS_CMAKE+= -DUSE_MAD:BOOL=TRUE .else PLIST_SUB+= MAD="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_MAD:BOOL=FALSE .endif .if ${PORT_OPTIONS:MSNDFILE} PLIST_SUB+= SNDFILE="" LIB_DEPENDS+= sndfile:${PORTSDIR}/audio/libsndfile PLUGIN_OPTIONS_CMAKE+= -DUSE_SNDFILE:BOOL=TRUE .else PLIST_SUB+= SNDFILE="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_SNDFILE:BOOL=FALSE .endif .if ${PORT_OPTIONS:MVORBIS} PLIST_SUB+= VORBIS="" LIB_DEPENDS+= vorbis:${PORTSDIR}/audio/libvorbis PLUGIN_OPTIONS_CMAKE+= -DUSE_VORBIS:BOOL=TRUE .else PLIST_SUB+= VORBIS="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_VORBIS:BOOL=FALSE .endif .if ${PORT_OPTIONS:MWAVPACK} PLIST_SUB+= WAVPACK="" LIB_DEPENDS+= wavpack:${PORTSDIR}/audio/wavpack PLUGIN_OPTIONS_CMAKE+= -DUSE_WAVPACK:BOOL=TRUE .else PLIST_SUB+= WAVPACK="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_WAVPACK:BOOL=FALSE .endif .if ${PORT_OPTIONS:MCURL} PLIST_SUB+= CURL="" LIB_DEPENDS+= curl:${PORTSDIR}/ftp/curl PLUGIN_OPTIONS_CMAKE+= -DUSE_CURL:BOOL=TRUE .else PLIST_SUB+= CURL="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_CURL:BOOL=FALSE .endif .if ${PORT_OPTIONS:MMMS} PLIST_SUB+= MMS="" LIB_DEPENDS+= mms:${PORTSDIR}/net/libmms PLUGIN_OPTIONS_CMAKE+= -DUSE_MMS:BOOL=TRUE .else PLIST_SUB+= MMS="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_MMS:BOOL=FALSE .endif .if ${PORT_OPTIONS:MCUE} PLIST_SUB+= CUE="" PLUGIN_OPTIONS_CMAKE+= -DUSE_CUE:BOOL=TRUE .else PLIST_SUB+= CUE="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_CUE:BOOL=FALSE .endif .if ${PORT_OPTIONS:MNULLOUT} PLIST_SUB+= NULLOUT="" PLUGIN_OPTIONS_CMAKE+= -DUSE_NULL:BOOL=TRUE .else PLIST_SUB+= NULLOUT="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_NULL:BOOL=FALSE .endif .if ${PORT_OPTIONS:MSRCONV} PLIST_SUB+= SRCONV="" PLUGIN_OPTIONS_CMAKE+= -DUSE_SRC:BOOL=TRUE .else PLIST_SUB+= SRCONV="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_SRC:BOOL=FALSE .endif .if ${PORT_OPTIONS:MCROSSFADE} PLIST_SUB+= CROSSFADE="" PLUGIN_OPTIONS_CMAKE+= -DUSE_CROSSFADE:BOOL=TRUE .else PLIST_SUB+= CROSSFADE="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_CROSSFADE:BOOL=FALSE .endif .if ${PORT_OPTIONS:MSTEREO} PLIST_SUB+= STEREO="" PLUGIN_OPTIONS_CMAKE+= -DUSE_STEREO:BOOL=TRUE .else PLIST_SUB+= STEREO="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_STEREO:BOOL=FALSE .endif .if ${PORT_OPTIONS:MANALYZER} PLIST_SUB+= ANALYZER="" PLUGIN_OPTIONS_CMAKE+= -DUSE_ANALYZER:BOOL=TRUE .else PLIST_SUB+= ANALYZER="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_ANALYZER:BOOL=FALSE .endif .if ${PORT_OPTIONS:MCONVERTER} PLIST_SUB+= CONVERTER="" PLUGIN_OPTIONS_CMAKE+= -DUSE_CONVERTER:BOOL=TRUE .else PLIST_SUB+= CONVERTER="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_CONVERTER:BOOL=FALSE .endif .if ${PORT_OPTIONS:MMPRIS} PLIST_SUB+= MPRIS="" PLUGIN_OPTIONS_CMAKE+= -DUSE_MPRIS:BOOL=TRUE .else PLIST_SUB+= MPRIS="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_MPRIS:BOOL=FALSE .endif .if ${PORT_OPTIONS:MSCROBBLER} PLIST_SUB+= SCROBBLER="" PLUGIN_OPTIONS_CMAKE+= -DUSE_SCROBBLER:BOOL=TRUE .else PLIST_SUB+= SCROBBLER="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_SCROBBLER:BOOL=FALSE .endif .if ${PORT_OPTIONS:MSTATICON} PLIST_SUB+= STATICON="" PLUGIN_OPTIONS_CMAKE+= -DUSE_STATICON:BOOL=TRUE .else PLIST_SUB+= STATICON="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_STATICON:BOOL=FALSE .endif .if ${PORT_OPTIONS:MSB} PLIST_SUB+= SB="" PLUGIN_OPTIONS_CMAKE+= -DUSE_SB:BOOL=TRUE .else PLIST_SUB+= SB="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_SB:BOOL=FALSE .endif .if ${PORT_OPTIONS:MNOTIFIER} PLIST_SUB+= NOTIFIER="" PLUGIN_OPTIONS_CMAKE+= -DUSE_NOTIFIER:BOOL=TRUE .else PLIST_SUB+= NOTIFIER="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_NOTIFIER:BOOL=FALSE .endif .if ${PORT_OPTIONS:MLYRICS} PLIST_SUB+= LYRICS="" PLUGIN_OPTIONS_CMAKE+= -DUSE_LYRICS:BOOL=TRUE .else PLIST_SUB+= LYRICS="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_LYRICS:BOOL=FALSE .endif .if ${PORT_OPTIONS:MHAL} PLIST_SUB+= HAL="" PLUGIN_OPTIONS_CMAKE+= -DUSE_HAL:BOOL=TRUE .else PLIST_SUB+= HAL="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_HAL:BOOL=FALSE .endif .if ${PORT_OPTIONS:MHOTKEY} PLIST_SUB+= HOTKEY="" PLUGIN_OPTIONS_CMAKE+= -DUSE_HOTKEY:BOOL=TRUE .else PLIST_SUB+= HOTKEY="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_HOTKEY:BOOL=FALSE .endif .if ${PORT_OPTIONS:MFILEOPS} PLIST_SUB+= FILEOPS="" PLUGIN_OPTIONS_CMAKE+= -DUSE_FILEOPS:BOOL=TRUE .else PLIST_SUB+= FILEOPS="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_FILEOPS:BOOL=FALSE .endif .if ${PORT_OPTIONS:MCOVER} PLIST_SUB+= COVER="" PLUGIN_OPTIONS_CMAKE+= -DUSE_COVER:BOOL=TRUE .else PLIST_SUB+= COVER="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_COVER:BOOL=FALSE .endif .if ${PORT_OPTIONS:MKDENOTIFY} PLIST_SUB+= KDENOTIFY="" PLUGIN_OPTIONS_CMAKE+= -DUSE_KDENOTIFY:BOOL=TRUE .else PLIST_SUB+= KDENOTIFY="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_KDENOTIFY:BOOL=FALSE .endif .if ${PORT_OPTIONS:MUDISKS} PLIST_SUB+= UDISKS="" PLUGIN_OPTIONS_CMAKE+= -DUSE_UDISKS:BOOL=TRUE .else PLIST_SUB+= UDISKS="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_UDISKS:BOOL=FALSE .endif .if ${PORT_OPTIONS:MQMMP_DIALOG} PLIST_SUB+= QMMP_DIALOG="" PLUGIN_OPTIONS_CMAKE+= -DUSE_QMMP_DIALOG:BOOL=TRUE .else PLIST_SUB+= QMMP_DIALOG="@comment " PLUGIN_OPTIONS_CMAKE+= -DUSE_QMMP_DIALOG:BOOL=FALSE .endif .if ${PORT_OPTIONS:MFAAD} || ${PORT_OPTIONS:MMAD} \ || ${PORT_OPTIONS:MMUSEPACK} || ${PORT_OPTIONS:MFLAC} \ || ${PORT_OPTIONS:MVORBIS} || ${PORT_OPTIONS:MCONVERTER} LIB_DEPENDS+= tag:${PORTSDIR}/audio/taglib .endif .if ${PORT_OPTIONS:MKDENOTIFY} || ${PORT_OPTIONS:MUDISKS} \ || ${PORT_OPTIONS:MHAL} || ${PORT_OPTIONS:MMPRIS} USE_QT4+= dbus .endif PLIST_SUB+= SHLIB_VER=${PORTVERSION:C/-.*//} PORTDOCS= README README.RUS AUTHORS INSTALLS_ICONS= yes CMAKE_ARGS+= ${PLUGIN_OPTIONS_CMAKE} \ -DCMAKE_REQUIRED_INCLUDES:PATH=${LOCALBASE}/include CMAKE_OUTSOURCE=yes CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib post-patch: ${REINPLACE_CMD} -e 's|/usr/local/|${LOCALBASE}/|' \ ${WRKSRC}/src/plugins/Output/oss4/CMakeLists.txt ${REINPLACE_CMD} -e '/pkgconfig/s|$${LIB_DIR}|libdata|' \ ${WRKSRC}/src/qmmp/CMakeLists.txt \ ${WRKSRC}/src/qmmpui/CMakeLists.txt pre-configure: ${RM} -f ${BUILD_WRKSRC}/CMakeCache.txt post-build: .if ${PORT_OPTIONS:MAPIDOC} cd ${WRKSRC}/doc && doxygen Doxyfile .endif post-install: .ifndef(NOPORTDOCS) ${MKDIR} ${DOCSDIR}; \ cd ${WRKSRC} && ${INSTALL_MAN} ${PORTDOCS} ${DOCSDIR} .endif .if ${PORT_OPTIONS:MAPIDOC} ${MKDIR} ${DOCSDIR}/html/search ; \ cd ${WRKSRC}/doc/html && \ ${INSTALL_MAN} *.html *.png *.css ${DOCSDIR}/html ; \ cd ${WRKSRC}/doc/html/search && \ ${INSTALL_MAN} *.html *.png *.css *.js ${DOCSDIR}/html/search ; \ ${RM} -f ${WRKDIR}/PLIST.doc ; \ ${FIND} ${DOCSDIR}/html -type f | ${SED} 's|${PREFIX}/||' \ >> ${WRKDIR}/PLIST.doc ; \ ${FIND} ${DOCSDIR}/html -type d | ${SED} 's|${PREFIX}/|@dirrm |' \ | ${SORT} -r >> ${WRKDIR}/PLIST.doc ; \ cd ${WRKDIR} ; ${SED} -i -e '/PLIST.doc/ r PLIST.doc' ${TMPPLIST} .endif .include