Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 Jan 2006 18:37:29 -0600 (CST)
From:      Jason Bacon <bacon@smithers.neuro.mcw.edu>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/91247: Update to port mcweject
Message-ID:  <200601030037.k030bTq7013308@smithers.neuro.mcw.edu>
Resent-Message-ID: <200601030040.k030e6Df086322@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         91247
>Category:       ports
>Synopsis:       Update to port mcweject
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 03 00:40:05 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jason Bacon
>Release:        FreeBSD 5.4-RELEASE i386
>Organization:
Medical College of Wisconsin
>Environment:
System: FreeBSD smithers.neuro.mcw.edu 5.4-RELEASE FreeBSD 5.4-RELEASE #2: Wed Aug 24 14:54:53 CDT 2005 bacon@clone.neuro.mcw.edu:/usr/obj/usr/src/sys/clone i386
>Description:

My original dist file mistakenly contained object files and a gzipped man page.
(I simply forgot to make clean before rolling the tarball.)
Someone on your end enhanced the port Makefile to remove these post-extract
as a workaround.  I've since cleaned up the dist file, and updated the port 
Makefile and distinfo.  Here's the new tree:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	mcweject
#	mcweject/files
#	mcweject/files/pkg-message.in
#	mcweject/Makefile
#	mcweject/distinfo
#	mcweject/.Makefile.bak
#	mcweject/pkg-descr
#
echo c - mcweject
mkdir -p mcweject > /dev/null 2>&1
echo c - mcweject/files
mkdir -p mcweject/files > /dev/null 2>&1
echo x - mcweject/files/pkg-message.in
sed 's/^X//' >mcweject/files/pkg-message.in << 'END-of-mcweject/files/pkg-message.in'
X===================================================================
XThe file eject.allow has been installed in %%PREFIX%%/share/examples/.
X
XCopy this file to %%PREFIX%%/etc/eject.allow, and edit to reflect
Xthe devices you wish to be ejectable.
X===================================================================
END-of-mcweject/files/pkg-message.in
echo x - mcweject/Makefile
sed 's/^X//' >mcweject/Makefile << 'END-of-mcweject/Makefile'
X# New ports collection Makefile for:   mcweject
X# Date created:        11 Jan 2005
X# Whom:                jbacon@mcw.edu
X#
X# $FreeBSD: ports/sysutils/mcweject/Makefile,v 1.1 2005/12/21 04:40:49 edwin Exp $
X#
X
XPORTNAME=       mcweject
XPORTVERSION=    0.9
XCATEGORIES=     sysutils
XMASTER_SITES=   http://www.neuro.mcw.edu/~bacon/Ports/distfiles/
X
XMAINTAINER=     jbacon@mcw.edu
XCOMMENT=        Removable media eject
X
XMAN1=           eject.1
XMANCOMPRESSED=  yes
XSUB_FILES=      pkg-message
X
XCONFLICTS=      eject-[0-9]*
XPKGMESSAGE=     ${WRKDIR}/pkg-message
X
XPLIST_FILES=    sbin/eject share/examples/mcweject/eject.allow
XPLIST_DIRS=     share/examples/mcweject
X
Xdo-install:
X	${MKDIR} ${PREFIX}/share/examples/mcweject
X	${INSTALL_DATA} ${WRKSRC}/eject.allow.sample \
X		${PREFIX}/share/examples/mcweject/eject.allow
X	${INSTALL_PROGRAM} ${WRKSRC}/eject ${PREFIX}/sbin
X	${CHMOD} 4511 ${PREFIX}/sbin/eject
X	${INSTALL_DATA} ${WRKSRC}/eject.1 ${PREFIX}/man/man1
X	${GZIP_CMD} -best ${PREFIX}/man/man1/eject.1
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-mcweject/Makefile
echo x - mcweject/distinfo
sed 's/^X//' >mcweject/distinfo << 'END-of-mcweject/distinfo'
XMD5 (mcweject-0.9.tar.gz) = dd2ec20b8c9054faf238d2c35cc77e2c
XSIZE (mcweject-0.9.tar.gz) = 6037
END-of-mcweject/distinfo
echo x - mcweject/.Makefile.bak
sed 's/^X//' >mcweject/.Makefile.bak << 'END-of-mcweject/.Makefile.bak'
X# New ports collection Makefile for:   mcweject
X# Date created:        11 Jan 2005
X# Whom:                jbacon@mcw.edu
X#
X# $FreeBSD: ports/sysutils/mcweject/Makefile,v 1.1 2005/12/21 04:40:49 edwin Exp $
X#
X
XPORTNAME=       mcweject
XPORTVERSION=    0.9
XCATEGORIES=     sysutils
XMASTER_SITES=   http://www.neuro.mcw.edu/~bacon/Ports/distfiles/
X
XMAINTAINER=     jbacon@mcw.edu
XCOMMENT=        Removable media eject
X
XMAN1=           eject.1
XMANCOMPRESSED=  yes
XSUB_FILES=	pkg-message
X
XCONFLICTS=      eject-[0-9]*
XPKGMESSAGE=	${WRKDIR}/pkg-message
X
XPLIST_FILES=	sbin/eject share/examples/mcweject/eject.allow
XPLIST_DIRS=	share/examples/mcweject
X
Xpost-extract:
X.for f in eject eject.o eject.1.gz
X	${RM} ${WRKSRC}/${f}
X.endfor
X
Xdo-install:
X	${MKDIR} ${PREFIX}/share/examples/mcweject
X	${INSTALL_DATA} ${WRKSRC}/eject.allow.sample \
X		${PREFIX}/share/examples/mcweject/eject.allow
X	${INSTALL_PROGRAM} ${WRKSRC}/eject ${PREFIX}/sbin
X	${CHMOD} 4511 ${PREFIX}/sbin/eject
X	${INSTALL_DATA} ${WRKSRC}/eject.1 ${PREFIX}/man/man1
X	${GZIP_CMD} -best ${PREFIX}/man/man1/eject.1
X
Xpost-install:
X	@${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-mcweject/.Makefile.bak
echo x - mcweject/pkg-descr
sed 's/^X//' >mcweject/pkg-descr << 'END-of-mcweject/pkg-descr'
XThis is a port of eject, a command line utility for ejecting removable
Xmedia.
X
XWWW: http://www.neuro.mcw.edu/~bacon
X
X- Jason
Xjbacon@mcw.edu
END-of-mcweject/pkg-descr
exit

>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601030037.k030bTq7013308>