Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Nov 2013 03:40:17 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333545 - head/games/tuxpuck
Message-ID:  <201311120340.rAC3eHF7050558@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Tue Nov 12 03:40:17 2013
New Revision: 333545
URL: http://svnweb.freebsd.org/changeset/ports/333545

Log:
  - Convert LIB_DEPENDS to new syntax
  - Add LICENSE
  - Convert USE_GMAKE to USES
  - Add stage support

Modified:
  head/games/tuxpuck/Makefile

Modified: head/games/tuxpuck/Makefile
==============================================================================
--- head/games/tuxpuck/Makefile	Tue Nov 12 03:18:09 2013	(r333544)
+++ head/games/tuxpuck/Makefile	Tue Nov 12 03:40:17 2013	(r333545)
@@ -10,26 +10,21 @@ MASTER_SITES=	http://www.sourcefiles.org
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Shufflepuck Cafe Clone
 
-LIB_DEPENDS=	jpeg:${PORTSDIR}/graphics/jpeg \
-		png15:${PORTSDIR}/graphics/png \
-		vorbis:${PORTSDIR}/audio/libvorbis \
-		freetype:${PORTSDIR}/print/freetype2
+LICENSE=	GPLv2
+
+LIB_DEPENDS=	libjpeg.so:${PORTSDIR}/graphics/jpeg \
+		libpng15.so:${PORTSDIR}/graphics/png \
+		libvorbis.so:${PORTSDIR}/audio/libvorbis \
+		libfreetype.so:${PORTSDIR}/print/freetype2
 
 USE_SDL=	sdl
-USE_GMAKE=	yes
+USES=		gmake
 ALL_TARGET=	${PORTNAME}
 MAKE_JOBS_UNSAFE=	yes
 
 CFLAGS+=	-I${LOCALBASE}/include/libpng15
 
-MANCOMPRESSED=	yes
-
-PLIST_FILES=	bin/${PORTNAME}
-
-MAN6=		${PORTNAME}.6
-
-NO_STAGE=	yes
-.include <bsd.port.pre.mk>
+PLIST_FILES=	bin/${PORTNAME} man/man6/tuxpuck.6.gz
 
 post-patch:
 	cd ${WRKSRC}; \
@@ -38,7 +33,7 @@ post-patch:
 	${REINPLACE_CMD} -e 's|sdl-config|$$(SDL_CONFIG)|g' ${WRKSRC}/utils/Makefile
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/man/${MAN6}.gz ${MAN6PREFIX}/man/man6
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/man/tuxpuck.6.gz ${STAGEDIR}${MAN6PREFIX}/man/man6
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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