diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2002-10-16 20:13:03 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2002-10-16 20:13:03 +0000 |
commit | d089f2589c9e26934a7a38f663490dec0aee4d8f (patch) | |
tree | 4a306ed0612fd3731e6f13efe2a5b34864f1491d /net/freebsd-uucp | |
parent | 720a98c8339206804604c901242ac4254fbb190a (diff) | |
download | ports-d089f2589c9e26934a7a38f663490dec0aee4d8f.tar.gz ports-d089f2589c9e26934a7a38f663490dec0aee4d8f.zip |
new target: base-package
register a package for all the files of the base installation,
so the user can delete them later.
Notes
Notes:
svn path=/head/; revision=68162
Diffstat (limited to 'net/freebsd-uucp')
-rw-r--r-- | net/freebsd-uucp/Makefile | 14 | ||||
-rw-r--r-- | net/freebsd-uucp/files/pkg-comment | 1 | ||||
-rw-r--r-- | net/freebsd-uucp/files/pkg-descr | 2 | ||||
-rw-r--r-- | net/freebsd-uucp/files/pkg-plist | 44 |
4 files changed, 61 insertions, 0 deletions
diff --git a/net/freebsd-uucp/Makefile b/net/freebsd-uucp/Makefile index 9c07cbabd1df..ab69423f08c6 100644 --- a/net/freebsd-uucp/Makefile +++ b/net/freebsd-uucp/Makefile @@ -24,6 +24,7 @@ VARLOG= uucp/common_sources/policy.h uucp/uucico/uucico.8 \ uucp/uucp/uucp.1 uucp/uux/uux.1 uucp/uuxqt/uuxqt.8 FIXME= etc/periodic/daily/340.uucp etc/periodic/daily/410.status-uucp \ etc/periodic/weekly/300.uucp +BPKGNAME= base-uucp-1.06.1 post-extract: @(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} \ @@ -81,4 +82,17 @@ upgrade: @${ECHO} "Copying old configuration files from /etc/uucp to ${PREFIX}/etc/uucp" @${CP} -rp /etc/uucp ${PREFIX}/etc/uucp +base-package: + @if [ ! -d ${PKG_DBDIR}/${BPKGNAME} ]; then \ + ${ECHO_MSG} "===> Registering installation for ${BPKGNAME}"; \ + ${MKDIR} ${PKG_DBDIR}/${BPKGNAME}; \ + ${PKG_CMD} -v -c ${FILESDIR}/pkg-comment \ + -d ${FILESDIR}/pkg-descr -f ${FILESDIR}/pkg-plist \ + -p / -o ${PKGORIGIN} -O ${BPKGNAME} \ + > ${PKG_DBDIR}/${BPKGNAME}/+CONTENTS; \ + ${CP} ${FILESDIR}/pkg-descr ${PKG_DBDIR}/${BPKGNAME}/+DESC; \ + ${CP} ${FILESDIR}/pkg-comment \ + ${PKG_DBDIR}/${BPKGNAME}/+COMMENT; \ + fi + .include <bsd.port.mk> diff --git a/net/freebsd-uucp/files/pkg-comment b/net/freebsd-uucp/files/pkg-comment new file mode 100644 index 000000000000..f9ab9ea4c088 --- /dev/null +++ b/net/freebsd-uucp/files/pkg-comment @@ -0,0 +1 @@ +Taylor UUCP in the base system (to delete) diff --git a/net/freebsd-uucp/files/pkg-descr b/net/freebsd-uucp/files/pkg-descr new file mode 100644 index 000000000000..8498aa563ae8 --- /dev/null +++ b/net/freebsd-uucp/files/pkg-descr @@ -0,0 +1,2 @@ +This is a package of the Taylor UUCP Unix-to-Unix Copy Program suite +in the base system, deinstall it to clean your system from it. diff --git a/net/freebsd-uucp/files/pkg-plist b/net/freebsd-uucp/files/pkg-plist new file mode 100644 index 000000000000..581a1b3323a5 --- /dev/null +++ b/net/freebsd-uucp/files/pkg-plist @@ -0,0 +1,44 @@ +etc/periodic/daily/340.uucp +etc/periodic/daily/410.status-uucp +etc/periodic/weekly/300.uucp +etc/uucp/call.sample +etc/uucp/dial.sample +etc/uucp/dialcode.sample +etc/uucp/passwd.sample +etc/uucp/port.sample +etc/uucp/sys1.sample +etc/uucp/sys2.sample +etc/uucp/sys2.sample +usr/bin/cu +usr/bin/uucp +usr/bin/uulog +usr/bin/uuname +usr/bin/uupick +usr/bin/uusched +usr/bin/uustat +usr/bin/uuto +usr/bin/uux +usr/libexec/uucp/uucico +usr/libexec/uucp/uuxqt +usr/libexec/uucpd +usr/sbin/uuchk +usr/sbin/uuconv +usr/share/info/uucp.info.gz +usr/share/man/man1/cu.1.gz +usr/share/man/man1/uuconv.1.gz +usr/share/man/man1/uucp.1.gz +usr/share/man/man1/uulog.1.gz +usr/share/man/man1/uuname.1.gz +usr/share/man/man1/uupick.1.gz +usr/share/man/man1/uustat.1.gz +usr/share/man/man1/uuto.1.gz +usr/share/man/man1/uux.1.gz +usr/share/man/man8/uuchk.8.gz +usr/share/man/man8/uucico.8.gz +usr/share/man/man8/uusched.8.gz +usr/share/man/man8/uuxqt.8.gz +usr/share/man/man8/uucpd.8.gz +@dirrm etc/uucp +@dirrm usr/libexec/uucp +@unexec install-info --delete /usr/share/info/uucp.info /usr/share/info/dir +@unexec if [ -f /usr/share/info/dir ]; then if sed -e '1,/Menu:/d' /usr/share/info/dir | grep -q '^[*] '; then true; else rm /usr/share/info/dir; fi; fi |