diff options
author | ahze <ahze@FreeBSD.org> | 2004-11-14 13:58:39 +0800 |
---|---|---|
committer | ahze <ahze@FreeBSD.org> | 2004-11-14 13:58:39 +0800 |
commit | d64d682cbe5eb3faa168479c82fa29a337d20bfd (patch) | |
tree | 923d020f0aab5f0c43cf67f6155e6419309ebad4 | |
parent | 5b4fbf94f2ce9c2cd0eddffa1d1ab065f3b725d2 (diff) | |
download | freebsd-ports-gnome-d64d682cbe5eb3faa168479c82fa29a337d20bfd.tar.gz freebsd-ports-gnome-d64d682cbe5eb3faa168479c82fa29a337d20bfd.tar.zst freebsd-ports-gnome-d64d682cbe5eb3faa168479c82fa29a337d20bfd.zip |
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)
-rw-r--r-- | audio/dekagen/Makefile | 14 | ||||
-rw-r--r-- | audio/dekagen/distinfo | 4 |
2 files changed, 15 insertions, 3 deletions
diff --git a/audio/dekagen/Makefile b/audio/dekagen/Makefile index ce5adfd76048..492582992208 100644 --- a/audio/dekagen/Makefile +++ b/audio/dekagen/Makefile @@ -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 diff --git a/audio/dekagen/distinfo b/audio/dekagen/distinfo index 8cfd06d0b1fa..98be8afb9779 100644 --- a/audio/dekagen/distinfo +++ b/audio/dekagen/distinfo @@ -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 |