Bug 187627 - [PORT-UPDATE] devel/elfio - fixes
Summary: [PORT-UPDATE] devel/elfio - fixes
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: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-16 02:00 UTC by Bartek Rutkowski
Modified: 2014-03-18 01:10 UTC (History)
0 users

See Also:


Attachments
file.diff (1.42 KB, patch)
2014-03-16 02:00 UTC, Bartek Rutkowski
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bartek Rutkowski freebsd_committer freebsd_triage 2014-03-16 02:00:01 UTC
Changes:

* staging support
* fixed port options
* added LICENSE

Fix: Patch attached.

Patch attached with submission follows:
How-To-Repeat: Use the patch, test the port, commit.
Comment 1 Steve Wills freebsd_committer freebsd_triage 2014-03-16 02:38:55 UTC
Responsible Changed
From-To: freebsd-ports-bugs->swills

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-03-18 01:01:40 UTC
Author: swills
Date: Tue Mar 18 01:01:35 2014
New Revision: 348509
URL: http://svnweb.freebsd.org/changeset/ports/348509
QAT: https://qat.redports.org/buildarchive/r348509/

Log:
  - Staging support
  - Fixed port options
  - Added LICENSE
  
  PR:		ports/187627
  Submitted by:	Bartek Rutkowski <ports@robakdesign.com>

Modified:
  head/devel/elfio/Makefile

Modified: head/devel/elfio/Makefile
==============================================================================
--- head/devel/elfio/Makefile	Tue Mar 18 00:15:20 2014	(r348508)
+++ head/devel/elfio/Makefile	Tue Mar 18 01:01:35 2014	(r348509)
@@ -3,7 +3,7 @@
 
 PORTNAME=	elfio
 PORTVERSION=	1.0.3
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	devel
 MASTER_SITES=	SF/${PORTNAME}/ELFIO-sources/ELFIO-${PORTVERSION}
 DISTNAME=	${PORTNAME:U}-${PORTVERSION}
@@ -11,6 +11,8 @@ DISTNAME=	${PORTNAME:U}-${PORTVERSION}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	C++ library for reading and generating files in the ELF binary format
 
+LICENSE=	LGPL21
+
 BUILD_DEPENDS=	libtool:${PORTSDIR}/devel/libtool
 
 GNU_CONFIGURE=	yes
@@ -23,10 +25,6 @@ OPTIONE_DEFINE=	EXAMPLES DOCS
 
 PORTDOCS=	*
 
-NO_STAGE=	yes
-
-OPTIONS_DEFINE=	DOCS EXAMPLES
-
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MEXAMPLES}
@@ -45,18 +43,18 @@ pre-configure:
 
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for file in AUTHORS ChangeLog README
-	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
 .endfor
 .for f in elf11g.zip tutorial.docbook tutorial.pdf
-	${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
 .endif
 .if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
 	@${FIND} ${WRKSRC}/Examples/ -name "*.cpp" -exec ${INSTALL_DATA} {} \
-		${EXAMPLESDIR}/ \;
+		${STAGEDIR}${EXAMPLESDIR}/ \;
 .endif
 
 .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 Steve Wills freebsd_committer freebsd_triage 2014-03-18 01:01:49 UTC
State Changed
From-To: open->closed

Committed. Thanks!