diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-06-04 08:07:24 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-06-04 08:07:24 +0000 |
commit | 99cf3a43a563a66b225a78653d3c5f962a58c036 (patch) | |
tree | 549dc6160946f3ac3579a52d37067830811ed6bd /audio/autocd | |
parent | ffde7be3754a9d13eab8bd4a6849d9998e4cdce2 (diff) | |
download | ports-99cf3a43a563a66b225a78653d3c5f962a58c036.tar.gz ports-99cf3a43a563a66b225a78653d3c5f962a58c036.zip |
Notes
Diffstat (limited to 'audio/autocd')
-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 b8dee1779048..e83450f135d1 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 4a54c8f77aab..34554cd789b2 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 71d927ca94c7..000000000000 --- 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 aa5f11c6c8aa..828563c3b37f 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 |