ports/52721: New version of autocd port
Dmitry Afanasiev
KOT at MATPOCKuH.Ru
Tue May 27 14:00:27 UTC 2003
>Number: 52721
>Category: ports
>Synopsis: New version of autocd port
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Tue May 27 07:00:24 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Dmitry Afanasiev
>Release: FreeBSD 4.8-RC i386
>Organization:
>Environment:
System: FreeBSD orion 4.8-RC FreeBSD 4.8-RC #24: Tue Mar 25 19:16:53 MSK 2003 root at orion:/usr/obj/usr/src/sys/MATPOCKuH i386
>Description:
New version (3.01.02a) of autocd port
>How-To-Repeat:
>Fix:
diff -ruN autocd.orig/Makefile autocd/Makefile
--- autocd.orig/Makefile Tue May 27 17:00:36 2003
+++ autocd/Makefile Tue May 27 17:23:54 2003
@@ -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 @@
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 -ruN autocd.orig/distinfo autocd/distinfo
--- autocd.orig/distinfo Tue May 27 17:00:36 2003
+++ autocd/distinfo Tue May 27 17:24:11 2003
@@ -1 +1 @@
-MD5 (autocd-3.00.02a.tar.gz) = ef165796ae5e56123d974277ba879616
+MD5 (autocd-3.01.02a.tar.gz) = afc4a09ece5e0ec68c088b9501672c0e
diff -ruN autocd.orig/files/patch-Makefile autocd/files/patch-Makefile
--- autocd.orig/files/patch-Makefile Tue May 27 17:00:36 2003
+++ autocd/files/patch-Makefile Thu Jan 1 03:00:00 1970
@@ -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 -ruN autocd.orig/pkg-plist autocd/pkg-plist
--- autocd.orig/pkg-plist Tue May 27 17:00:36 2003
+++ autocd/pkg-plist Tue May 27 17:11:01 2003
@@ -3,3 +3,5 @@
bin/pause
bin/eject
etc/rc.d/autocd.sh
+%%PORTDOCS%%share/doc/autocd/README.rus.html
+ at dirrm share/doc/autocd
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list