1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Update to 1.0.2

Add DEFAULT_CDROM_DEVICE knob
 default 4.x /dev/acd0c
 default >5.x /dev/acd0

PR:		ports/73885
Submitted by:	Martin Kraft <martin.kraft@fal.de> (maintainer)
Approved by:	marcus (co mentor)
This commit is contained in:
Michael Johnson 2004-11-14 05:58:39 +00:00
parent 984a3ef854
commit 004c05377e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=121538
2 changed files with 15 additions and 3 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= dekagen
PORTVERSION= 1.0.1
PORTVERSION= 1.0.2
CATEGORIES= audio
MASTER_SITES= ftp://ftp.ibiblio.org/pub/linux/apps/sound/convert/
@ -33,9 +33,21 @@ RUN_DEPENDS+= cdparanoia:${PORTSDIR}/audio/cdparanoia
MAN1= dekagen.1
MANCOMPRESSED= yes
PLIST_FILES= bin/dekagen
USE_REINPLACE= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
DEFAULT_CDROM_DEVICE?= /dev/acd0c
.else
DEFAULT_CDROM_DEVICE?= /dev/acd0
.endif
post-patch:
@${REINPLACE_CMD} -e \
's|/dev/cdrom|${DEFAULT_CDROM_DEVICE}|' \
${WRKSRC}/dekagen
NO_BUILD= Shell Script
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/dekagen ${PREFIX}/bin

View File

@ -1,2 +1,2 @@
MD5 (dekagen-1.0.1.tar.gz) = 0c2f8db38fa4a9ea0827be75fb4cf762
SIZE (dekagen-1.0.1.tar.gz) = 26774
MD5 (dekagen-1.0.2.tar.gz) = e40bcac8985d83b38eeb07cd311ebe2e
SIZE (dekagen-1.0.2.tar.gz) = 27055