1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Stage support for all -reference ports

- Nuke NOPORTDOCS, those ports are already IGNOREd with NOPORTDOCS

Approved by:	kwm (maintainer)
This commit is contained in:
Antoine Brodin 2013-12-09 18:41:16 +00:00
parent 439521b0bc
commit a8dfb6bee8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=336013
43 changed files with 33 additions and 87 deletions

View File

@ -3,7 +3,6 @@
PORTREVISION= 1
NO_STAGE= yes
BOOKS= cspi idl
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"

View File

@ -3,7 +3,6 @@
PORTREVISION= 0
NO_STAGE= yes
REFERENCE_SRC= ${WRKSRC}/docs
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"

View File

@ -6,5 +6,4 @@ PORTEPOCH= 0
REFERENCE_SRC= ${WRKSRC}/doc/C
NO_STAGE= yes
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"

View File

@ -5,5 +5,4 @@ PORTREVISION= 1
REFERENCE_SRC= ${WRKSRC}/doc/C
NO_STAGE= yes
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"

View File

@ -5,5 +5,4 @@ PORTREVISION= 0
REFERENCE_SRC= ${WRKSRC}/doc/C
NO_STAGE= yes
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"

View File

@ -5,5 +5,4 @@ PORTREVISION= 1
REFERENCE_SRC= ${WRKSRC}/doc/C
NO_STAGE= yes
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"

View File

@ -5,5 +5,4 @@ PORTREVISION= 0
REFERENCE_SRC= ${WRKSRC}/docs/api
NO_STAGE= yes
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"

View File

@ -5,5 +5,4 @@ PORTREVISION= 1
REFERENCE_SRC= ${WRKSRC}/doc/gconf
NO_STAGE= yes
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"

View File

@ -56,10 +56,9 @@ make-descr:
do-install:
. for d in ${BOOKS}
if [ -d ${REFERENCE_SRC}/${d}/html ]; then \
${MKDIR} ${DOCSDIR}/${d}; \
${MKDIR} ${STAGEDIR}${DOCSDIR}/${d}; \
cd ${REFERENCE_SRC}/${d}/html && \
${FIND} * -type d ! -empty -exec ${MKDIR} "${DOCSDIR}/${d}/{}" \; && \
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${DOCSDIR}/${d}/{}" \; ; \
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/${d}; \
fi
. endfor
.endif

View File

@ -6,13 +6,11 @@ PORTREVISION= 1
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/glibmm-2.4.pc:${PORTSDIR}/devel/glibmm \
gm4:${PORTSDIR}/devel/m4
USE_GMAKE= yes
GNU_CONFIGURE= yes
USES= pkgconfig
USES= gmake pkgconfig
DOCSDIR= ${PREFIX}/share/doc/glibmm-2.4
NO_STAGE= yes
post-patch:
@${FIND} ${WRKSRC}/examples -name Makefile.in \
| ${XARGS} ${REINPLACE_CMD} -e '/^install-am:/ s| all-am||'
@ -22,7 +20,7 @@ post-build:
do-install:
. for d in docs examples
@cd ${WRKSRC}/${d} && ${GMAKE} install
@cd ${WRKSRC}/${d} && ${GMAKE} ${MAKE_ARGS} install
. endfor

View File

@ -5,5 +5,4 @@ PORTREVISION= 1
REFERENCE_SRC= ${WRKSRC}/doc
NO_STAGE= yes
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"

View File

@ -6,5 +6,4 @@ PORTREVISION= 0
REFERENCE_SRC= ${WRKSRC}/doc
BOOKS= activation-api api
NO_STAGE= yes
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"

View File

@ -5,5 +5,4 @@ PORTREVISION= 1
REFERENCE_SRC= ${WRKSRC}/doc
NO_STAGE= yes
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"

View File

@ -3,5 +3,4 @@
PORTREVISION= 0
NO_STAGE= yes
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"

View File

@ -5,5 +5,4 @@ PORTREVISION= 0
REFERENCE_SRC= ${WRKSRC}/doc/public
NO_STAGE= yes
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"

View File

@ -3,5 +3,4 @@
PORTREVISION= 1
NO_STAGE= yes
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"

View File

