mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
Update to 0.3.
PR: ports/48191 Submitted by: Kimura Fuyuki <fuyuki@hadaly.org>
This commit is contained in:
parent
5a7a43ede9
commit
5eb4dc494b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=75376
@ -6,8 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= gtk
|
||||
PORTVERSION= 0.2.4
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.3
|
||||
CATEGORIES= x11-toolkits
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= gauche
|
||||
@ -21,19 +20,28 @@ LIB_DEPENDS= gtk-x11-2.0.200:${PORTSDIR}/x11-toolkits/gtk20
|
||||
BUILD_DEPENDS= gosh:${PORTSDIR}/lang/gauche
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
WRKSRC= ${WRKDIR}/Gauche-${PORTNAME}
|
||||
GNU_CONFIGURE= yes
|
||||
#CONFIGURE_ARGS= --enable-gtkgl
|
||||
EXAMPLESDIR= ${PREFIX}/share/examples/gauche/${PORTNAME}
|
||||
DOCSDIR= ${PREFIX}/share/doc/gauche/${PORTNAME}
|
||||
PLIST_SUB= VERSION="`gauche-config -V`" \
|
||||
TARGET="${CONFIGURE_TARGET}"
|
||||
|
||||
.if defined(WITH_GTKGLEXT)
|
||||
LIB_DEPENDS+= gtkglext-x11-1.0:${PORTSDIR}/x11-toolkits/gtkglext
|
||||
CONFIGURE_ARGS= --enable-gtkgl
|
||||
PLIST_SUB+= GTKGLEXT=""
|
||||
.else
|
||||
PLIST_SUB+= GTKGLEXT="@comment "
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/*.scm ${EXAMPLESDIR}
|
||||
${CP} -R ${WRKSRC}/examples/gtk-tutorial ${EXAMPLESDIR}
|
||||
.if defined(WITH_GTKGLEXT)
|
||||
${CP} -R ${WRKSRC}/examples/gtkglext ${EXAMPLESDIR}
|
||||
.endif
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
||||
.endif
|
||||
|
@ -1 +1 @@
|
||||
MD5 (Gauche-gtk-0.2.4.tgz) = 002ebac32562a3987ddad0f47e166b48
|
||||
MD5 (Gauche-gtk-0.3.tgz) = c68b5db455256f75c7d3fdab44440074
|
||||
|
@ -1,12 +1,17 @@
|
||||
lib/gauche/%%VERSION%%/%%TARGET%%/gauche-gtk.so
|
||||
%%GTKGLEXT%%lib/gauche/%%VERSION%%/%%TARGET%%/gauche-gtkgl.so
|
||||
share/gauche/%%VERSION%%/lib/gtk.scm
|
||||
share/gauche/%%VERSION%%/lib/gtk/error-dialog.scm
|
||||
share/gauche/%%VERSION%%/lib/gtk/gdkkeysyms.scm
|
||||
share/gauche/%%VERSION%%/lib/gtk/gtkaux.scm
|
||||
%%GTKGLEXT%%share/gauche/%%VERSION%%/lib/gtk/gtkgl.scm
|
||||
share/gauche/%%VERSION%%/lib/gtk/listener.scm
|
||||
@dirrm share/gauche/%%VERSION%%/lib/gtk
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/error-dialog.scm
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/gdk-animation.scm
|
||||
%%PORTDOCS%%%%GTKGLEXT%%%%EXAMPLESDIR%%/gtkglext/README
|
||||
%%PORTDOCS%%%%GTKGLEXT%%%%EXAMPLESDIR%%/gtkglext/font.scm
|
||||
%%PORTDOCS%%%%GTKGLEXT%%%%EXAMPLESDIR%%/gtkglext/gears.scm
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/gtk-tutorial/COPYING
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/gtk-tutorial/README
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/gtk-tutorial/arrow.scm
|
||||
@ -38,6 +43,7 @@ share/gauche/%%VERSION%%/lib/gtk/listener.scm
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/gtk-tutorial/table.scm
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/gtk-tutorial/wheelbarrow.scm
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/listener.scm
|
||||
%%PORTDOCS%%%%GTKGLEXT%%@dirrm %%EXAMPLESDIR%%/gtkglext
|
||||
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/gtk-tutorial
|
||||
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
|
||||
%%PORTDOCS%%@unexec rmdir %D/share/examples/gauche 2>/dev/null || true
|
||||
|
Loading…
Reference in New Issue
Block a user