Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Apr 2016 10:44:47 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r413194 - head/games/qqwing
Message-ID:  <201604131044.u3DAilDh001855@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Wed Apr 13 10:44:47 2016
New Revision: 413194
URL: https://svnweb.freebsd.org/changeset/ports/413194

Log:
  games/qqwing: convert to CONFIGURE_OUTSOURCE
  
  Approved by:	portmgr blanket
  Differential Revision:	https://reviews.freebsd.org/D5817

Modified:
  head/games/qqwing/Makefile   (contents, props changed)

Modified: head/games/qqwing/Makefile
==============================================================================
--- head/games/qqwing/Makefile	Wed Apr 13 10:44:23 2016	(r413193)
+++ head/games/qqwing/Makefile	Wed Apr 13 10:44:47 2016	(r413194)
@@ -13,27 +13,17 @@ COMMENT=	Sudoku generating and solving s
 USE_GITHUB=	yes
 GH_ACCOUNT=	stephenostermiller
 
-USES=		autoreconf:build gmake libtool pathfix pkgconfig
+USES=		autoreconf gmake libtool pathfix pkgconfig
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
+CONFIGURE_OUTSOURCE=	yes
 PATHFIX_MAKEFILEIN=	Makefile.am
+AUTORECONF_WRKSRC=	${WRKSRC}/build
+CONFIGURE_CMD=	${AUTORECONF_WRKSRC}/configure
 INSTALL_TARGET=	install-strip
 
-CONFIGURE_WRKSRC=	${WRKSRC}/target/automake
-BUILD_WRKSRC=		${WRKSRC}/target/automake
-INSTALL_WRKSRC=		${WRKSRC}/target/automake
-
-pre-configure:
-	@${MKDIR} ${WRKSRC}/target/automake
-	@cd ${WRKSRC} && ${CP} build/configure.ac build/Makefile.am \
-		build/qqwing.pc.in doc/README doc/AUTHORS doc/COPYING \
-		target/automake
-	@cd ${WRKSRC} && ${CP} doc/qqwing.man target/automake/qqwing.1
-	@cd ${WRKSRC}/target/automake && ${TOUCH} config.h.in
-	@cd ${WRKSRC}/target/automake && ${AUTORECONF} --force --install
-
 pre-build:
-	@cd ${WRKSRC} && ${CP} src/cpp/*.cpp target/automake
-	@cd ${WRKSRC} && ${CP} src/cpp/*.hpp target/automake
+	@${LN} -sf ${WRKSRC}/doc/qqwing.man ${BUILD_WRKSRC}/qqwing.1
+	@${LN} -sf ${WRKSRC}/src/cpp/*.[ch]pp ${BUILD_WRKSRC}/
 
 .include <bsd.port.mk>



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