1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00

- Update MASTER_SITES and WWW: line

- Respect CC/CFLAGS

PR:		161609
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
Emanuel Haupt 2011-10-18 13:03:42 +00:00
parent c764cea29a
commit 5be6bb814c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=283764
4 changed files with 14 additions and 41 deletions

View File

@ -6,17 +6,25 @@
PORTNAME= discid
PORTVERSION= 1.3
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://family.zawodny.com/~jzawodn/c/discid/ \
http://www.breuninger.org/files/distfiles/
MASTER_SITES= http://jeremy.zawodny.com/c/discid/
DISTNAME= ${PORTNAME}-freebsd-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Identify audio cd in your drive
PLIST_FILES= bin/discid
WRKSRC= ${WRKDIR}/freebsd
MAKE_ARGS= discid
PLIST_FILES= bin/discid
post-patch:
@${REINPLACE_CMD} -e 's|^void main|int main|' ${WRKSRC}/${PORTNAME}.c
do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} -o ${PORTNAME} ${PORTNAME}.c
do-install:
cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${PREFIX}/bin
.include <bsd.port.mk>

View File

@ -1,9 +0,0 @@
--- discid.c.orig Sat Apr 14 19:55:24 2001
+++ discid.c Mon May 27 18:33:37 2002
@@ -92,5 +92,5 @@
}
-void main(void) {
+int main(void) {
unsigned long discid;
int tracks, i;

View File

@ -1,14 +0,0 @@
--- Makefile.orig Sun Oct 15 10:08:53 2000
+++ Makefile Mon May 27 18:40:23 2002
@@ -1,3 +1,10 @@
+
+all: discid
+
discid: discid.c
gcc -o discid discid.c
- strip discid
+ strip discid
+
+install:
+ cp -p discid ${PREFIX}/bin
+

View File

@ -1,15 +1,3 @@
The discid home page is located at:
http://family.zawodny.com/jzawodn/c/discid/
A C Program to Compute CDDB discids on Linux and FreeBSD.
There may be bugs in the code as well as in the documentation. If
you find either, I'd appreciate a patch or at least a mail message
to let me know what's wrong.
discid has been developed and tested on Linux and FreeBSD. It may
work on other platforms with modification, but I don't know. If
you install it on another platform, I'd like to hear about it. If
you develop patches for that platform, I'd REALLY like to hear
about it. Send me a note. There's nothing that I know to be
platform-dependent in here yet, but you never know.
WWW: http://family.zawodny.com/jzawodn/c/discid/
WWW: http://jeremy.zawodny.com/c/discid/