aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2005-11-07 13:39:06 +0800
committermarcus <marcus@FreeBSD.org>2005-11-07 13:39:06 +0800
commitd076b46bf1d59d26036ba46544c3aed9539c59b5 (patch)
treeeb7e9e286ec6f77a231bdbb39ef4ebb2e3e0862f /x11
parent048e7e087123d7a5ecd28e576ed3bdd0fd465943 (diff)
downloadfreebsd-ports-gnome-d076b46bf1d59d26036ba46544c3aed9539c59b5.tar.gz
freebsd-ports-gnome-d076b46bf1d59d26036ba46544c3aed9539c59b5.tar.zst
freebsd-ports-gnome-d076b46bf1d59d26036ba46544c3aed9539c59b5.zip
Remove some leftover directories, and do not install a ${PREFIX}/etc/pam.d
directory. Reported by: pointyhat via kris
Diffstat (limited to 'x11')
-rw-r--r--x11/gnome-screensaver/Makefile1
-rw-r--r--x11/gnome-screensaver/files/patch-data_Makefile.in73
-rw-r--r--x11/gnome-screensaver/pkg-plist2
3 files changed, 76 insertions, 0 deletions
diff --git a/x11/gnome-screensaver/Makefile b/x11/gnome-screensaver/Makefile
index c8850540d813..10337951fbf0 100644
--- a/x11/gnome-screensaver/Makefile
+++ b/x11/gnome-screensaver/Makefile
@@ -8,6 +8,7 @@
PORTNAME= gnome-screensaver
PORTVERSION= 0.0.18
+PORTREVISION= 1
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.0
diff --git a/x11/gnome-screensaver/files/patch-data_Makefile.in b/x11/gnome-screensaver/files/patch-data_Makefile.in
new file mode 100644
index 000000000000..a474e9ef2229
--- /dev/null
+++ b/x11/gnome-screensaver/files/patch-data_Makefile.in
@@ -0,0 +1,73 @@
+--- data/Makefile.in.orig Mon Nov 7 05:37:01 2005
++++ data/Makefile.in Mon Nov 7 05:37:38 2005
+@@ -737,38 +737,38 @@
+ @GCONF_SCHEMAS_INSTALL_FALSE@install-data-local:
+
+ install-data-hook:
+- @system=`uname`; \
+- if test -f /usr/include/security/pam_appl.h; then \
+- if test '!' -d $(DESTDIR)$(PAM_PREFIX)/pam.d; then \
+- $(mkinstalldirs) $(DESTDIR)$(PAM_PREFIX)/pam.d; \
+- chmod 755 $(DESTDIR)$(PAM_PREFIX)/pam.d; \
+- fi; \
+- if test $$system = Linux; then \
+- if test '!' -f $(DESTDIR)$(PAM_PREFIX)/pam.d/gnome-screensaver; then \
+- $(INSTALL_DATA) gnome-screensaver $(DESTDIR)$(PAM_PREFIX)/pam.d/gnome-screensaver; \
+- fi; \
+- if test "x$(PAM_PREFIX)" != "x/etc/pam.d"; then \
+- echo "***" ; \
+- echo "*** Warning: gnome-screensaver has been compiled with support for" ; \
+- echo "*** Pluggable Authentication Modules (PAM). However, you may need to" ; \
+- echo "*** manually install $(PAM_PREFIX)/pam.d/gnome-screensaver" ; \
+- echo "*** to /etc/pam.d/gnome-screensaver. Otherwise, unlocking might" ; \
+- echo "*** not work." ; \
+- echo "***" ; \
+- echo "*** Note: If you are using SuSE/Novell you may have to modify this file." ; \
+- echo "***" ; \
+- fi; \
+- fi; \
+- if test $$system = SunOS; then \
+- echo "***" ; \
+- echo "*** Warning: gnome-screensaver has been compiled with support for" ; \
+- echo "*** Pluggable Authentication Modules (PAM). However, you" ; \
+- echo "*** need to manually add authentication for gnome-screensaver in" ; \
+- echo "*** $(PAM_PREFIX)/pam.conf or /etc/pam.conf." ; \
+- echo "*** Otherwise, unlocking might not work." ; \
+- echo "***" ; \
+- fi; \
+- fi
++# @system=`uname`; \
++# if test -f /usr/include/security/pam_appl.h; then \
++# if test '!' -d $(DESTDIR)$(PAM_PREFIX)/pam.d; then \
++# $(mkinstalldirs) $(DESTDIR)$(PAM_PREFIX)/pam.d; \
++# chmod 755 $(DESTDIR)$(PAM_PREFIX)/pam.d; \
++# fi; \
++# if test $$system = Linux; then \
++# if test '!' -f $(DESTDIR)$(PAM_PREFIX)/pam.d/gnome-screensaver; then \
++# $(INSTALL_DATA) gnome-screensaver $(DESTDIR)$(PAM_PREFIX)/pam.d/gnome-screensaver; \
++# fi; \
++# if test "x$(PAM_PREFIX)" != "x/etc/pam.d"; then \
++# echo "***" ; \
++# echo "*** Warning: gnome-screensaver has been compiled with support for" ; \
++# echo "*** Pluggable Authentication Modules (PAM). However, you may need to" ; \
++# echo "*** manually install $(PAM_PREFIX)/pam.d/gnome-screensaver" ; \
++# echo "*** to /etc/pam.d/gnome-screensaver. Otherwise, unlocking might" ; \
++# echo "*** not work." ; \
++# echo "***" ; \
++# echo "*** Note: If you are using SuSE/Novell you may have to modify this file." ; \
++# echo "***" ; \
++# fi; \
++# fi; \
++# if test $$system = SunOS; then \
++# echo "***" ; \
++# echo "*** Warning: gnome-screensaver has been compiled with support for" ; \
++# echo "*** Pluggable Authentication Modules (PAM). However, you" ; \
++# echo "*** need to manually add authentication for gnome-screensaver in" ; \
++# echo "*** $(PAM_PREFIX)/pam.conf or /etc/pam.conf." ; \
++# echo "*** Otherwise, unlocking might not work." ; \
++# echo "***" ; \
++# fi; \
++# fi
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
diff --git a/x11/gnome-screensaver/pkg-plist b/x11/gnome-screensaver/pkg-plist
index f7a845be9ab8..757819068bc9 100644
--- a/x11/gnome-screensaver/pkg-plist
+++ b/x11/gnome-screensaver/pkg-plist
@@ -39,4 +39,6 @@ share/locale/sv/LC_MESSAGES/gnome-screensaver.mo
share/locale/uk/LC_MESSAGES/gnome-screensaver.mo
share/locale/zh_CN/LC_MESSAGES/gnome-screensaver.mo
share/locale/zh_TW/LC_MESSAGES/gnome-screensaver.mo
+@dirrm share/gnome/pixmaps/backgrounds/cosmos
+@dirrm share/gnome/pixmaps/backgrounds
@dirrm libexec/gnome-screensaver