diff options
author | edwin <edwin@FreeBSD.org> | 2003-06-04 08:07:24 +0000 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2003-06-04 08:07:24 +0000 |
commit | 873ce0d15ca2eebfaad2094605e2da3cd27145df (patch) | |
tree | bf5d9105504a9b5569bebde7cf8fa6649ac14130 /audio | |
parent | dae8d9ed2b928a02a7a243ee17c88db354f854c4 (diff) | |
download | FreeBSD-ports-873ce0d15ca2eebfaad2094605e2da3cd27145df.zip FreeBSD-ports-873ce0d15ca2eebfaad2094605e2da3cd27145df.tar.gz |
New version of autocd port
New version (3.01.02a) of autocd port
PR: ports/52721
Submitted by: Dmitry Afanasiev <KOT@MATPOCKuH.Ru>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/autocd/Makefile | 18 | ||||
-rw-r--r-- | audio/autocd/distinfo | 2 | ||||
-rw-r--r-- | audio/autocd/files/patch-Makefile | 11 | ||||
-rw-r--r-- | audio/autocd/pkg-plist | 2 |
4 files changed, 18 insertions, 15 deletions
diff --git a/audio/autocd/Makefile b/audio/autocd/Makefile index b8dee17..e83450f 100644 --- a/audio/autocd/Makefile +++ b/audio/autocd/Makefile @@ -6,7 +6,7 @@ # PORTNAME= autocd -PORTVERSION= 3.00.02a +PORTVERSION= 3.01.02a CATEGORIES= audio sysutils MASTER_SITES= ftp://kot.spb.ru/pub/src/projects/autocd/ @@ -14,10 +14,22 @@ MAINTAINER= KOT@MATPOCKuH.Ru COMMENT= Compact disc control utility USE_REINPLACE= yes +MAN1= autocd.1 cdctl.1 post-patch: - @${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/Makefile +.for file in Makefile + @${REINPLACE_CMD} -e \ + 's|/usr/local|${PREFIX}|g ; \ + s|CFLAGS=-Wall -O2 -pipe|CFLAGS?=${CFLAGS}|g' \ + ${WRKSRC}/${file} +.endfor -MAN1= autocd.1 cdctl.1 +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for i in README.rus.html + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor +.endif .include <bsd.port.mk> diff --git a/audio/autocd/distinfo b/audio/autocd/distinfo index 4a54c8f..34554cd 100644 --- a/audio/autocd/distinfo +++ b/audio/autocd/distinfo @@ -1 +1 @@ -MD5 (autocd-3.00.02a.tar.gz) = ef165796ae5e56123d974277ba879616 +MD5 (autocd-3.01.02a.tar.gz) = afc4a09ece5e0ec68c088b9501672c0e diff --git a/audio/autocd/files/patch-Makefile b/audio/autocd/files/patch-Makefile deleted file mode 100644 index 71d927c..0000000 --- a/audio/autocd/files/patch-Makefile +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.orig Tue Mar 11 13:32:37 2003 -+++ Makefile Tue Mar 11 13:33:27 2003 -@@ -1,7 +1,7 @@ - # Makefile for autocd - - # Install prefix --PREFIX=/usr/local -+PREFIX=%%LOCALBASE%% - # Prefix for rc script. This is default for FreeBSD only! - RCPREFIX=$(PREFIX)/etc/rc.d - # Compiler flags diff --git a/audio/autocd/pkg-plist b/audio/autocd/pkg-plist index aa5f11c..828563c 100644 --- a/audio/autocd/pkg-plist +++ b/audio/autocd/pkg-plist @@ -3,3 +3,5 @@ bin/cdctl bin/pause bin/eject etc/rc.d/autocd.sh +%%PORTDOCS%%share/doc/autocd/README.rus.html +@dirrm share/doc/autocd |