From owner-svn-ports-all@FreeBSD.ORG Fri Apr 4 07:40:14 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A0CC3E81; Fri, 4 Apr 2014 07:40:14 +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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8E6EC936; Fri, 4 Apr 2014 07:40:14 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s347eEPl054080; Fri, 4 Apr 2014 07:40:14 GMT (envelope-from ehaupt@svn.freebsd.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s347eEGh054079; Fri, 4 Apr 2014 07:40:14 GMT (envelope-from ehaupt@svn.freebsd.org) Message-Id: <201404040740.s347eEGh054079@svn.freebsd.org> From: Emanuel Haupt Date: Fri, 4 Apr 2014 07:40:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r350061 - head/mail/hbiff 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.17 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: Fri, 04 Apr 2014 07:40:14 -0000 Author: ehaupt Date: Fri Apr 4 07:40:14 2014 New Revision: 350061 URL: http://svnweb.freebsd.org/changeset/ports/350061 QAT: https://qat.redports.org/buildarchive/r350061/ Log: - Support staging - Respect CC - Respect CFLAGS - Modernize port Deleted: head/mail/hbiff/pkg-plist Modified: head/mail/hbiff/Makefile Modified: head/mail/hbiff/Makefile ============================================================================== --- head/mail/hbiff/Makefile Fri Apr 4 06:44:55 2014 (r350060) +++ head/mail/hbiff/Makefile Fri Apr 4 07:40:14 2014 (r350061) @@ -6,21 +6,24 @@ PORTVERSION= 1.2 PORTREVISION= 2 CATEGORIES= mail MASTER_SITES= ftp://nuxi.ucdavis.edu/pub/misc/ \ - ${MASTER_SITE_LOCAL} + LOCAL MASTER_SITE_SUBDIR= obrien MAINTAINER= obrien@FreeBSD.org COMMENT= A replacement for xbiff that handles popup window with mail headers USE_XORG= x11 -MAN1= hbiff.1 -NO_STAGE= yes +CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib +LDFLAGS+= -lX11 + +PLIST_FILES= bin/hbiff man/man1/hbiff.1.gz + do-build: - cd ${WRKSRC} ; cc -I${LOCALBASE}/include hbiff.c -L${LOCALBASE}/lib -lX11 + ${CC} ${CFLAGS} ${LDFLAGS} ${WRKSRC}/hbiff.c -o ${WRKSRC}/${PORTNAME} do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/a.out ${PREFIX}/bin/hbiff - @cd ${WRKSRC} ; ${INSTALL_MAN} ${MAN1} ${PREFIX}/man/man1 + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include