1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00

- HTML files are needed by the GUI built-in documentation system and shall

not depend on NOPORTDOCS.

Reported by:	Ports Fury (via private e-mail)
This commit is contained in:
Pietro Cerutti 2008-07-04 21:43:08 +00:00
parent cd6295d6fb
commit f8faa0d838
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=216315
4 changed files with 46 additions and 42 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= qtpfsgui
PORTVERSION= 1.9.2
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= SF
@ -23,23 +24,24 @@ LIB_DEPENDS= exiv2.3:${PORTSDIR}/graphics/exiv2 \
USE_QT_VER= 4
QT_COMPONENTS= corelib gui imageformats \
linguist_build moc_build qmake_build rcc_build uic_build
INSTALL_TARGET= install_target install_menu install_icon install_i18n
INSTALLS_ICONS= yes
LRELEASE= ${QT_PREFIX}/bin/lrelease-qt4
.if !defined(NOPORTOOCS)
INSTALL_TARGET+=install_htmls
.endif
post-patch:
@${REINPLACE_CMD} -e '/^QMAKE_CXXFLAGS/d ; \
s|PREFIX =.*$$|PREFIX = ${PREFIX}|g ; \
/^INSTALLS/s|docs||g' ${WRKSRC}/project.pro
s|PREFIX =.*$$|PREFIX = ${PREFIX}|g' ${WRKSRC}/project.pro
.for file in src/MainWindow/mainWindow.cpp \
src/Preferences/preferencesDialog.cpp \
src/TransplantExif/transplant.cpp
@${REINPLACE_CMD} -e 's|/usr/local/share/qtpfsgui/|${DATADIR}/|g' \
@${REINPLACE_CMD} -e 's|/usr/local/share/qtpfsgui/|${DOCSDIR}/|g' \
${WRKSRC}/${file}
.endfor
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e '316s|htmls||' ${WRKSRC}/project.pro
.endif
do-configure:
@${LRELEASE} ${WRKSRC}/project.pro

View File

@ -6,21 +6,21 @@ share/icons/hicolor/48x48/apps/qtpfsgui.png
%%PORTDOCS%%%%DOCSDIR%%/Changelog
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%%%DOCSDIR%%/html/dcraw.html
%%PORTDOCS%%%%DOCSDIR%%/html/faq.html
%%PORTDOCS%%%%DOCSDIR%%/html/hints.html
%%PORTDOCS%%%%DOCSDIR%%/html/images/batch-1.jpg
%%PORTDOCS%%%%DOCSDIR%%/html/images/copy_exif.jpeg
%%PORTDOCS%%%%DOCSDIR%%/html/images/mainwin.jpeg
%%PORTDOCS%%%%DOCSDIR%%/html/images/projectiveTransformationDialog.jpeg
%%PORTDOCS%%%%DOCSDIR%%/html/images/raw_conversion.jpg
%%PORTDOCS%%%%DOCSDIR%%/html/images/resize.jpeg
%%PORTDOCS%%%%DOCSDIR%%/html/images/snap-qt4_4.jpeg
%%PORTDOCS%%%%DOCSDIR%%/html/images/snap-qt4_5.jpeg
%%PORTDOCS%%%%DOCSDIR%%/html/images/snap-qt4_6.jpeg
%%PORTDOCS%%%%DOCSDIR%%/html/images/tonemapdialog.jpeg
%%PORTDOCS%%%%DOCSDIR%%/html/index.html
%%PORTDOCS%%%%DOCSDIR%%/html/manual.html
%%DOCSDIR%%/html/dcraw.html
%%DOCSDIR%%/html/faq.html
%%DOCSDIR%%/html/hints.html
%%DOCSDIR%%/html/images/batch-1.jpg
%%DOCSDIR%%/html/images/copy_exif.jpeg
%%DOCSDIR%%/html/images/mainwin.jpeg
%%DOCSDIR%%/html/images/projectiveTransformationDialog.jpeg
%%DOCSDIR%%/html/images/raw_conversion.jpg
%%DOCSDIR%%/html/images/resize.jpeg
%%DOCSDIR%%/html/images/snap-qt4_4.jpeg
%%DOCSDIR%%/html/images/snap-qt4_5.jpeg
%%DOCSDIR%%/html/images/snap-qt4_6.jpeg
%%DOCSDIR%%/html/images/tonemapdialog.jpeg
%%DOCSDIR%%/html/index.html
%%DOCSDIR%%/html/manual.html
%%DATADIR%%/i18n/lang_cs.qm
%%DATADIR%%/i18n/lang_de.qm
%%DATADIR%%/i18n/lang_es.qm

