diff --git a/sysutils/Makefile b/sysutils/Makefile index 78f93f0deb01..be32dfb41587 100644 --- a/sysutils/Makefile +++ b/sysutils/Makefile @@ -299,6 +299,7 @@ SUBDIR += manck SUBDIR += mapchan SUBDIR += mcron + SUBDIR += mcweject SUBDIR += mdf2iso SUBDIR += megarc SUBDIR += memdump diff --git a/sysutils/mcweject/Makefile b/sysutils/mcweject/Makefile new file mode 100644 index 000000000000..6c543cffae3f --- /dev/null +++ b/sysutils/mcweject/Makefile @@ -0,0 +1,43 @@ +# New ports collection Makefile for: mcweject +# Date created: 11 Jan 2005 +# Whom: 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 + +post-extract: +.for f in eject eject.o eject.1.gz + ${RM} ${WRKSRC}/${f} +.endfor + +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 diff --git a/sysutils/mcweject/distinfo b/sysutils/mcweject/distinfo new file mode 100644 index 000000000000..b12218fcc7d9 --- /dev/null +++ b/sysutils/mcweject/distinfo @@ -0,0 +1,3 @@ +MD5 (mcweject-0.9.tar.gz) = 65c8ab5d82dd852b956f5c96bdb8e93d +SHA256 (mcweject-0.9.tar.gz) = 3405042896ed68c8317778a3e407a833ede313d40d3e7e928de3253109f339d5 +SIZE (mcweject-0.9.tar.gz) = 19254 diff --git a/sysutils/mcweject/files/pkg-message.in b/sysutils/mcweject/files/pkg-message.in new file mode 100644 index 000000000000..fb1bc7628b07 --- /dev/null +++ b/sysutils/mcweject/files/pkg-message.in @@ -0,0 +1,6 @@ +=================================================================== +The file eject.allow has been installed in %%PREFIX%%/share/examples/. + +Copy this file to %%PREFIX%%/etc/eject.allow, and edit to reflect +the devices you wish to be ejectable. +=================================================================== diff --git a/sysutils/mcweject/pkg-descr b/sysutils/mcweject/pkg-descr new file mode 100644 index 000000000000..ae6c6b052fd4 --- /dev/null +++ b/sysutils/mcweject/pkg-descr @@ -0,0 +1,7 @@ +This is a port of eject, a command line utility for ejecting removable +media. + +WWW: http://www.neuro.mcw.edu/~bacon + +- Jason +jbacon@mcw.edu