diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2014-08-15 09:10:16 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2014-08-15 09:10:16 +0000 |
commit | d40c727fef948c629385c225761767025e777ca3 (patch) | |
tree | 8ce64e18fa61c787a36689304956737ab7f7ae9f /x11-toolkits/ocaml-lablgtk2 | |
parent | d0df74a6559053292239bf7b0fc49a9bf01e2673 (diff) |
Cleanup Makefiles to allow further work on these ports.
Notes
Notes:
svn path=/head/; revision=364951
Diffstat (limited to 'x11-toolkits/ocaml-lablgtk2')
-rw-r--r-- | x11-toolkits/ocaml-lablgtk2/Makefile | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/x11-toolkits/ocaml-lablgtk2/Makefile b/x11-toolkits/ocaml-lablgtk2/Makefile index 155afbd6cb51..7ca5f258e610 100644 --- a/x11-toolkits/ocaml-lablgtk2/Makefile +++ b/x11-toolkits/ocaml-lablgtk2/Makefile @@ -1,4 +1,4 @@ -# Created by: Rene Ladan +# Created by: Rene Ladan <rene@FreeBSD.org> # $FreeBSD$ PORTNAME= lablgtk2 @@ -22,9 +22,10 @@ USE_OCAMLFIND_PLIST= yes USE_OCAML_LDCONFIG= yes USE_OCAML_WASH= yes -OPTIONS_DEFINE= GLADE GNOMECANVAS GNOMEUI GTKGLAREA GTKSOURCEVIEW2 GTKSPELL \ - LIBRSVG2 -OPTIONS_DEFAULT= ${OPTIONS_DEFINE} +OPTIONS_DEFINE= GLADE GNOMECANVAS GNOMEUI GTKGLAREA GTKSOURCEVIEW2 \ + GTKSPELL LIBRSVG2 DOCS EXAMPLES +_OPTIONS_DEFAULT= GLADE GNOMECANVAS GNOMEUI GTKGLAREA GTKSOURCEVIEW2 \ + GTKSPELL LIBRSVG2 GNOMECANVAS_DESC= GnomeCanvas support GNOMEUI_DESC= GNOME 2 UI support @@ -132,14 +133,11 @@ post-patch: ${WRKSRC}/src/Makefile post-install: -.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} - @cd ${WRKSRC} ; ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} -.endif -.if ${PORT_OPTIONS:MEXAMPLES} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - @cd ${WRKSRC}/examples ; ${COPYTREE_SHARE} \ - "*.ml *.png *.rgb *.xpm text ${EXAMPLES_SUBDIRS}" ${STAGEDIR}${EXAMPLESDIR} -.endif + @cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \ + "*.ml *.png *.rgb *.xpm text ${EXAMPLES_SUBDIRS}" \ + ${STAGEDIR}${EXAMPLESDIR} .include <bsd.port.mk> |