From owner-svn-ports-all@FreeBSD.ORG Wed Nov 13 19:56:12 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5EE659B1; Wed, 13 Nov 2013 19:56:12 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4DB722B30; Wed, 13 Nov 2013 19:56:12 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rADJuC4p071375; Wed, 13 Nov 2013 19:56:12 GMT (envelope-from danilo@svn.freebsd.org) Received: (from danilo@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rADJuCeG071374; Wed, 13 Nov 2013 19:56:12 GMT (envelope-from danilo@svn.freebsd.org) Message-Id: <201311131956.rADJuCeG071374@svn.freebsd.org> From: Danilo Egea Gondolfo Date: Wed, 13 Nov 2013 19:56:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r333721 - head/games/xmastermind X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Nov 2013 19:56:12 -0000 Author: danilo Date: Wed Nov 13 19:56:11 2013 New Revision: 333721 URL: http://svnweb.freebsd.org/changeset/ports/333721 Log: - Convert LIB_DEPENDS to new syntax - Add DOCS option - Add stage support Modified: head/games/xmastermind/Makefile Modified: head/games/xmastermind/Makefile ============================================================================== --- head/games/xmastermind/Makefile Wed Nov 13 19:45:57 2013 (r333720) +++ head/games/xmastermind/Makefile Wed Nov 13 19:56:11 2013 (r333721) @@ -12,7 +12,7 @@ COMMENT= Mastermind game for X Window Sy LICENSE= GPLv2 -LIB_DEPENDS= forms:${PORTSDIR}/x11-toolkits/xforms +LIB_DEPENDS= libforms.so:${PORTSDIR}/x11-toolkits/xforms USE_XORG= x11 xpm MAKE_ENV= GRAPHLIBS="${LDFLAGS}" @@ -23,7 +23,8 @@ LDFLAGS+= -L${LOCALBASE}/lib -lforms -lX PORTDOCS= BUGS README.for.developers README.for.users PLIST_FILES= bin/${PORTNAME} -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e \ '/^CC/s| =| ?=| ; \ @@ -32,15 +33,11 @@ post-patch: @${REINPLACE_CMD} -e \ 's|malloc.h|stdlib.h|' ${WRKSRC}/list.h -.include - do-install: - (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${PREFIX}/bin) -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${STAGEDIR}${PREFIX}/bin) + @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOCS} - (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR}) + (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR}) .endfor -.endif .include