Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 2013 03:06:55 +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: r333475 - head/games/tenebrae
Message-ID:  <201311110306.rAB36tUN048087@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danilo
Date: Mon Nov 11 03:06:55 2013
New Revision: 333475
URL: http://svnweb.freebsd.org/changeset/ports/333475

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

Modified:
  head/games/tenebrae/Makefile

Modified: head/games/tenebrae/Makefile
==============================================================================
--- head/games/tenebrae/Makefile	Mon Nov 11 02:57:46 2013	(r333474)
+++ head/games/tenebrae/Makefile	Mon Nov 11 03:06:55 2013	(r333475)
@@ -12,11 +12,11 @@ DISTFILES=	${PORTNAME}_src${EXTRACT_SUFX
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Quake engine with lighting similar to that in Doom III
 
-LIB_DEPENDS=	png15:${PORTSDIR}/graphics/png
+LIB_DEPENDS=	libpng15.so:${PORTSDIR}/graphics/png
 
+USES=		gmake
 USE_ZIP=	yes
 USE_DOS2UNIX=	yes
-USE_GMAKE=	yes
 USE_GL=		glu
 USE_SDL=	yes
 USE_XORG=	xxf86dga
@@ -32,12 +32,7 @@ OPTIONS_DEFAULT_i386=	ASM
 OPTIONS_DEFINE_amd64=	ASM
 OPTIONS_DEFAULT_amd64=	ASM
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MASM}
-MAKE_ENV+=	USE_ASM=1
-.endif
+ASM_MAKE_ENV=	USE_ASM=1
 
 post-patch:
 	${REINPLACE_CMD} -e 's|gray_1_2_4_to_8|expand_&|' \
@@ -48,19 +43,12 @@ pre-build:
 
 do-install:
 	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/release/bin/${PORTNAME} \
-		${PREFIX}/bin
-	@${MKDIR} ${Q1DIR}/${PORTNAME}
-	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/Pak0.pak ${Q1DIR}/${PORTNAME}
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+		${STAGEDIR}${PREFIX}/bin
+	@${MKDIR} ${STAGEDIR}${Q1DIR}/${PORTNAME}
+	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/Pak0.pak ${STAGEDIR}${Q1DIR}/${PORTNAME}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${TR} -d '\r' < ${WRKDIR}/Tenebrae_Readme.txt \
-		> ${DOCSDIR}/Tenebrae_Readme.txt
-.endif
-
-post-install:
-	@${ECHO_CMD}
-	@${CAT} ${PKGMESSAGE}
-	@${ECHO_CMD}
+		> ${STAGEDIR}${DOCSDIR}/Tenebrae_Readme.txt
 
 .include "${.CURDIR}/../quake-data/Makefile.include"
 .include <bsd.port.mk>



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