diff options
author | Steve Price <steve@FreeBSD.org> | 2001-09-13 15:56:52 +0000 |
---|---|---|
committer | Steve Price <steve@FreeBSD.org> | 2001-09-13 15:56:52 +0000 |
commit | efd65779f75e08e19f37e43b27e8bf66685f45be (patch) | |
tree | a42acbb2f62621b126b186b2d1ac30843416dadd /x11-toolkits/open-motif/Makefile | |
parent | Bump PORTREVISION to announce the last update. (diff) |
Makefile:
- fix a bug involving NOPORTDOCS
- add NO_OPENMOTIF_DEMOS "make" variable to control whether Motif demos
are built and installed
pkg-plist:
- fix a bug involving PORTDOCS PLIST substitution
- add MOTIF_DEMOS PLIST substitution to support NO_OPENMOTIF_DEMOS in
Makefile
Submitted by: Carl Mascott <cmascott@att.net>
Notes
Notes:
svn path=/head/; revision=47805
Diffstat (limited to 'x11-toolkits/open-motif/Makefile')
-rw-r--r-- | x11-toolkits/open-motif/Makefile | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/x11-toolkits/open-motif/Makefile b/x11-toolkits/open-motif/Makefile index 00f89503ded2..c2f092e074fa 100644 --- a/x11-toolkits/open-motif/Makefile +++ b/x11-toolkits/open-motif/Makefile @@ -41,10 +41,18 @@ XMKMF= ${MAKE} Makefile.boot ALL_TARGET= VerifyOS Everything XFREE86_HTML_MAN= no +# User config option: Build and install Motif demos +.if defined(NO_OPENMOTIF_DEMOS) +PLIST_SUB+= MOTIF_DEMOS="@comment " +.else +PLIST_SUB+= MOTIF_DEMOS="" +.endif + MAN1= mwm.1 \ uil.1 \ - xmbind.1 \ - DNDDemo.1 \ + xmbind.1 +.if !defined(NO_OPENMOTIF_DEMOS) +MAN1+= DNDDemo.1 \ draw.1 \ earth.1 \ exm_in_c.1 \ @@ -67,6 +75,7 @@ MAN1= mwm.1 \ spin_box.1 \ tic_mark.1 \ xmanimate.1 +.endif MAN1DONT=\ animate.1 \ @@ -648,6 +657,10 @@ pre-configure: ${RM} -f ${WRKSRC}/imports/x11/lib/X11/config; \ ${LN} -s ${WRKSRC}/config/cf ${WRKSRC}/imports/x11/lib/X11/config; \ fi +.if defined(NO_OPENMOTIF_DEMOS) + ${CHMOD} +w ${WRKSRC}/config/cf/host.def + @echo "#define BuildMotifDemos NO" >>${WRKSRC}/config/cf/host.def +.endif post-configure: @${CP} ${X11BASE}/bin/imake ${WRKSRC}/config/imake/ @@ -677,7 +690,7 @@ share-doc: ${WRKSRC}/README \ ${WRKSRC}/RELNOTES \ ${PREFIX}/share/doc/openmotif/ -.if !defined{NOPORTDOCS} +.if !defined(NOPORTDOCS) @${INSTALL_DATA} \ ${WRKSRC}/CLOSEDBUGS \ ${WRKSRC}/OPENBUGS \ @@ -688,7 +701,7 @@ share-doc: .endif share-guides: -.if !defined{NOPORTDOCS} +.if !defined(NOPORTDOCS) @${MKDIR} ${PREFIX}/share/doc/openmotif/guides/ @cd ${WRKSRC} && \ ${CP} -rp doc/ps/* ${PREFIX}/share/doc/openmotif/guides/ |