Date: Tue, 9 May 2017 07:08:33 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r440472 - in head/audio/aylet: . files Message-ID: <201705090708.v4978XZf098392@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Tue May 9 07:08:33 2017 New Revision: 440472 URL: https://svnweb.freebsd.org/changeset/ports/440472 Log: Properly resurect aylet this time via repocopy in order to retain history. This commit corrects r440435. Requested by: danfe Added: head/audio/aylet/ - copied from r273562, head/audio/aylet/ head/audio/aylet/files/ head/audio/aylet/files/patch-Makefile (contents, props changed) Deleted: head/audio/aylet/pkg-message Modified: head/audio/aylet/Makefile (contents, props changed) head/audio/aylet/distinfo (contents, props changed) head/audio/aylet/pkg-descr (contents, props changed) Modified: head/audio/aylet/Makefile ============================================================================== --- head/audio/aylet/Makefile Tue May 3 12:45:35 2011 (r273562) +++ head/audio/aylet/Makefile Tue May 9 07:08:33 2017 (r440472) @@ -1,56 +1,30 @@ -# New ports collection makefile for: aylet -# Date created: 9 Jul 2005 -# Whom: Emanuel Haupt <ehaupt@critical.ch> -# +# Created by: Emanuel Haupt <ehaupt@FreeBSD.org> # $FreeBSD$ -# PORTNAME= aylet PORTVERSION= 0.5 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio -MASTER_SITES= ftp://ftp.ibiblio.org/pub/Linux/apps/sound/players/ \ - CRITICAL -PKGNAMEPREFIX?= +MASTER_SITES= http://www.worldofspectrum.org/pub/sinclair/music/players-unix/ \ + LOCAL/ehaupt MAINTAINER= ehaupt@FreeBSD.org -COMMENT= A command line player for the .ay audio file format - -DEPRECATED= Upstream disapear and distfile is no more available -EXPIRATION_DATE= 2011-05-01 -USE_GMAKE= yes -MAKE_JOBS_SAFE= yes - -ALL_TARGET?= ${PORTNAME} -CFLAGS+= -DDRIVER_OSS -I${LOCALBASE}/include - -.if ${PKGNAMEPREFIX} == "" +COMMENT= Aylet plays music files in the .ay format LICENSE= GPLv2 -MAN1= aylet.1 -PLIST_FILES= bin/aylet - -.endif - -aylet-post-patch: -.for flag in CC CFLAGS - @${REINPLACE_CMD} -e 's|^${flag}=|${flag}?=|' \ - ${WRKSRC}/Makefile -.endfor - @${REINPLACE_CMD} -e 's|\((CC)\)\ \-o|\1 $$\(CFLAGS) -o|' \ - ${WRKSRC}/Makefile +LICENSE_FILE= ${WRKSRC}/COPYING -.if ${PKGNAMEPREFIX} == "" +USES= gettext-runtime pkgconfig -post-patch: aylet-post-patch +OPTIONS_DEFINE= GUI +OPTIONS_DEFAULT=GUI +OPTIONS_SUB= yes -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1 +GUI_USE= XORG=x11,xext,xi GNOME=gtk12 -.endif +ALL_TARGET= aylet +GUI_ALL_TARGET= xaylet -post-install: - @${CAT} ${PKGMESSAGE} +PLIST_FILES= bin/aylet %%GUI%%bin/xaylet man/man1/aylet.1.gz .include <bsd.port.mk> Modified: head/audio/aylet/distinfo ============================================================================== --- head/audio/aylet/distinfo Tue May 3 12:45:35 2011 (r273562) +++ head/audio/aylet/distinfo Tue May 9 07:08:33 2017 (r440472) @@ -1,2 +1,3 @@ +TIMESTAMP = 1494173493 SHA256 (aylet-0.5.tar.gz) = c8c428a63abe5087b0345709a9a8034c2e6873b6071d9f7b05578aae0f3a4f72 SIZE (aylet-0.5.tar.gz) = 43577 Added: head/audio/aylet/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/aylet/files/patch-Makefile Tue May 9 07:08:33 2017 (r440472) @@ -0,0 +1,38 @@ +--- Makefile.orig 2005-12-18 03:05:08 UTC ++++ Makefile +@@ -2,7 +2,7 @@ + + # You need an ANSI C compiler. gcc is probably best. + # +-CC=gcc ++CC?=gcc + + # Compiler options (and sound driver) to use. This one is for Linux, + # and other OSS-using systems. +@@ -19,10 +19,10 @@ CURSES_LIB=-lncurses + + # dest for make install + # +-PREFIX=/usr/local +-BINDIR=$(PREFIX)/bin ++PREFIX?=/usr/local ++BINDIR=$(DESTDIR)$(PREFIX)/bin + XBINDIR=$(BINDIR) +-MANDIR=$(PREFIX)/man/man1 ++MANDIR=$(DESTDIR)$(PREFIX)/man/man1 + + # if you want the X version to be installed in the usual X executables + # directory, uncomment this (altering if necessary): +@@ -52,10 +52,9 @@ installdirs: + /bin/sh ./mkinstalldirs $(BINDIR) $(XBINDIR) $(MANDIR) + + install: installdirs +- if [ -f aylet ]; then install -m 755 aylet $(BINDIR); fi +- if [ -f xaylet ]; then install -m 755 xaylet $(XBINDIR); fi ++ if [ -f aylet ]; then strip aylet; install -m 755 aylet $(BINDIR); fi ++ if [ -f xaylet ]; then strip xaylet; install -m 755 xaylet $(XBINDIR); fi + install -m 644 aylet.1 $(MANDIR) +- ln -sf $(MANDIR)/aylet.1 $(MANDIR)/xaylet.1 + + uninstall: + $(RM) $(BINDIR)/aylet $(XBINDIR)/xaylet Modified: head/audio/aylet/pkg-descr ============================================================================== --- head/audio/aylet/pkg-descr Tue May 3 12:45:35 2011 (r273562) +++ head/audio/aylet/pkg-descr Tue May 9 07:08:33 2017 (r440472) @@ -3,9 +3,4 @@ wrappers around bits of Z80 code which p 128's sound hardware - either the beeper, or (eponymously) the AY-3-8912 sound chip. Files using the Amstrad CPC ports are also supported. -The sound hardware emulation is based on a Spectrum emulator Fuse. - -WWW: http://freshmeat.net/projects/aylet/ - -- ehaupt -ehaupt@critical.ch +WWW: http://www.worldofspectrum.org/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705090708.v4978XZf098392>