aboutsummaryrefslogtreecommitdiff
path: root/emulators/linux_base-f8
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2008-03-29 15:02:25 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2008-03-29 15:02:25 +0000
commit479e1637ff0640686707eca96b987f3df6c9d7ad (patch)
tree9f0e9642e088253eda442e0e70857af0eff71ab4 /emulators/linux_base-f8
parentc66295bcb56eaf6e3a7c2947c5221c379af894c4 (diff)
downloadports-479e1637ff0640686707eca96b987f3df6c9d7ad.tar.gz
ports-479e1637ff0640686707eca96b987f3df6c9d7ad.zip
Notes
Diffstat (limited to 'emulators/linux_base-f8')
-rw-r--r--emulators/linux_base-f8/Makefile7
-rw-r--r--emulators/linux_base-f8/files/lp2
-rw-r--r--emulators/linux_base-f8/pkg-plist1
3 files changed, 9 insertions, 1 deletions
diff --git a/emulators/linux_base-f8/Makefile b/emulators/linux_base-f8/Makefile
index b0955b238e41..e2d51ccfa4d8 100644
--- a/emulators/linux_base-f8/Makefile
+++ b/emulators/linux_base-f8/Makefile
@@ -7,6 +7,7 @@
PORTNAME= f8
PORTVERSION= 8
+PORTREVISION= 1
CATEGORIES= emulators linux
MASTER_SITES= ${MASTER_SITE_FEDORA_LINUX}
MASTER_SITE_SUBDIR= ../releases/${PORTVERSION}/Everything/${LINUX_RPM_ARCH}/os/Packages \
@@ -96,7 +97,7 @@ SRC_DISTFILES+= acl-2.2.39-13.fc8.src.rpm \
ALWAYS_KEEP_DISTFILES= yes
.endif
-CONFLICTS= linux_base-gentoo* linux_base-fc4 linux_base-fc6
+CONFLICTS= linux_base-gentoo* linux_base-fc4 linux_base-fc6 linux_base-f7
ONLY_FOR_ARCHS= i386 amd64
LINUX_RPM_ARCH= i386
USE_LINUX_PREFIX= yes
@@ -204,6 +205,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-f8/files/lp b/emulators/linux_base-f8/files/lp
new file mode 100644
index 000000000000..d1e0b5509eed
--- /dev/null
+++ b/emulators/linux_base-f8/files/lp
@@ -0,0 +1,2 @@
+#!/bin/sh -
+exec /usr/bin/lpr "$@"
diff --git a/emulators/linux_base-f8/pkg-plist b/emulators/linux_base-f8/pkg-plist
index db12f6fa5495..bf8ab8a8eb87 100644
--- a/emulators/linux_base-f8/pkg-plist
+++ b/emulators/linux_base-f8/pkg-plist
@@ -298,6 +298,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