aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2008-04-10 15:34:34 +0800
committerbsam <bsam@FreeBSD.org>2008-04-10 15:34:34 +0800
commit6f058f7862dd7aae9a2c3a4eda68a68218791ad9 (patch)
treea6e2911874ecce7123e089ec9176e4a8d8f011b9 /emulators
parentba506c9c950f97dc5e93e15189149aabe1010314 (diff)
downloadfreebsd-ports-gnome-6f058f7862dd7aae9a2c3a4eda68a68218791ad9.tar.gz
freebsd-ports-gnome-6f058f7862dd7aae9a2c3a4eda68a68218791ad9.tar.zst
freebsd-ports-gnome-6f058f7862dd7aae9a2c3a4eda68a68218791ad9.zip
. add CONFLICTS;
. add a script LINUXBASE/usr/bin/lp to allow some programs (e.g. Acrobat Reader) to print with default settings, MF-f8; . deal (add and remove when necessary) with some share empty directories; . bump PORTREVISION.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/linux_base-fc4/Makefile8
-rw-r--r--emulators/linux_base-fc4/files/lp2
-rw-r--r--emulators/linux_base-fc4/pkg-install2
-rw-r--r--emulators/linux_base-fc4/pkg-plist4
4 files changed, 14 insertions, 2 deletions
diff --git a/emulators/linux_base-fc4/Makefile b/emulators/linux_base-fc4/Makefile
index 1462c356aa8b..2db3d660a562 100644
--- a/emulators/linux_base-fc4/Makefile
+++ b/emulators/linux_base-fc4/Makefile
@@ -8,7 +8,7 @@
PORTNAME= fc
PORTVERSION= 4
-PORTREVISION= 10
+PORTREVISION= 11
CATEGORIES= emulators linux
MASTER_SITES= ${MASTER_SITE_FEDORA_LINUX}
MASTER_SITE_SUBDIR= ${PORTVERSION}/${LINUX_RPM_ARCH}/os/Fedora/RPMS \
@@ -98,7 +98,7 @@ ALWAYS_KEEP_DISTFILES= yes
LATEST_LINK= linux_base
CONFLICTS= linux_base-7* linux_base-deb* linux_base-gentoo* \
linux_base-rh-9* linux_base-suse-9* linux_base-8* \
- linux_base-fc6 linux_locale*
+ linux_base-f8 linux_base-f7 linux_base-fc6 linux_locale*
ONLY_FOR_ARCHS= i386 amd64
LINUX_RPM_ARCH= i386
USE_LINUX_PREFIX= yes
@@ -193,6 +193,10 @@ do-install:
@${LN} -sf /var/tmp ${PREFIX}/usr/tmp
@${CHOWN} root:wheel ${PREFIX}/var/lock ${PREFIX}/var/spool/mail
@${CHMOD} 755 ${PREFIX}/var/lock ${PREFIX}/var/spool/mail
+#
+# Let some linux applications (e.g. print/acroread7) print with default settings
+#
+ @${INSTALL_SCRIPT} ${FILESDIR}/lp ${PREFIX}/usr/bin
post-install:
#
diff --git a/emulators/linux_base-fc4/files/lp b/emulators/linux_base-fc4/files/lp
new file mode 100644
index 000000000000..d1e0b5509eed
--- /dev/null
+++ b/emulators/linux_base-fc4/files/lp
@@ -0,0 +1,2 @@
+#!/bin/sh -
+exec /usr/bin/lpr "$@"
diff --git a/emulators/linux_base-fc4/pkg-install b/emulators/linux_base-fc4/pkg-install
index 0c33b8dbfb0c..5a429d6996b7 100644
--- a/emulators/linux_base-fc4/pkg-install
+++ b/emulators/linux_base-fc4/pkg-install
@@ -108,6 +108,7 @@ POST-INSTALL)
mkdir -p ${PKG_PREFIX}/usr/share/locale/gu/LC_MESSAGES
mkdir -p ${PKG_PREFIX}/usr/share/locale/fa/LC_MESSAGES
mkdir -p ${PKG_PREFIX}/usr/share/locale/eu/LC_MESSAGES
+ mkdir -p ${PKG_PREFIX}/usr/share/locale/es_ES/LC_MESSAGES
mkdir -p ${PKG_PREFIX}/usr/share/locale/en_CA/LC_MESSAGES
mkdir -p ${PKG_PREFIX}/usr/share/locale/en/LC_MESSAGES
mkdir -p ${PKG_PREFIX}/usr/share/locale/cy/LC_MESSAGES
@@ -121,6 +122,7 @@ POST-INSTALL)
mkdir -p ${PKG_PREFIX}/usr/share/locale/ar/LC_MESSAGES
mkdir -p ${PKG_PREFIX}/usr/share/locale/am/LC_MESSAGES
mkdir -p ${PKG_PREFIX}/usr/share/games
+ mkdir -p ${PKG_PREFIX}/usr/share/icons
mkdir -p ${PKG_PREFIX}/usr/share/empty
mkdir -p ${PKG_PREFIX}/usr/share/dict
mkdir -p ${PKG_PREFIX}/usr/share/applications
diff --git a/emulators/linux_base-fc4/pkg-plist b/emulators/linux_base-fc4/pkg-plist
index 05059ec46bdb..e07ac02cc6ff 100644
--- a/emulators/linux_base-fc4/pkg-plist
+++ b/emulators/linux_base-fc4/pkg-plist
@@ -277,6 +277,7 @@ usr/bin/lddlibc4
usr/bin/locale
usr/bin/localedef
usr/bin/logname
+usr/bin/lp
usr/bin/lsattr
usr/bin/md5sum
usr/bin/mkfifo
@@ -9099,6 +9100,8 @@ var/mail
@dirrm usr/share/locale/et/LC_TIME
@dirrm usr/share/locale/et/LC_MESSAGES
@dirrm usr/share/locale/et
+@dirrm usr/share/locale/es_ES/LC_MESSAGES
+@dirrm usr/share/locale/es_ES
@dirrm usr/share/locale/es/LC_TIME
@dirrm usr/share/locale/es/LC_MESSAGES
@dirrm usr/share/locale/es
@@ -9160,6 +9163,7 @@ var/mail
@dirrm usr/share/i18n/locales
@dirrm usr/share/i18n/charmaps
@dirrm usr/share/i18n
+@dirrm usr/share/icons
@dirrm usr/share/games
@dirrm usr/share/firstboot/modules
@dirrm usr/share/firstboot