aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-05 18:33:12 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-05 18:33:12 +0800
commit8d3e0b0298577b9a8904788ef362fabcb2c67a33 (patch)
tree22c375555cdef3a19eb3772e27ed0af113dc52d5 /misc
parent756bde81a263beb66bac50196473fa5be935f5ba (diff)
downloadfreebsd-ports-gnome-8d3e0b0298577b9a8904788ef362fabcb2c67a33.tar.gz
freebsd-ports-gnome-8d3e0b0298577b9a8904788ef362fabcb2c67a33.tar.zst
freebsd-ports-gnome-8d3e0b0298577b9a8904788ef362fabcb2c67a33.zip
- Use pkg-message instead of pre-everything echos
- Strip shared object
Diffstat (limited to 'misc')
-rw-r--r--misc/talkfilters/Makefile11
-rw-r--r--misc/talkfilters/files/pkg-message.in8
2 files changed, 13 insertions, 6 deletions
diff --git a/misc/talkfilters/Makefile b/misc/talkfilters/Makefile
index 3d715660ba91..c1e477bd4ec2 100644
--- a/misc/talkfilters/Makefile
+++ b/misc/talkfilters/Makefile
@@ -17,13 +17,9 @@ CONFLICTS= jive* chef* filters-*
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-INFO= talkfilters
+SUB_FILES= pkg-message
-pre-everything::
- @${ECHO_MSG} "Please note that some of the filters contain language that may"
- @${ECHO_MSG} "be objectionable to some. They are provided uncensored, in their"
- @${ECHO_MSG} "original form. Please don't use the filters to do anything that"
- @${ECHO_MSG} "you shouldn't."
+INFO= talkfilters
post-extract:
@${ECHO} ${DO_NADA} > ${WRKSRC}/install-sh
@@ -36,4 +32,7 @@ post-patch:
${WRKSRC}/Makefile.am \
${WRKSRC}/Makefile.in
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtalkfilters.so*
+
.include <bsd.port.mk>
diff --git a/misc/talkfilters/files/pkg-message.in b/misc/talkfilters/files/pkg-message.in
new file mode 100644
index 000000000000..fcca4f1ccd02
--- /dev/null
+++ b/misc/talkfilters/files/pkg-message.in
@@ -0,0 +1,8 @@
+===========================================================================
+
+Please note that some of the filters contain language that may
+be objectionable to some. They are provided uncensored, in their
+original form. Please don't use the filters to do anything that
+you shouldn't.
+
+===========================================================================