aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>2001-05-31 01:18:27 +0800
committerSheldon Hearn <sheldonh@FreeBSD.org>2001-05-31 01:18:27 +0800
commit3dbd14a845651251083fcbb7944efaabbc952019 (patch)
tree9ac808fa9cd6867cd1d2eaa7e138bbd293874881
parent30b9427066d7ee663172538d5565b3eea8cddd3d (diff)
downloadfreebsd-ports-gnome-3dbd14a845651251083fcbb7944efaabbc952019.tar.gz
freebsd-ports-gnome-3dbd14a845651251083fcbb7944efaabbc952019.tar.zst
freebsd-ports-gnome-3dbd14a845651251083fcbb7944efaabbc952019.zip
As per the will's original suggestion, which I misunderstood, place a
warning in pkg-message, which is displayed at pkg_add time, and display it from the post-install target as well.
-rw-r--r--games/sex/Makefile3
-rw-r--r--games/sex/pkg-message6
2 files changed, 9 insertions, 0 deletions
diff --git a/games/sex/Makefile b/games/sex/Makefile
index fc439f12c58f..881457d810ef 100644
--- a/games/sex/Makefile
+++ b/games/sex/Makefile
@@ -16,4 +16,7 @@ MAINTAINER= freebsd@spatula.net
MAN6= sex.6
MANCOMPRESSED= yes
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
.include <bsd.port.mk>
diff --git a/games/sex/pkg-message b/games/sex/pkg-message
new file mode 100644
index 000000000000..ebe80eced9f0
--- /dev/null
+++ b/games/sex/pkg-message
@@ -0,0 +1,6 @@
+Be advised:
+===========
+
+The output of this program is of a sexually explicit nature and may
+offend some viewers.
+