summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-02-05 15:55:53 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-02-05 15:55:53 +0000
commit033b54e3df07d75db693ed32fc16b1a253154722 (patch)
tree51cba50a7e7a19db640f170e18b4528f97667902 /shells
parentCleanup plist (diff)
Cleanup plist
Notes
Notes: svn path=/head/; revision=378465
Diffstat (limited to 'shells')
-rw-r--r--shells/ch/pkg-plist7
-rw-r--r--shells/dash/Makefile7
-rw-r--r--shells/p5-Term-ShellUI/pkg-plist1
-rw-r--r--shells/psh/pkg-plist3
-rw-r--r--shells/shell-include/pkg-plist3
5 files changed, 7 insertions, 14 deletions
diff --git a/shells/ch/pkg-plist b/shells/ch/pkg-plist
index fb4f82f2b777..104251bce066 100644
--- a/shells/ch/pkg-plist
+++ b/shells/ch/pkg-plist
@@ -28,10 +28,3 @@
%%DATADIR%%/docs/man/man1/strjoin.1..gz
%%DATADIR%%/docs/man/man1/strputc.1.gz
%%DATADIR%%/docs/man/man1/strrep.1.gz
-@dirrmtry %%DATADIR%%/docs/cn
-@dirrmtry %%DATADIR%%/docs/jp
-@dirrmtry %%DATADIR%%/docs/jp
-@dirrmtry %%DATADIR%%/docs/images
-@dirrmtry %%DATADIR%%/docs/man/man1
-@dirrmtry %%DATADIR%%/docs/man
-@dirrmtry %%DATADIR%%/docs
diff --git a/shells/dash/Makefile b/shells/dash/Makefile
index 0870a9a07bc8..4ce4c107959b 100644
--- a/shells/dash/Makefile
+++ b/shells/dash/Makefile
@@ -8,6 +8,9 @@ MASTER_SITES= http://gondor.apana.org.au/~herbert/dash/files/
MAINTAINER= bdrewery@FreeBSD.org
COMMENT= POSIX-compliant implementation of /bin/sh
+SEPARATE_BUILD= flavored
+FLAVORS= static
+FLAVOR?=
GNU_CONFIGURE= yes
# This work in 11-CURRENT r266677M amd64 but fails to work in 11.0-CURRENT r266677 i386
CFLAGS+= -DUNUSABLE_RT_SIGNALS
@@ -16,6 +19,10 @@ USES= gmake
PLIST_FILES= bin/dash man/man1/dash.1.gz
+.if ${FLAVOR:Mstatic}
+LDFLAGS+= -static
+.endif
+
post-patch:
${REINPLACE_CMD} -e '/COMMON_CFLAGS =/ s|$$| ${CFLAGS}|' \
${WRKSRC}/src/Makefile.in
diff --git a/shells/p5-Term-ShellUI/pkg-plist b/shells/p5-Term-ShellUI/pkg-plist
index 59d10a337659..fb19e4f196dc 100644
--- a/shells/p5-Term-ShellUI/pkg-plist
+++ b/shells/p5-Term-ShellUI/pkg-plist
@@ -6,4 +6,3 @@
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/synopsis
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/synopsis-big
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tui-sample
-%%PORTEXAMPLES%%@dirrmtry %%EXAMPLESDIR%%
diff --git a/shells/psh/pkg-plist b/shells/psh/pkg-plist
index 00f398eb5365..f60b6679861b 100644
--- a/shells/psh/pkg-plist
+++ b/shells/psh/pkg-plist
@@ -178,6 +178,3 @@ man/man1/pshdevel.1.gz
%%PERL5_MAN3%%/Psh::Strategy::Perlfunc.3.gz
%%PERL5_MAN3%%/Psh::Strategy::Perlfunc_heavy.3.gz
%%PERL5_MAN3%%/Psh::Strategy::Perlscript.3.gz
-@dirrm %%DATADIR%%/complete
-@dirrm %%DATADIR%%/themes
-@dirrm %%DATADIR%%
diff --git a/shells/shell-include/pkg-plist b/shells/shell-include/pkg-plist
index c41587907b66..b23ba0c5dec5 100644
--- a/shells/shell-include/pkg-plist
+++ b/shells/shell-include/pkg-plist
@@ -8,6 +8,3 @@ man/man3/fileGetLine.3.gz
man/man3/random.3.gz
man/man3/random::shortIntRandom.3.gz
man/man7/shell-include.7.gz
-@dirrm libexec/shell-include/sh
-@dirrm libexec/shell-include/bash
-@dirrm libexec/shell-include