diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-06-01 16:02:04 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-06-01 16:02:04 +0000 |
commit | fd8f2c9be01b0ca3848ff68ad059b196f5dbf118 (patch) | |
tree | 1726400ed9ca96c8f01456831c07ef78cbcd27fc /x11-toolkits/open-motif | |
parent | 9327563586b1d8dccd611c260d09bd6a4df23703 (diff) | |
download | ports-fd8f2c9be01b0ca3848ff68ad059b196f5dbf118.tar.gz ports-fd8f2c9be01b0ca3848ff68ad059b196f5dbf118.zip |
Notes
Diffstat (limited to 'x11-toolkits/open-motif')
-rw-r--r-- | x11-toolkits/open-motif/Makefile | 16 | ||||
-rw-r--r-- | x11-toolkits/open-motif/Makefile.man | 2 | ||||
-rw-r--r-- | x11-toolkits/open-motif/pkg-plist | 10 |
3 files changed, 15 insertions, 13 deletions
diff --git a/x11-toolkits/open-motif/Makefile b/x11-toolkits/open-motif/Makefile index 36af543adc52..d94d9458e1b2 100644 --- a/x11-toolkits/open-motif/Makefile +++ b/x11-toolkits/open-motif/Makefile @@ -8,7 +8,7 @@ PORTNAME= open-motif PORTVERSION= 2.2.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= x11-toolkits MASTER_SITES= ftp://ftp.ics.com/pub/%SUBDIR%/ MASTER_SITE_SUBDIR= Products/Motif/om${PORTVERSION}/src @@ -39,7 +39,6 @@ DEMOS_SRC= ${WRKSRC}/demos/programs .if defined(WITH_JDK_PATCH) PKGNAMESUFFIX= -jdk -WITHOUT_OPENMOTIF_DEMOS= YES WITHOUT_OPENMOTIF_MANUALS= YES .if exists(${WITH_JDK_PATCH}) @@ -53,20 +52,23 @@ EXTRA_PATCHES+= ${WITH_JDK_PATCH} .include <bsd.port.pre.mk> .if ${ARCH} == "amd64" || ${ARCH} == "sparc64" -CONFIGURE_ARGS+= --with-pic +CONFIGURE_ARGS+= --with-pic .endif # User config option: Build and install Motif demos -.if defined(WITHOUT_OPENMOTIF_DEMOS) -PLIST_SUB+= MOTIF_DEMOS="@comment " -.else +.if defined(WITH_OPENMOTIF_DEMOS) MAKE_ENV+= DEMOS="demos" PLIST_SUB+= MOTIF_DEMOS="" +.else +PLIST_SUB+= MOTIF_DEMOS="@comment " .endif # User config option: Build and install Motif manuals .if !defined(WITHOUT_OPENMOTIF_MANUALS) .include "${.CURDIR}/Makefile.man" +PLIST_SUB+= MANUALS="" +.else +PLIST_SUB+= MANUALS="@comment " .endif post-patch: @@ -84,7 +86,7 @@ post-patch: s|file formats|5|' post-install: -.if !defined(WITHOUT_OPENMOTIF_DEMOS) +.if defined(WITH_OPENMOTIF_DEMOS) ${INSTALL_DATA} ${DEMOS_SRC}/Column/Column.ad \ ${PREFIX}/lib/X11/app-defaults/Column ${INSTALL_DATA} ${DEMOS_SRC}/DropDown/DropDown.ad \ diff --git a/x11-toolkits/open-motif/Makefile.man b/x11-toolkits/open-motif/Makefile.man index 8991cbfb3c68..4487f1ec4902 100644 --- a/x11-toolkits/open-motif/Makefile.man +++ b/x11-toolkits/open-motif/Makefile.man @@ -2,7 +2,7 @@ MAN1= \ mwm.1 \ uil.1 \ xmbind.1 -.if !defined(WITHOUT_OPENMOTIF_DEMOS) +.if defined(WITH_OPENMOTIF_DEMOS) MAN1+= \ autopopups.1 \ earth.1 \ diff --git a/x11-toolkits/open-motif/pkg-plist b/x11-toolkits/open-motif/pkg-plist index ca27f418910e..fee4f2f7da91 100644 --- a/x11-toolkits/open-motif/pkg-plist +++ b/x11-toolkits/open-motif/pkg-plist @@ -347,11 +347,11 @@ lib/libUil.so.3 lib/libXm.a lib/libXm.so lib/libXm.so.3 -%%DOCSDIR%%/BUGREPORT -%%DOCSDIR%%/COPYRIGHT.MOTIF -%%DOCSDIR%%/README -%%DOCSDIR%%/RELNOTES -@dirrm %%DOCSDIR%% +%%MANUALS%%%%DOCSDIR%%/BUGREPORT +%%MANUALS%%%%DOCSDIR%%/COPYRIGHT.MOTIF +%%MANUALS%%%%DOCSDIR%%/README +%%MANUALS%%%%DOCSDIR%%/RELNOTES +%%MANUALS%%@dirrm %%DOCSDIR%% %%MOTIF_DEMOS%%@dirrm lib/X11/uid/swedish/uid %%MOTIF_DEMOS%%@dirrm lib/X11/uid/swedish %%MOTIF_DEMOS%%@dirrm lib/X11/uid/japanese/uid |