summaryrefslogtreecommitdiff
path: root/x11-toolkits/gtkmm20-reference
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2006-05-11 19:59:09 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2006-05-11 19:59:09 +0000
commita90b2589720af8b585e6a436ae5e01aa32a3ee00 (patch)
tree8cc0532b87e4da3a0916accfb5d88643ffc645d8 /x11-toolkits/gtkmm20-reference
parentFix the fileselector crash on amd64, bump the PORTREVISION. (diff)
Move the gtk--2 programming reference to the gtk--2-reference port.
Notes
Notes: svn path=/head/; revision=162132
Diffstat (limited to 'x11-toolkits/gtkmm20-reference')
-rw-r--r--x11-toolkits/gtkmm20-reference/Makefile21
-rw-r--r--x11-toolkits/gtkmm20-reference/pkg-plist4
2 files changed, 25 insertions, 0 deletions
diff --git a/x11-toolkits/gtkmm20-reference/Makefile b/x11-toolkits/gtkmm20-reference/Makefile
new file mode 100644
index 000000000000..cad3452fd57c
--- /dev/null
+++ b/x11-toolkits/gtkmm20-reference/Makefile
@@ -0,0 +1,21 @@
+# $FreeBSD$
+
+PATCH_DEPENDS= ${NONEXISTENT}:${.CURDIR}/../gtk--2:patch
+BUILD_DEPENDS= ${NONEXISTENT}:${.CURDIR}/../gtk--2:configure
+
+PARENT_WRKSRC!= cd ${.CURDIR}/../gtk--2 && ${MAKE} -V WRKSRC
+EXTRACT_ONLY=
+USE_GMAKE= yes
+
+DOCSDIR= ${PREFIX}/share/doc/gtkmm-2.0
+
+post-patch:
+ @${FIND} ${PARENT_WRKSRC}/examples -name Makefile.in \
+ | ${XARGS} ${REINPLACE_CMD} -e '/^install-am:/ s| all-am||'
+
+do-install:
+.for d in docs examples
+ @cd ${PARENT_WRKSRC}/${d} && ${GMAKE} install
+.endfor
+
+.include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"
diff --git a/x11-toolkits/gtkmm20-reference/pkg-plist b/x11-toolkits/gtkmm20-reference/pkg-plist
new file mode 100644
index 000000000000..183eb069b919
--- /dev/null
+++ b/x11-toolkits/gtkmm20-reference/pkg-plist
@@ -0,0 +1,4 @@
+share/devhelp/books/gtkmm-2.0/gtkmm-2.0.devhelp
+@dirrm share/devhelp/books/gtkmm-2.0
+@dirrmtry share/devhelp/books
+@dirrmtry share/devhelp