svn commit: r322579 - in head: astro/xephem audio/praat audio/snd audio/timidity++ audio/xanalyser audio/xmcd audio/xmmix audio/xmradio

Baptiste Daroussin bapt at FreeBSD.org
Tue Jul 9 21:20:30 UTC 2013


Author: bapt
Date: Tue Jul  9 21:20:28 2013
New Revision: 322579
URL: http://svnweb.freebsd.org/changeset/ports/322579

Log:
  Convert from USE_MOTIF to USES=motif
  While here:
  Convert to USES=gmake as well
  Trim headers

Modified:
  head/astro/xephem/Makefile
  head/audio/praat/Makefile
  head/audio/snd/Makefile
  head/audio/timidity++/Makefile
  head/audio/timidity++/Makefile.interface
  head/audio/xanalyser/Makefile
  head/audio/xmcd/Makefile
  head/audio/xmmix/Makefile
  head/audio/xmradio/Makefile

Modified: head/astro/xephem/Makefile
==============================================================================
--- head/astro/xephem/Makefile	Tue Jul  9 21:06:22 2013	(r322578)
+++ head/astro/xephem/Makefile	Tue Jul  9 21:20:28 2013	(r322579)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:    xephem
-# Date created:         Thu Aug  1 09:10:22 CDT 1996
-# Whom:                 erich at FreeBSD.org
-#
+# Created by: erich at FreeBSD.org
 # $FreeBSD$
-#
 
 PORTNAME=	xephem
 PORTVERSION=	3.7.5
@@ -17,8 +13,7 @@ COMMENT=	An interactive astronomical eph
 LIB_DEPENDS=	png15:${PORTSDIR}/graphics/png \
 		jpeg.11:${PORTSDIR}/graphics/jpeg
 
-USE_MOTIF=	yes
-USE_GMAKE=	yes
+USES=		gmake motif
 USE_XORG=	xp xt xext xmu x11 xft
 MAKE_JOBS_UNSAFE=	yes
 

Modified: head/audio/praat/Makefile
==============================================================================
--- head/audio/praat/Makefile	Tue Jul  9 21:06:22 2013	(r322578)
+++ head/audio/praat/Makefile	Tue Jul  9 21:20:28 2013	(r322579)
@@ -1,9 +1,5 @@
-# New ports collection Makefile for:	praat
-# Date created:		21-Feb-2006
-# Whom:			Jason Bacon <jwbacon at tds.net>
-#
+# Created by: Jason Bacon <jwbacon at tds.net>
 # $FreeBSD$
-#
 
 PORTNAME=	praat
 PORTVERSION=	4.6.39
@@ -17,7 +13,7 @@ COMMENT=	Phonetics by Computer
 
 USE_DOS2UNIX=	yes
 DOS2UNIX_REGEX=	.*Makefile
-USE_MOTIF=	yes
+USES=		motif
 WRKSRC=		${WRKDIR}/sources_4639
 MAKEFILE=	makefile
 PLIST_FILES=	bin/praat

Modified: head/audio/snd/Makefile
==============================================================================
--- head/audio/snd/Makefile	Tue Jul  9 21:06:22 2013	(r322578)
+++ head/audio/snd/Makefile	Tue Jul  9 21:20:28 2013	(r322579)
@@ -29,7 +29,7 @@ CFLAGS+=	-I${LOCALBASE}/include
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
 .if ${ARCH} == "sparc64"
 BROKEN=		does not compile on sparc64
@@ -65,7 +65,7 @@ USE_GNOME+=	gtk20
 CONFIGURE_ARGS+=	--with-gtk
 .endif
 .if ${PORT_OPTIONS:MMOTIF}
-USE_MOTIF=	yes
+USES+=		motif
 CONFIGURE_ARGS+=	--with-motif
 .endif
 
@@ -108,4 +108,4 @@ do-install:
 	${INSTALL_DATA} ${WRKSRC}/DotEmacs ${EXAMPLESDIR}
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/audio/timidity++/Makefile
==============================================================================
--- head/audio/timidity++/Makefile	Tue Jul  9 21:06:22 2013	(r322578)
+++ head/audio/timidity++/Makefile	Tue Jul  9 21:20:28 2013	(r322579)
@@ -19,9 +19,9 @@ RUN_DEPENDS=	${LOCALBASE}/share/timidity
 CONFLICTS=	timidity-0.*
 .endif
 
