summaryrefslogtreecommitdiff
path: root/sysutils/eject/Makefile
blob: ab69fbb74b60a2d1962bd2aab6dd8fab0b11df9a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# New ports collection makefile for:	eject
# Date created:		03 January 2000
# Whom:			shige
#
# $FreeBSD$
#

PORTNAME=	eject
PORTVERSION=	1.5
PORTREVISION=	4
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=	sylvio@FreeBSD.org
COMMENT=	Utility for ejecting media from CD or optical disk drive

PLIST_FILES=	sbin/eject
PORTDOCS=	README README-J

MAN1=		eject.1
MANCOMPRESSED=	yes

post-patch:
	${REINPLACE_CMD} -e 's,4555,555,' ${WRKSRC}/Makefile

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>