diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-10-19 16:18:04 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-10-19 16:18:04 +0000 |
commit | a28417502aac4f7eef51427763b226a2691adaf0 (patch) | |
tree | 32b1cb9ef21a494577baa9427e8026e1cecc061c /multimedia/subtitleripper/Makefile | |
parent | cdc83d158cafde6b1fd7cff4c0566c0bff17e249 (diff) | |
download | ports-a28417502aac4f7eef51427763b226a2691adaf0.tar.gz ports-a28417502aac4f7eef51427763b226a2691adaf0.zip |
Enable stage
Cleanup
Notes
Notes:
svn path=/head/; revision=330900
Diffstat (limited to 'multimedia/subtitleripper/Makefile')
-rw-r--r-- | multimedia/subtitleripper/Makefile | 59 |
1 files changed, 11 insertions, 48 deletions
diff --git a/multimedia/subtitleripper/Makefile b/multimedia/subtitleripper/Makefile index 3d8c33f195ff..26c89e549eae 100644 --- a/multimedia/subtitleripper/Makefile +++ b/multimedia/subtitleripper/Makefile @@ -11,13 +11,14 @@ EXTRACT_SUFX= .tgz MAINTAINER= multimedia@FreeBSD.org COMMENT= Convert DVD subtitles into text format (subrip srt) or VobSub format -LIB_DEPENDS= netpbm:${PORTSDIR}/graphics/netpbm \ - png15:${PORTSDIR}/graphics/png +LIB_DEPENDS= libnetpbm.so:${PORTSDIR}/graphics/netpbm \ + libpng15.so:${PORTSDIR}/graphics/png RUN_DEPENDS= gocr:${PORTSDIR}/graphics/gocr \ xv:${PORTSDIR}/graphics/xv \ transcode:${PORTSDIR}/multimedia/transcode -USE_GMAKE= yes +USES= gmake + WRKSRC= ${WRKDIR}/${PORTNAME} DOC_FILES= \ @@ -40,7 +41,6 @@ PROGRAM_FILES= \ SCRIPT_FILES= \ pgm2txt -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -E \ -e 's|^(CC[[:space:]]*=).*$$|\1${CC}|' \ @@ -56,49 +56,12 @@ post-patch: -e 's|(gocr[[:space:]]+)|${LOCALBASE}/bin/\1|' \ ${WRKSRC}/pgm2txt -.include <bsd.port.pre.mk> - -## -# PLIST -## -.ifndef(NOPORTDOCS) -. for file in ${DOC_FILES} -PORTDOCS+= ${file} -. endfor -.endif -# -PLIST_DIRS+= %%EXAMPLESDIR%% -.for file in ${EXAMPLES_FILES} -PLIST_FILES+= %%EXAMPLESDIR%%/${file} -.endfor -# -.for file in ${PROGRAM_FILES} -PLIST_FILES+= bin/${file} -.endfor -# -.for file in ${SCRIPT_FILES} -PLIST_FILES+= bin/${file} -.endfor - -## -# install -## do-install: -.ifndef(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} -. for file in ${DOC_FILES} - @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} -. endfor -.endif - @${MKDIR} ${EXAMPLESDIR} -.for file in ${EXAMPLES_FILES} - @${INSTALL_SCRIPT} ${WRKSRC}/${file} ${EXAMPLESDIR} -.endfor -.for file in ${PROGRAM_FILES} - @${INSTALL_PROGRAM} ${WRKSRC}/${file} ${PREFIX}/bin -.endfor -.for file in ${SCRIPT_FILES} - @${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/bin -.endfor + ${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}; ${INSTALL_DATA} ${DOC_FILES} ${STAGEDIR}${DOCSDIR} + ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + cd ${WRKSRC}; ${INSTALL_SCRIPT} ${EXAMPLES_FILES} ${STAGEDIR}${EXAMPLESDIR} + cd ${WRKSRC}; ${INSTALL_PROGRAM} ${PROGRAM_FILES} ${STAGEDIR}${PREFIX}/bin + cd ${WRKSRC}; ${INSTALL_SCRIPT} ${SCRIPT_FILES} ${STAGEDIR}${PREFIX}/bin -.include <bsd.port.post.mk> +.include <bsd.port.mk> |