@ -53,11 +53,12 @@ REF_LIST= accessibility/at-spi-reference \
x11-toolkits/vte-reference
NO_BUILD= yes
NO_INSTALL= yes
NO_MTREE= yes
.MAKE.FreeBSD_UL= yes
REF_LIST_INC= ${.CURDIR}/Makefile.inc
NO_STAGE= yes
.include "${REF_LIST_INC}"
.for ref in ${_PORT_REF_LIST:C/^([^:]+).*/\1/}
@ -74,13 +75,11 @@ RUN_DEPENDS+= ${ref:C|^[^:]+:([^:]+).*|\1|:C|^[^/]+/([^/]+).*|\1|}>0:${PORTSDIR}
.endif
.endfor
do-install: # empty
create-ref-list:
${CP} ${REF_LIST_INC} ${REF_LIST_INC}.bak
${ECHO_CMD} "_PORT_REF_LIST= \\" > ${REF_LIST_INC}
.for port in ${REF_LIST}
(cd ${PORTSDIR}/${port} && ${ECHO_CMD} "${port}:`${MAKE} -V PORTNAME` \\" >> ${REF_LIST_INC})
(cd ${PORTSDIR}/${port} && ${ECHO_CMD} "${port}:`${MAKE} -V PKGBASE` \\" >> ${REF_LIST_INC})
.endfor
.include <bsd.port.mk>

View File

@ -24,9 +24,9 @@ x11/gnome-panel-reference:gnome-panel-reference \
x11/libgnome-reference:libgnome-reference \
x11-fonts/fontconfig-reference:fontconfig-reference \
x11-toolkits/gal2-reference:gal2-reference \
x11-toolkits/gtk20-reference:gtk-reference \
x11-toolkits/gtkmm20-reference:gtkmm-reference \
x11-toolkits/gtkmm24-reference:gtkmm-reference \
x11-toolkits/gtk20-reference:gtk2-reference \
x11-toolkits/gtkmm20-reference:gtkmm20-reference \
x11-toolkits/gtkmm24-reference:gtkmm24-reference \
x11-toolkits/gtksourceview-reference:gtksourceview-reference \
x11-toolkits/libbonoboui-reference:libbonoboui-reference \
x11-toolkits/libgnomeui-reference:libgnomeui-reference \

View File

@ -5,5 +5,4 @@ PORTREVISION= 0
REFERENCE_SRC= ${WRKSRC}/docs
NO_STAGE= yes
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"

View File

@ -5,5 +5,4 @@ PORTREVISION= 1
REFERENCE_SRC= ${WRKSRC}/doc/reference
NO_STAGE= yes
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"

View File

@ -5,5 +5,4 @@ PORTREVISION= 1
REFERENCE_SRC= ${WRKSRC}/docs
NO_STAGE= yes
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"

View File

@ -12,10 +12,7 @@ GNU_CONFIGURE= yes
DOCSDIR= ${PREFIX}/share/doc/libxml++-2.6
NO_STAGE= yes
do-install:
.if !defined(NOPORTDOCS)
@cd ${WRKSRC} && ${GMAKE} install-data-local install-dist_referenceDATA
.endif
@cd ${WRKSRC} && ${GMAKE} ${MAKE_ARGS} install-data-local install-dist_referenceDATA
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"

View File

@ -7,7 +7,7 @@ BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/textproc/libxml2:configure
PARENT_WRKSRC!= cd ${.CURDIR}/../libxml2 && ${MAKE} -V WRKSRC
EXTRACT_ONLY=
USE_GMAKE= yes
USES= gmake
.if !defined(NOPORTEXAMPLES)
EXAMPLES= testHTML.c testSAX.c testXPath.c xmllint.c
@ -15,12 +15,9 @@ PLIST_FILES= ${EXAMPLES:S|^|%%EXAMPLESDIR%%/|}
PLIST_DIRS= %%EXAMPLESDIR%%
.endif
NO_STAGE= yes
do-install:
.if !defined(NOPORTDOCS)
.for d in . doc doc/devhelp doc/examples
@cd ${PARENT_WRKSRC}/${d} && ${GMAKE} install-data-local
@cd ${PARENT_WRKSRC}/${d} && ${GMAKE} ${MAKE_ARGS} install-data-local
.endfor
.endif
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"

View File

@ -7,12 +7,9 @@ BUILD_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/textproc/libxslt:configure
PARENT_WRKSRC!= cd ${.CURDIR}/../libxslt && ${MAKE} -V WRKSRC
EXTRACT_ONLY=
USE_GMAKE= yes
USES= gmake
NO_STAGE= yes
do-install:
.if !defined(NOPORTDOCS)
@cd ${PARENT_WRKSRC}/doc && ${GMAKE} install-data-local
.endif
@cd ${PARENT_WRKSRC}/doc && ${GMAKE} ${MAKE_ARGS} install-data-local
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"

