Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 May 2003 12:18:09 +0200
From:      Kirill Ponomarew <ponomarew@oberon.net>
To:        Dmitry Afanasiev <KOT@MATPOCKuH.Ru>, freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/52712: New version of autocd port
Message-ID:  <20030527101809.GC31950@krion>
In-Reply-To: <20030527101718.GB31950@krion>
References:  <200305270903.h4R93bfF067701@orion.ifmo.ru> <20030527101250.GA31950@krion> <20030527101718.GB31950@krion>

next in thread | previous in thread | raw e-mail | index | archive | help

--8vCeF2GUdMpe9ZbK
Content-Type: multipart/mixed; boundary="tEFtbjk+mNEviIIX"
Content-Disposition: inline


--tEFtbjk+mNEviIIX
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi,

Argh...diff...

-Kirill

--tEFtbjk+mNEviIIX
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=diff-autocd
Content-Transfer-Encoding: quoted-printable

diff -urN autocd.orig/Makefile autocd/Makefile
--- autocd.orig/Makefile	Tue Apr  1 02:24:53 2003
+++ autocd/Makefile	Tue May 27 12:14:41 2003
@@ -6,7 +6,7 @@
 #
=20
 PORTNAME=3D	autocd
-PORTVERSION=3D	3.00.02a
+PORTVERSION=3D	3.01.01a=09
 CATEGORIES=3D	audio sysutils
 MASTER_SITES=3D	ftp://kot.spb.ru/pub/src/projects/autocd/
=20
@@ -14,10 +14,23 @@
 COMMENT=3D	Compact disc control utility
=20
 USE_REINPLACE=3D	yes
+MAN1=3D		autocd.1 cdctl.1
=20
 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=3D-Wall -O2 -pipe|CFLAGS?=3D${CFLAGS}|g' \
+		${WRKSRC}/${file}
+.endfor
=20
-MAN1=3D		autocd.1 cdctl.1
+post-install:
+.if !defined(NOPORTDOCS)
+	${MKDIR} ${DOCSDIR}
+.for i in README.rus.html
+	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+	${STRIP_CMD} ${PREFIX}/bin/${PORTNAME} ${PREFIX}/bin/cdctl
+.endfor
+.endif
=20
 .include	<bsd.port.mk>
diff -urN autocd.orig/distinfo autocd/distinfo
--- autocd.orig/distinfo	Tue Apr  1 02:24:53 2003
+++ autocd/distinfo	Tue May 27 12:14:46 2003
@@ -1 +1 @@
-MD5 (autocd-3.00.02a.tar.gz) =3D ef165796ae5e56123d974277ba879616
+MD5 (autocd-3.01.01a.tar.gz) =3D 3faa8e75ea61b6e0f1dcdaee00d57ff4
diff -urN autocd.orig/files/patch-Makefile autocd/files/patch-Makefile
--- autocd.orig/files/patch-Makefile	Tue Apr  1 02:24:53 2003
+++ autocd/files/patch-Makefile	Thu Jan  1 01: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
-=20
- # Install prefix
--PREFIX=3D/usr/local
-+PREFIX=3D%%LOCALBASE%%
- # Prefix for rc script. This is default for FreeBSD only!
- RCPREFIX=3D$(PREFIX)/etc/rc.d
- # Compiler flags
diff -urN autocd.orig/pkg-plist autocd/pkg-plist
--- autocd.orig/pkg-plist	Tue Apr  1 02:24:53 2003
+++ autocd/pkg-plist	Tue May 27 11:56:40 2003
@@ -1,5 +1,5 @@
 bin/autocd
 bin/cdctl
-bin/pause
-bin/eject
 etc/rc.d/autocd.sh
+%%PORTDOCS%%share/doc/autocd/README.rus.html
+@dirrm share/doc/autocd

--tEFtbjk+mNEviIIX--

--8vCeF2GUdMpe9ZbK
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE+0zthQC1G6a60JuURApuxAKDqrVm1ATQYAXuLZOHYcVL4093vAgCgxrLP
qqq4GxRaJvFrAm27pJ6jqOs=
=ca9X
-----END PGP SIGNATURE-----

--8vCeF2GUdMpe9ZbK--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030527101809.GC31950>