Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Apr 2015 18:54:18 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r383468 - head/audio/abcmidi
Message-ID:  <201504061854.t36IsIdZ099647@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon Apr  6 18:54:18 2015
New Revision: 383468
URL: https://svnweb.freebsd.org/changeset/ports/383468

Log:
  audio/abcmidi: Update to version 2015.03.27

Deleted:
  head/audio/abcmidi/pkg-plist
Modified:
  head/audio/abcmidi/Makefile
  head/audio/abcmidi/distinfo

Modified: head/audio/abcmidi/Makefile
==============================================================================
--- head/audio/abcmidi/Makefile	Mon Apr  6 18:50:50 2015	(r383467)
+++ head/audio/abcmidi/Makefile	Mon Apr  6 18:54:18 2015	(r383468)
@@ -2,10 +2,10 @@
 # $FreeBSD$
 
 PORTNAME=	abcmidi
-PORTVERSION=	2011.04.29
+DISTVERSION=	2015-03-27
 CATEGORIES=	audio
-MASTER_SITES=	http://ifdo.ca/~seymour/runabc/
-DISTNAME=	abcMIDI-${PORTVERSION:S/./-/g}
+MASTER_SITES=	http://ifdo.pugmarks.com/~seymour/runabc/
+DISTNAME=	abcMIDI-${DISTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Convert abc music files to MIDI and PostScript
@@ -14,27 +14,30 @@ LICENSE=	GPLv2
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
-BROKEN=		no public distfiles
-USES=		gmake zip
-MAKEFILE=	makefiles/unix.mak
-MAKE_ARGS=	CC="${CC}" CFLAGS="${CFLAGS} -DANSILIBS -c" LNK="${CC}"
+USES=		zip
+GNU_CONFIGURE=	yes
 
-MANPAGES=		abc2abc.1 abc2midi.1 mftext.1 midi2abc.1 midicopy.1 yaps.1
+PORTDOCS=	*
+PLIST_FILES=	${EXECUTABLES:S,^,bin/,} \
+		${EXECUTABLES:S,^,man/man1/,:S,$,.1.gz,}
 
 OPTIONS_DEFINE=	DOCS
 
-do-install:
-.for FILE in abc2abc abc2midi abcmatch mftext midi2abc midicopy yaps
-	${INSTALL_PROGRAM} ${WRKSRC}/${FILE} ${STAGEDIR}${PREFIX}/bin
-.endfor
-.for FILE in ${MANPAGES}
-	${INSTALL_MAN} ${WRKSRC}/doc/${FILE} ${STAGEDIR}${MAN1PREFIX}/man/man1
-.endfor
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/doc/CHANGES ${STAGEDIR}${DOCSDIR}
+EXECUTABLES=	abc2abc abc2midi abcmatch mftext midi2abc midicopy yaps
+
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's| -O2||' ${WRKSRC}/configure
+	@${REINPLACE_CMD} -e \
+		'/^docdir/s|= .*|= $${datadir}/doc/abcmidi| ; \
+		 s|$${prefix}/||g ; \
+		 s|$$(INSTALL) -m 755|$$(INSTALL_PROGRAM)| ; \
+		 s|$$(INSTALL) -m 644|$$(INSTALL_DATA)|' \
+		${WRKSRC}/Makefile.in
+
+post-install:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}/programming
-	${INSTALL_DATA} ${WRKSRC}/doc/programming/*.abc ${STAGEDIR}${DOCSDIR}/programming
-	${INSTALL_DATA} ${WRKSRC}/doc/programming/*.txt ${STAGEDIR}${DOCSDIR}/programming
+	(cd ${WRKSRC}/doc/programming && ${INSTALL_DATA} *.abc *.txt \
+		${STAGEDIR}${DOCSDIR}/programming)
 
 .include <bsd.port.mk>

Modified: head/audio/abcmidi/distinfo
==============================================================================
--- head/audio/abcmidi/distinfo	Mon Apr  6 18:50:50 2015	(r383467)
+++ head/audio/abcmidi/distinfo	Mon Apr  6 18:54:18 2015	(r383468)
@@ -1,2 +1,2 @@
-SHA256 (abcMIDI-2011-04-29.zip) = 1bea84b1793c204c3720995ad10aa3d1bccd1c99f9e560d5d14a465b21e6751a
-SIZE (abcMIDI-2011-04-29.zip) = 404896
+SHA256 (abcMIDI-2015-03-27.zip) = 07f3f8ab368cee03e9f8cba09548afab21a939b185afbae2ee8e3b34457aad02
+SIZE (abcMIDI-2015-03-27.zip) = 517673



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