From owner-svn-ports-all@freebsd.org  Fri Feb  5 16:08:57 2016
Return-Path: <owner-svn-ports-all@freebsd.org>
Delivered-To: svn-ports-all@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 172B2A9B3B7;
 Fri,  5 Feb 2016 16:08:57 +0000 (UTC)
 (envelope-from marino@FreeBSD.org)
Received: from repo.freebsd.org (repo.freebsd.org
 [IPv6:2610:1c1:1:6068::e6a:0])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id DEA02186C;
 Fri,  5 Feb 2016 16:08:56 +0000 (UTC)
 (envelope-from marino@FreeBSD.org)
Received: from repo.freebsd.org ([127.0.1.37])
 by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u15G8tE3066456;
 Fri, 5 Feb 2016 16:08:55 GMT (envelope-from marino@FreeBSD.org)
Received: (from marino@localhost)
 by repo.freebsd.org (8.15.2/8.15.2/Submit) id u15G8tBf066455;
 Fri, 5 Feb 2016 16:08:55 GMT (envelope-from marino@FreeBSD.org)
Message-Id: <201602051608.u15G8tBf066455@repo.freebsd.org>
X-Authentication-Warning: repo.freebsd.org: marino set sender to
 marino@FreeBSD.org using -f
From: John Marino <marino@FreeBSD.org>
Date: Fri, 5 Feb 2016 16:08:55 +0000 (UTC)
To: ports-committers@freebsd.org, svn-ports-all@freebsd.org,
 svn-ports-head@freebsd.org
Subject: svn commit: r408213 - head/print/bibcursed
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.20
Precedence: list
List-Id: SVN commit messages for the ports tree <svn-ports-all.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/svn-ports-all>,
 <mailto:svn-ports-all-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-ports-all/>
List-Post: <mailto:svn-ports-all@freebsd.org>
List-Help: <mailto:svn-ports-all-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/svn-ports-all>,
 <mailto:svn-ports-all-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Fri, 05 Feb 2016 16:08:57 -0000

Author: marino
Date: Fri Feb  5 16:08:55 2016
New Revision: 408213
URL: https://svnweb.freebsd.org/changeset/ports/408213

Log:
  print/bibcursed: USES+= ncurses + tar, respect LDFLAGS
  
  Also use "&&" and parentheses for compound commands.

Modified:
  head/print/bibcursed/Makefile

Modified: head/print/bibcursed/Makefile
==============================================================================
--- head/print/bibcursed/Makefile	Fri Feb  5 16:06:23 2016	(r408212)
+++ head/print/bibcursed/Makefile	Fri Feb  5 16:08:55 2016	(r408213)
@@ -6,17 +6,18 @@ PORTVERSION=	2.0.1
 CATEGORIES=	print
 MASTER_SITES=	SF
 DISTNAME=	${PORTNAME}_${PORTVERSION}
-EXTRACT_SUFX=	.tgz
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Simple curses-based editor for BibTeX bibliography files
 
+USES=		ncurses tar:tgz
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
 PLIST_FILES=	bin/bibcursed man/man1/bibcursed.1.gz
 
 do-build:
-	cd ${WRKSRC}; ${CC} ${CFLAGS} ${PORTNAME}.c -o ${PORTNAME} -lncurses
+	(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${CC} ${CFLAGS} \
+		${PORTNAME}.c -o ${PORTNAME} ${LDFLAGS} -lncurses)
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin