diff options
author | reg <reg@FreeBSD.org> | 2000-10-03 09:33:36 +0800 |
---|---|---|
committer | reg <reg@FreeBSD.org> | 2000-10-03 09:33:36 +0800 |
commit | 30f04ef365496fe5ab18589f768b9a4bdb072344 (patch) | |
tree | 7ced7bde3adef9b8675c9eba49ea026a72afeba8 | |
parent | 74291092343f4788de1c300230697776433ce554 (diff) | |
download | freebsd-ports-graphics-30f04ef365496fe5ab18589f768b9a4bdb072344.tar.gz freebsd-ports-graphics-30f04ef365496fe5ab18589f768b9a4bdb072344.tar.zst freebsd-ports-graphics-30f04ef365496fe5ab18589f768b9a4bdb072344.zip |
Install orbitrc.default, and treat it as a real configuration file.
-rw-r--r-- | devel/ORBit/Makefile | 7 | ||||
-rw-r--r-- | devel/ORBit/pkg-plist | 3 | ||||
-rw-r--r-- | devel/ORBit2/Makefile | 7 | ||||
-rw-r--r-- | devel/ORBit2/pkg-plist | 3 |
4 files changed, 10 insertions, 10 deletions
diff --git a/devel/ORBit/Makefile b/devel/ORBit/Makefile index 3e3de5415c8..b6337053b79 100644 --- a/devel/ORBit/Makefile +++ b/devel/ORBit/Makefile @@ -30,10 +30,7 @@ CONFIGURE_ENV= GLIB_CONFIG="${GLIB_CONFIG}" \ CONFIGURE_ARGS= --disable-indent post-install: -.if !exists(${PREFIX}/etc/orbitrc) - @${ECHO} "ORBIIOPIPv4=0" > ${PREFIX}/etc/orbitrc - @${ECHO} "ORBIIOPIPv6=0" >> ${PREFIX}/etc/orbitrc - @${ECHO} etc/orbitrc >> ${TMPPLIST} -.endif + @${ECHO} "ORBIIOPIPv4=0" > ${PREFIX}/etc/orbitrc.default + @${ECHO} "ORBIIOPIPv6=0" >> ${PREFIX}/etc/orbitrc.default .include <bsd.port.mk> diff --git a/devel/ORBit/pkg-plist b/devel/ORBit/pkg-plist index 49e2b21bf88..bf59812aac7 100644 --- a/devel/ORBit/pkg-plist +++ b/devel/ORBit/pkg-plist @@ -7,6 +7,9 @@ bin/orbit-idl bin/orbit-ird bin/orbit-name-server etc/libIDLConf.sh +@unexec if cmp -s %D/etc/orbitrc.default %D/etc/orbitrc; then rm -f %D/etc/orbitrc; fi +etc/orbitrc.default +@exec if [ ! -f %D/etc/orbitrc ] ; then cp -p %D/%F %B/orbitrc; fi include/IIOP/IIOP-config.h include/IIOP/IIOP-types.h include/IIOP/IIOP.h diff --git a/devel/ORBit2/Makefile b/devel/ORBit2/Makefile index 3e3de5415c8..b6337053b79 100644 --- a/devel/ORBit2/Makefile +++ b/devel/ORBit2/Makefile @@ -30,10 +30,7 @@ CONFIGURE_ENV= GLIB_CONFIG="${GLIB_CONFIG}" \ CONFIGURE_ARGS= --disable-indent post-install: -.if !exists(${PREFIX}/etc/orbitrc) - @${ECHO} "ORBIIOPIPv4=0" > ${PREFIX}/etc/orbitrc - @${ECHO} "ORBIIOPIPv6=0" >> ${PREFIX}/etc/orbitrc - @${ECHO} etc/orbitrc >> ${TMPPLIST} -.endif + @${ECHO} "ORBIIOPIPv4=0" > ${PREFIX}/etc/orbitrc.default + @${ECHO} "ORBIIOPIPv6=0" >> ${PREFIX}/etc/orbitrc.default .include <bsd.port.mk> diff --git a/devel/ORBit2/pkg-plist b/devel/ORBit2/pkg-plist index 49e2b21bf88..bf59812aac7 100644 --- a/devel/ORBit2/pkg-plist +++ b/devel/ORBit2/pkg-plist @@ -7,6 +7,9 @@ bin/orbit-idl bin/orbit-ird bin/orbit-name-server etc/libIDLConf.sh +@unexec if cmp -s %D/etc/orbitrc.default %D/etc/orbitrc; then rm -f %D/etc/orbitrc; fi +etc/orbitrc.default +@exec if [ ! -f %D/etc/orbitrc ] ; then cp -p %D/%F %B/orbitrc; fi include/IIOP/IIOP-config.h include/IIOP/IIOP-types.h include/IIOP/IIOP.h |