2dda480e8a
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: PR: ports/91247 Submitted by: Jason Bacon <bacon@smithers.neuro.mcw.edu>
38 lines
930 B
Makefile
38 lines
930 B
Makefile
# New ports collection Makefile for: mcweject
|
|
# Date created: 11 Jan 2005
|
|
# Whom: Jason Bacon <jbacon@mcw.edu>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= mcweject
|
|
PORTVERSION= 0.9
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://www.neuro.mcw.edu/~bacon/Ports/distfiles/
|
|
|
|
MAINTAINER= jbacon@mcw.edu
|
|
COMMENT= Removable media eject
|
|
|
|
MAN1= eject.1
|
|
MANCOMPRESSED= yes
|
|
SUB_FILES= pkg-message
|
|
|
|
CONFLICTS= eject-[0-9]*
|
|
PKGMESSAGE= ${WRKDIR}/pkg-message
|
|
|
|
PLIST_FILES= sbin/eject share/examples/mcweject/eject.allow
|
|
PLIST_DIRS= share/examples/mcweject
|
|
|
|
do-install:
|
|
${MKDIR} ${PREFIX}/share/examples/mcweject
|
|
${INSTALL_DATA} ${WRKSRC}/eject.allow.sample \
|
|
${PREFIX}/share/examples/mcweject/eject.allow
|
|
${INSTALL_PROGRAM} ${WRKSRC}/eject ${PREFIX}/sbin
|
|
${CHMOD} 4511 ${PREFIX}/sbin/eject
|
|
${INSTALL_DATA} ${WRKSRC}/eject.1 ${PREFIX}/man/man1
|
|
${GZIP_CMD} -best ${PREFIX}/man/man1/eject.1
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|