Bug 190075 - stagify graphics/import-pictures
Summary: stagify graphics/import-pictures
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: Carlo Strub
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-21 16:10 UTC by freebsd
Modified: 2014-05-29 19:50 UTC (History)
0 users

See Also:


Attachments
import-pictures.patch (839 bytes, patch)
2014-05-21 16:10 UTC, freebsd
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description freebsd 2014-05-21 16:10:00 UTC
	Make graphics/import-pictures support staging.

Fix: Apply attached patch.

How-To-Repeat: 	build graphics/import-pictures
Comment 1 Raphael Kubo da Costa freebsd_committer freebsd_triage 2014-05-24 18:07:52 UTC
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: man/man1/import-pictures.1.gz
===> Checking for directories owned by MTREEs
===> Checking for directories handled by dependencies
===> Checking for items in pkg-plist which are not in STAGEDIR
===> Error: Plist issues found.
Comment 2 freebsd 2014-05-24 18:52:45 UTC
This message is in MIME format.

Comment 3 Carlo Strub freebsd_committer freebsd_triage 2014-05-29 19:23:30 UTC
Responsible Changed
From-To: freebsd-ports-bugs->cs

I'll take it.
Comment 4 dfilter service freebsd_committer freebsd_triage 2014-05-29 19:40:29 UTC
Author: cs
Date: Thu May 29 18:40:25 2014
New Revision: 355722
URL: http://svnweb.freebsd.org/changeset/ports/355722
QAT: https://qat.redports.org/buildarchive/r355722/

Log:
  Staging
  
  PR:		ports/190075
  Submitted by:	freebsd@nagilum.org (maintainer)

Modified:
  head/graphics/import-pictures/Makefile

Modified: head/graphics/import-pictures/Makefile
==============================================================================
--- head/graphics/import-pictures/Makefile	Thu May 29 18:35:19 2014	(r355721)
+++ head/graphics/import-pictures/Makefile	Thu May 29 18:40:25 2014	(r355722)
@@ -3,6 +3,7 @@
 
 PORTNAME=	import-pictures
 PORTVERSION=	1.4
+PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	http://www.nagilum.org/unix/
 
@@ -15,27 +16,26 @@ RUN_DEPENDS=	p5-Image-ExifTool>=0:${PORT
 		p5-TimeDate>=0:${PORTSDIR}/devel/p5-TimeDate \
 		p5-Time-modules>=0:${PORTSDIR}/devel/p5-Time-modules
 
-USE_BZIP2=	yes
-USES=		gmake perl5
-
-PLIST_FILES=	bin/${PORTNAME}
+USES=		gmake perl5 shebangfix tar:bzip2
 
 MAN1=		${PORTNAME}.1
 
-PORTDOCS=	import-pictures.html
+PLIST_FILES=	bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
 
-NO_STAGE=	yes
+PORTDOCS=	import-pictures.html
 
+SHEBANG_FILES=	${WRKSRC}/${PORTNAME}
+SHEBANG_LANG=	perl
 OPTIONS_DEFINE=	DOCS
 
 .include <bsd.port.options.mk>
 
 post-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
+	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/${MAN1} ${STAGEDIR}${MAN1PREFIX}/man/man1
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 .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 5 Carlo Strub freebsd_committer freebsd_triage 2014-05-29 19:40:49 UTC
State Changed
From-To: open->closed

Committed. Thank you very much.