New version of autocd port

New version (3.01.02a) of autocd port

PR:		ports/52721
Submitted by:	Dmitry Afanasiev <KOT@MATPOCKuH.Ru>
This commit is contained in:
Edwin Groothuis 2003-06-04 08:07:24 +00:00
parent ffde7be375
commit 99cf3a43a5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=82236
4 changed files with 20 additions and 17 deletions

View File

@ -6,7 +6,7 @@
# #
PORTNAME= autocd PORTNAME= autocd
PORTVERSION= 3.00.02a PORTVERSION= 3.01.02a
CATEGORIES= audio sysutils CATEGORIES= audio sysutils
MASTER_SITES= ftp://kot.spb.ru/pub/src/projects/autocd/ MASTER_SITES= ftp://kot.spb.ru/pub/src/projects/autocd/
@ -14,10 +14,22 @@ MAINTAINER= KOT@MATPOCKuH.Ru
COMMENT= Compact disc control utility COMMENT= Compact disc control utility
USE_REINPLACE= yes USE_REINPLACE= yes
post-patch:
@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/Makefile
MAN1= autocd.1 cdctl.1 MAN1= autocd.1 cdctl.1
post-patch:
.for file in Makefile
@${REINPLACE_CMD} -e \
's|/usr/local|${PREFIX}|g ; \
s|CFLAGS=-Wall -O2 -pipe|CFLAGS?=${CFLAGS}|g' \
${WRKSRC}/${file}
.endfor
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for i in README.rus.html
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1 +1 @@
MD5 (autocd-3.00.02a.tar.gz) = ef165796ae5e56123d974277ba879616 MD5 (autocd-3.01.02a.tar.gz) = afc4a09ece5e0ec68c088b9501672c0e

View File

@ -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

View File

@ -3,3 +3,5 @@ bin/cdctl
bin/pause bin/pause
bin/eject bin/eject
etc/rc.d/autocd.sh etc/rc.d/autocd.sh
%%PORTDOCS%%share/doc/autocd/README.rus.html
@dirrm share/doc/autocd