Bug 185765 - sysutils/retail: clean NO_STAGE, set LICENSE
Summary: sysutils/retail: clean NO_STAGE, set LICENSE
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: Jason Helfman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-14 09:40 UTC by Oleg Ginzburg
Modified: 2014-01-18 00:00 UTC (History)
0 users

See Also:


Attachments
file.diff (629 bytes, patch)
2014-01-14 09:40 UTC, Oleg Ginzburg
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Ginzburg 2014-01-14 09:40:00 UTC
STAGE support
set LICENSE
change my mirror site

Fix: Patch attached with submission follows:
Comment 1 Raphael Kubo da Costa freebsd_committer freebsd_triage 2014-01-17 20:42:56 UTC
Hi,

MAN1 is not supposed to be used with staging. Additionally, even after
fixing that it still fails on Poudriere:

=======================<phase: stage>============================
===>  Staging for retail-1.0.1
===>   Generating temporary packing list
cd src ; make install
../mkinstalldirs
/wrkdirs/usr/ports/sysutils/retail/work/stage/prefix/retail-1.0.1/bin/
/wrkdirs/usr/ports/sysutils/retail/work/stage/prefix/retail-1.0.1/man/man1
/usr/bin/install -c -o root -g wheel retail
/wrkdirs/usr/ports/sysutils/retail/work/stage/prefix/retail-1.0.1/bin/retail
/usr/bin/install -c -o root -g wheel ../doc/*.1
/wrkdirs/usr/ports/sysutils/retail/work/stage/prefix/retail-1.0.1/man/man1
install  -o root -g wheel -m 444
/wrkdirs/usr/ports/sysutils/retail/work/retail-1.0.1/doc/retail.1
/prefix/retail-1.0.1/man/man1/
install: /prefix/retail-1.0.1/man/man1/: No such file or directory
*** Error code 71
Comment 2 Jason Helfman freebsd_committer freebsd_triage 2014-01-17 23:25:03 UTC
Responsible Changed
From-To: freebsd-ports-bugs->jgh

I'll take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2014-01-17 23:53:27 UTC
Author: jgh
Date: Fri Jan 17 23:53:19 2014
New Revision: 340136
URL: http://svnweb.freebsd.org/changeset/ports/340136
QAT: https://qat.redports.org/buildarchive/r340136/

Log:
  - convert to staging
  - set license
  - change mirror site
  
  PR:		185765
  Submitted by:	olevole@olevole.ru (maintainer)

Modified:
  head/sysutils/retail/Makefile

Modified: head/sysutils/retail/Makefile
==============================================================================
--- head/sysutils/retail/Makefile	Fri Jan 17 23:34:34 2014	(r340135)
+++ head/sysutils/retail/Makefile	Fri Jan 17 23:53:19 2014	(r340136)
@@ -5,20 +5,21 @@ PORTNAME=	retail
 PORTVERSION=	1.0.1
 CATEGORIES=	sysutils
 MASTER_SITES=	http://xjack.org/retail/download/ \
-		http://olevole.ru/freebsd/distfiles/
+		http://www.bsdstore.ru/downloads/
 
 MAINTAINER=	olevole@olevole.ru
-COMMENT=	A program for incremental logfile reader
+COMMENT=	Program for incremental logfile reader
+
+LICENSE=	GPLv2
 
 GNU_CONFIGURE=	yes
-MAN1=		retail.1
-PLIST_FILES=	bin/retail
+PLIST_FILES=	bin/retail man/man1/retail.1.gz
 
-NO_STAGE=	yes
 post-configure:
 	${REINPLACE_CMD} -e 's/%.o: %.c \*.h ..\/config.h//g' ${WRKSRC}/src/Makefile
 
 post-install:
-	${INSTALL_DATA} ${WRKSRC}/doc/retail.1 ${PREFIX}/man/man1/
+	${INSTALL_DATA} ${WRKSRC}/doc/retail.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
 
 .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 4 Jason Helfman freebsd_committer freebsd_triage 2014-01-17 23:53:37 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!