+USES=		gmake
 USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
-USE_GMAKE=	yes
 
 MAKE_JOBS_SAFE=	yes
 
@@ -43,7 +43,7 @@ LDFLAGS+=	-export-dynamic
 DOCFILES=	README.alsaseq README.dl README.m2m README.mts README.sf
 DOCLANG=	C ja_JP.eucJP
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
 MANLANG=	"" ja
 MAN1=		timidity.1
@@ -89,4 +89,4 @@ post-install::
 	@${CAT} ${PKGMESSAGE}
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/audio/timidity++/Makefile.interface
==============================================================================
--- head/audio/timidity++/Makefile.interface	Tue Jul  9 21:06:22 2013	(r322578)
+++ head/audio/timidity++/Makefile.interface	Tue Jul  9 21:20:28 2013	(r322579)
@@ -47,7 +47,7 @@ USE_GNOME=	gtk12
 .if ${INTERFACE} == "motif"
 LINK=		xmmidi
 
-USE_MOTIF=	yes
+USES+=		motif
 
 CONFIGURE_ENV+=	MOTIFLIB="${MOTIFLIB}"
 .endif

Modified: head/audio/xanalyser/Makefile
==============================================================================
--- head/audio/xanalyser/Makefile	Tue Jul  9 21:06:22 2013	(r322578)
+++ head/audio/xanalyser/Makefile	Tue Jul  9 21:20:28 2013	(r322579)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	xanalyser
-# Date created:				October 29 2006
-# Whom:					Diane Bruce <db at db.net
-#
+# Created by: Diane Bruce <db at db.net
 # $FreeBSD$
-#
 
 PORTNAME=	xanalyser
 PORTVERSION=	1.32
@@ -16,9 +12,8 @@ MASTER_SITE_SUBDIR=	db
 MAINTAINER=	db at FreeBSD.org
 COMMENT=	Spectrum analyser
 
+USES=		gmake motif
 USE_BZIP2=	yes
-USE_MOTIF=	yes
-USE_GMAKE=	yes
 GNU_CONFIGURE=	yes
 USE_AUTOTOOLS=	libtool
 MAN1=		xanalyser.1

Modified: head/audio/xmcd/Makefile
==============================================================================
--- head/audio/xmcd/Makefile	Tue Jul  9 21:06:22 2013	(r322578)
+++ head/audio/xmcd/Makefile	Tue Jul  9 21:20:28 2013	(r322579)
@@ -14,8 +14,7 @@ LIB_DEPENDS+=	vorbis.4:${PORTSDIR}/audio
 		FLAC:${PORTSDIR}/audio/flac
 RUN_DEPENDS+=	lame:${PORTSDIR}/audio/lame
 
-USES=		imake
-USE_MOTIF=	yes
+USES=		imake motif
 USE_XORG=	x11 xext xaw xmu xp xpm xt sm ice
 MAN1=		cda.1 xmcd.1
 MANCOMPRESSED=	no

Modified: head/audio/xmmix/Makefile
==============================================================================
--- head/audio/xmmix/Makefile	Tue Jul  9 21:06:22 2013	(r322578)
+++ head/audio/xmmix/Makefile	Tue Jul  9 21:20:28 2013	(r322579)
@@ -12,8 +12,7 @@ COMMENT=	Motif-based audio mixer
 
 WRKSRC=		${WRKDIR}/xmmix-1.2
 
-USES=		imake
-USE_MOTIF=	yes
+USES=		imake motif
 USE_XORG=	x11 xext sm ice xt xp
 
 MAN1=		xmmix.1

Modified: head/audio/xmradio/Makefile
==============================================================================
--- head/audio/xmradio/Makefile	Tue Jul  9 21:06:22 2013	(r322578)
+++ head/audio/xmradio/Makefile	Tue Jul  9 21:20:28 2013	(r322579)
@@ -14,9 +14,8 @@ COMMENT=	Motif based FM tuner (for use w
 # useful if you are into digital audio recording and playback.
 #RUN_DEPENDS=   sox:${PORTSDIR}/audio/sox
 
-USES=		imake
+USES=		imake motif
 USE_XORG=	xpm
-USE_MOTIF=	yes
 ONLY_FOR_ARCHS=	i386 ia64
 
 PLIST_FILES=	bin/xmradio lib/X11/app-defaults/XMradio


More information about the svn-ports-all mailing list