1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/audio/autocd/Makefile
Edwin Groothuis d05213cb21 [patch] cleanup non-supported FreeBSD versions
PR:		ports/111648
Submitted by:	Edwin Groothuis <edwin@mavetju.org>
Approved by:	maintainer timeout
2007-05-02 07:11:57 +00:00

40 lines
1.0 KiB
Makefile

# New ports collection makefile for: autocd
# Date created: 11 Marth 2003
# Whom: Dmitry Afanasiev <KOT@MATPOCKuH.Ru>
#
# $FreeBSD$
#
PORTNAME= autocd
PORTVERSION= 3.02.12b
CATEGORIES= audio sysutils
MASTER_SITES= ftp://kot.spb.ru/pub/src/projects/autocd/
MAINTAINER= KOT@MATPOCKuH.Ru
COMMENT= Compact disc control utility
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
MAN1= cdctl.1 acdplay.1
MAN8= autocd.8
MLINKS= cdctl.1 eject.1 cdctl.1 pause.1
PLIST_FILES= sbin/autocd bin/acdplay bin/cdctl bin/pause bin/eject
PORTDOCS= README.rus.html
USE_RC_SUBR= yes
RC_SUFX= .sh
SED_SCRIPT+= -e '{ s,%%PREFIX%%,${PREFIX},g; s,%%RC_SUBR%%,${RC_SUBR},g; }'
PLIST_FILES+= etc/rc.d/autocd${RC_SUFX}
post-build:
@${SED} ${SED_SCRIPT} ${FILESDIR}/autocd.sh >${WRKDIR}/autocd.sh
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/autocd.sh ${PREFIX}/etc/rc.d/autocd${RC_SUFX}
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.mk>