freebsd-ports/sysutils/eject/Makefile
Joe Marcus Clarke 380e61ac3c * Fix the intended functionality of the previous commit (i.e. /dev/<dev>c,
/dev/<dev>, and <dev> are all searched)
* Fix a potential buffer overflow introduced by the previous commit
* Fix a memory leak introduced in the previous commit
* Fix the case where <dev> is not a symlink
* Reset maintainer to ports@

Approved by:	shige (previous maintainer)
2003-12-24 20:44:41 +00:00

33 lines
755 B
Makefile

# New ports collection makefile for: eject
# Date created: 03 January 2000
# Whom: shige
#
# $FreeBSD$
#
PORTNAME= eject
PORTVERSION= 1.4
PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= ftp://ports.jp.FreeBSD.org/pub/FreeBSD-jp/OD/ \
ftp://ftp4.jp.FreeBSD.org/pub/FreeBSD-jp/OD/ \
ftp://ftp.ics.es.osaka-u.ac.jp/pub/mirrors/FreeBSD-jp/OD/
MAINTAINER= ports@FreeBSD.org
COMMENT= Utility for ejecting media from CD or optical disk drive
DOCDIR= share/doc/eject
PLIST_SUB= DOCDIR=${DOCDIR}
MAN1= eject.1
MANCOMPRESSED= yes
post-install:
@if [ ! -d ${PREFIX}/${DOCDIR} ] ; then \
${MKDIR} ${PREFIX}/${DOCDIR} ; \
fi
@for i in README README-J ; do \
${INSTALL_DATA} ${WRKSRC}/$${i} ${PREFIX}/${DOCDIR} ; \
done
.include <bsd.port.mk>