Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Mar 2014 21:35:11 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r348434 - head/sysutils/pbimaker
Message-ID:  <201403162135.s2GLZBNY077436@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Sun Mar 16 21:35:11 2014
New Revision: 348434
URL: http://svnweb.freebsd.org/changeset/ports/348434
QAT: https://qat.redports.org/buildarchive/r348434/

Log:
  - Fix build on 10+ by respecting CC [1]
  - Remove leading article from COMMENT
  - Make LICENSE more precise
  - Switch to PLIST_FILES, port installs only 2 files
  - Strip pgrogram binary
  - Add support for staging
  
  PR:		ports/187635 [1] (patch not used)
  Submitted by:	maintainer

Deleted:
  head/sysutils/pbimaker/pkg-plist
Modified:
  head/sysutils/pbimaker/Makefile

Modified: head/sysutils/pbimaker/Makefile
==============================================================================
--- head/sysutils/pbimaker/Makefile	Sun Mar 16 21:31:13 2014	(r348433)
+++ head/sysutils/pbimaker/Makefile	Sun Mar 16 21:35:11 2014	(r348434)
@@ -3,17 +3,26 @@
 
 PORTNAME=	pbimaker
 PORTVERSION=	1.3
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	SF/makeapbi/makeapbi/
 
 MAINTAINER=	jessefrgsmith@yahoo.ca
-COMMENT=	A program to convert ports into PBI modules
+COMMENT=	Program to convert ports into PBI modules
 
-LICENSE=	BSD
+LICENSE=	BSD3CLAUSE
 
-NO_COFIGURE=	yes
+WRKSRC=		${WRKDIR}/PBIMaker
 
-WRKSRC=	${WRKDIR}/PBIMaker
+PLIST_FILES=	bin/pbimaker \
+		share/pbimaker/defaulticon.png
+PLIST_DIRS=	share/pbimaker
+
+post-patch:
+	@${REINPLACE_CMD} -e 's|CC=gcc|CC?=gcc|' \
+		-e 's|PREFIX)/|DESTDIR)$$(&|g' \
+		${WRKSRC}/Makefile
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
 
-NO_STAGE=	yes
 .include <bsd.port.mk>



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