Bug 187635 - Port update: sysutils/pbimaker
Summary: Port update: sysutils/pbimaker
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pawel Pekala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-16 16:30 UTC by Jesse
Modified: 2014-03-16 21:40 UTC (History)
0 users

See Also:


Attachments
file.diff (492 bytes, patch)
2014-03-16 16:30 UTC, Jesse
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse 2014-03-16 16:30:00 UTC
The attached patch fixes a compile error with PBIMaker on FreeBSD 10.0.

Fix: Patch attached with submission follows:
Comment 1 Pawel Pekala freebsd_committer 2014-03-16 19:15:30 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pawel

I'll take it.
Comment 2 dfilter service freebsd_committer 2014-03-16 21:35:15 UTC
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>
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Pawel Pekala freebsd_committer 2014-03-16 21:36:27 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!