View File

@ -7,6 +7,7 @@
PORTNAME= qtpfsgui
PORTVERSION= 1.9.2
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= SF
@ -23,23 +24,24 @@ LIB_DEPENDS= exiv2.3:${PORTSDIR}/graphics/exiv2 \
USE_QT_VER= 4
QT_COMPONENTS= corelib gui imageformats \
linguist_build moc_build qmake_build rcc_build uic_build
INSTALL_TARGET= install_target install_menu install_icon install_i18n
INSTALLS_ICONS= yes
LRELEASE= ${QT_PREFIX}/bin/lrelease-qt4
.if !defined(NOPORTOOCS)
INSTALL_TARGET+=install_htmls
.endif
post-patch:
@${REINPLACE_CMD} -e '/^QMAKE_CXXFLAGS/d ; \
s|PREFIX =.*$$|PREFIX = ${PREFIX}|g ; \
/^INSTALLS/s|docs||g' ${WRKSRC}/project.pro
s|PREFIX =.*$$|PREFIX = ${PREFIX}|g' ${WRKSRC}/project.pro
.for file in src/MainWindow/mainWindow.cpp \
src/Preferences/preferencesDialog.cpp \
src/TransplantExif/transplant.cpp
@${REINPLACE_CMD} -e 's|/usr/local/share/qtpfsgui/|${DATADIR}/|g' \
@${REINPLACE_CMD} -e 's|/usr/local/share/qtpfsgui/|${DOCSDIR}/|g' \
${WRKSRC}/${file}
.endfor
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e '316s|htmls||' ${WRKSRC}/project.pro
.endif
do-configure:
@${LRELEASE} ${WRKSRC}/project.pro

View File

@ -6,21 +6,21 @@ share/icons/hicolor/48x48/apps/qtpfsgui.png
%%PORTDOCS%%%%DOCSDIR%%/Changelog
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%%%DOCSDIR%%/html/dcraw.html
%%PORTDOCS%%%%DOCSDIR%%/html/faq.html
%%PORTDOCS%%%%DOCSDIR%%/html/hints.html
%%PORTDOCS%%%%DOCSDIR%%/html/images/batch-1.jpg
%%PORTDOCS%%%%DOCSDIR%%/html/images/copy_exif.jpeg
%%PORTDOCS%%%%DOCSDIR%%/html/images/mainwin.jpeg
%%PORTDOCS%%%%DOCSDIR%%/html/images/projectiveTransformationDialog.jpeg
%%PORTDOCS%%%%DOCSDIR%%/html/images/raw_conversion.jpg
%%PORTDOCS%%%%DOCSDIR%%/html/images/resize.jpeg
%%PORTDOCS%%%%DOCSDIR%%/html/images/snap-qt4_4.jpeg
%%PORTDOCS%%%%DOCSDIR%%/html/images/snap-qt4_5.jpeg
%%PORTDOCS%%%%DOCSDIR%%/html/images/snap-qt4_6.jpeg
%%PORTDOCS%%%%DOCSDIR%%/html/images/tonemapdialog.jpeg
%%PORTDOCS%%%%DOCSDIR%%/html/index.html
%%PORTDOCS%%%%DOCSDIR%%/html/manual.html
%%DOCSDIR%%/html/dcraw.html
%%DOCSDIR%%/html/faq.html
%%DOCSDIR%%/html/hints.html
%%DOCSDIR%%/html/images/batch-1.jpg
%%DOCSDIR%%/html/images/copy_exif.jpeg
%%DOCSDIR%%/html/images/mainwin.jpeg
%%DOCSDIR%%/html/images/projectiveTransformationDialog.jpeg
%%DOCSDIR%%/html/images/raw_conversion.jpg
%%DOCSDIR%%/html/images/resize.jpeg
%%DOCSDIR%%/html/images/snap-qt4_4.jpeg
%%DOCSDIR%%/html/images/snap-qt4_5.jpeg
%%DOCSDIR%%/html/images/snap-qt4_6.jpeg
%%DOCSDIR%%/html/images/tonemapdialog.jpeg
%%DOCSDIR%%/html/index.html
%%DOCSDIR%%/html/manual.html
%%DATADIR%%/i18n/lang_cs.qm
%%DATADIR%%/i18n/lang_de.qm
%%DATADIR%%/i18n/lang_es.qm