View File

@ -8,12 +8,10 @@ DOCSDIR= ${PREFIX}/share/doc/fontconfig-devel
do-install:
${INSTALL_MAN} ${WRKSRC}/doc/*.3 ${STAGEDIR}${PREFIX}/man/man3
.if !defined(NOPORTDOCS)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/fontconfig-devel.pdf \
${WRKSRC}/doc/fontconfig-devel.txt ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
${INSTALL_DATA} ${WRKSRC}/doc/fontconfig-devel/* ${STAGEDIR}${DOCSDIR}/html
.endif
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"

View File

@ -5,5 +5,4 @@ PORTREVISION= 1
REFERENCE_SRC= ${WRKSRC}/docs
NO_STAGE= yes
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"

View File

@ -5,16 +5,12 @@ PORTREVISION= 1
BOOKS= gdk gtk
PLIST= ${.CURDIR}/pkg-plist
NO_STAGE= yes
do-install:
.for d in ${BOOKS}
if [ -d ${REFERENCE_SRC}/${d}/html ]; then \
${MKDIR} ${PREFIX}/share/doc/${d}2; \
${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/${d}2; \
cd ${REFERENCE_SRC}/${d}/html && \
${FIND} * -type d ! -empty -exec ${MKDIR} "${PREFIX}/share/doc/${d}2/{}" \; && \
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${PREFIX}/share/doc/${d}2/{}" \; ; \
${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/doc/${d}2; \
fi
.endfor

View File

@ -5,16 +5,12 @@ PORTREVISION= 2
BOOKS= gdk gtk
PLIST= ${.CURDIR}/pkg-plist
NO_STAGE= yes
do-install:
.for d in ${BOOKS}
if [ -d ${REFERENCE_SRC}/${d}/html ]; then \
${MKDIR} ${PREFIX}/share/doc/${d}3; \
${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/${d}3; \
cd ${REFERENCE_SRC}/${d}/html && \
${FIND} * -type d ! -empty -exec ${MKDIR} "${PREFIX}/share/doc/${d}3/{}" \; && \
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${PREFIX}/share/doc/${d}3/{}" \; ; \
${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/share/doc/${d}3; \
fi
.endfor

View File

@ -9,6 +9,7 @@ share/doc/gdk3/api-index-3-0.html
share/doc/gdk3/api-index-3-2.html
share/doc/gdk3/api-index-3-4.html
share/doc/gdk3/api-index-3-6.html
share/doc/gdk3/api-index-3-8.html
share/doc/gdk3/api-index-deprecated.html
share/doc/gdk3/api-index-full.html
share/doc/gdk3/arrow.png
@ -45,6 +46,8 @@ share/doc/gdk3/gdk3-Drag-and-Drop.html
share/doc/gdk3/gdk3-Event-Structures.html
share/doc/gdk3/gdk3-Events.html
share/doc/gdk3/gdk3-General.html
share/doc/gdk3/gdk3-GdkFrameClock.html
share/doc/gdk3/gdk3-GdkFrameTimings.html
share/doc/gdk3/gdk3-Keyboard-Handling.html
share/doc/gdk3/gdk3-Pango-Interaction.html
share/doc/gdk3/gdk3-Pixbufs.html
@ -123,6 +126,7 @@ share/doc/gtk3/Application.html
share/doc/gtk3/ApplicationChoosing.html
share/doc/gtk3/Builder.html
share/doc/gtk3/ButtonWidgets.html
share/doc/gtk3/DeprecatedObjects.html
share/doc/gtk3/DisplayWidgets.html
share/doc/gtk3/GtkAboutDialog.html
share/doc/gtk3/GtkAccelLabel.html
@ -337,6 +341,7 @@ share/doc/gtk3/api-index-3-0.html
share/doc/gtk3/api-index-3-2.html
share/doc/gtk3/api-index-3-4.html
share/doc/gtk3/api-index-3-6.html
share/doc/gtk3/api-index-3-8.html
share/doc/gtk3/api-index-deprecated.html
share/doc/gtk3/api-index-full.html
share/doc/gtk3/appchooserbutton.png
@ -353,13 +358,14 @@ share/doc/gtk3/border2.png
share/doc/gtk3/border3.png
share/doc/gtk3/box-expand.png
share/doc/gtk3/box-packing.png
share/doc/gtk3/broadwayd.html
share/doc/gtk3/button.png
share/doc/gtk3/ch02.html
share/doc/gtk3/ch03.html
share/doc/gtk3/ch24s02.html
share/doc/gtk3/ch26s02.html
share/doc/gtk3/ch28s02.html
share/doc/gtk3/ch28s03.html
share/doc/gtk3/ch25s02.html
share/doc/gtk3/ch27s02.html
share/doc/gtk3/ch29s02.html
share/doc/gtk3/ch29s03.html
share/doc/gtk3/chap-drawing-model.html
share/doc/gtk3/check-button.png
share/doc/gtk3/checklist-gdkeventexpose-region.html
@ -500,6 +506,7 @@ share/doc/gtk3/gtk-select-color.png
share/doc/gtk3/gtk-undelete-ltr.png
share/doc/gtk3/gtk-undelete-rtl.png
share/doc/gtk3/gtk-update-icon-cache.html
share/doc/gtk3/gtk-wayland.html
share/doc/gtk3/gtk-windows.html
share/doc/gtk3/gtk-x11.html
share/doc/gtk3/gtk-yes.png

View File

@ -10,16 +10,13 @@ GNU_CONFIGURE= yes
DOCSDIR= ${PREFIX}/share/doc/gtkmm-2.0
NO_STAGE= yes
post-patch:
@${FIND} ${WRKSRC}/examples -name Makefile.in \
| ${XARGS} ${REINPLACE_CMD} -e '/^install-am:/ s| all-am||'
do-install:
.if !defined(NOPORTDOCS)
.for d in docs examples
@cd ${WRKSRC}/${d} && ${GMAKE} install
@cd ${WRKSRC}/${d} && ${GMAKE} ${MAKE_ARGS} install
.endfor
.endif
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"

View File

@ -11,12 +11,9 @@ GNU_CONFIGURE= yes
DOCSDIR= ${PREFIX}/share/doc/gtkmm-2.4
NO_STAGE= yes
do-install:
.if !defined(NOPORTDOCS)
.for d in docs
@cd ${WRKSRC}/${d} && ${GMAKE} install
@cd ${WRKSRC}/${d} && ${GMAKE} ${MAKE_ARGS} install
.endfor
.endif
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"

View File

@ -11,12 +11,9 @@ GNU_CONFIGURE= yes
DOCSDIR= ${PREFIX}/share/doc/gtkmm-3.0
NO_STAGE= yes
do-install:
.if !defined(NOPORTDOCS)
.for d in docs
@cd ${WRKSRC}/${d} && ${GMAKE} install
@cd ${WRKSRC}/${d} && ${GMAKE} ${MAKE_ARGS} install
.endfor
.endif
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"

View File

@ -3,5 +3,4 @@
PORTREVISION= 1
NO_STAGE= yes
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"

View File

@ -4,5 +4,4 @@
PORTREVISION= 0
NO_STAGE= yes
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"

View File

@ -4,5 +4,4 @@
PORTREVISION= 0
NO_STAGE= yes
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"

View File

@ -5,5 +5,4 @@ PORTREVISION= 1
REFERENCE_SRC= ${WRKSRC}/doc/api
NO_STAGE= yes
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"

View File

@ -5,5 +5,4 @@ PORTREVISION= 1
REFERENCE_SRC= ${WRKSRC}/doc/reference
NO_STAGE= yes
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"

View File

@ -5,5 +5,4 @@ PORTREVISION= 1
REFERENCE_SRC= ${WRKSRC}/doc
NO_STAGE= yes
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"

View File

@ -5,5 +5,4 @@ PORTREVISION= 1
REFERENCE_SRC= ${WRKSRC}/docs
NO_STAGE= yes
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"

View File

@ -5,5 +5,4 @@ PORTREVISION= 1
REFERENCE_SRC= ${WRKSRC}/doc/reference
NO_STAGE= yes
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"

View File

@ -5,5 +5,4 @@ PORTREVISION= 1
REFERENCE_SRC= ${WRKSRC}/docs/reference/gnome-desktop
NO_STAGE= yes
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"

View File

@ -5,5 +5,4 @@ PORTREVISION= 1
REFERENCE_SRC= ${WRKSRC}/doc/reference/panel-applet
NO_STAGE= yes
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"

View File

@ -5,5 +5,4 @@ PORTREVISION= 1
REFERENCE_SRC= ${WRKSRC}/doc/reference
NO_STAGE= yes
.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"