Bug 182400 - [MAINTAINER] mail/py-authres: add staging support
Summary: [MAINTAINER] mail/py-authres: add staging support
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: William Grzybowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-26 08:30 UTC by Yasuhiro Kimura
Modified: 2013-09-26 14:00 UTC (History)
0 users

See Also:


Attachments
patch-py-authres (500 bytes, text/plain)
2013-09-26 08:30 UTC, Yasuhiro Kimura
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yasuhiro Kimura freebsd_committer freebsd_triage 2013-09-26 08:30:00 UTC
	
	Add staging support.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-09-26 08:30:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-python

freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 William Grzybowski freebsd_committer freebsd_triage 2013-09-26 12:43:45 UTC
Responsible Changed
From-To: freebsd-python->wg

I'll take it.
Comment 3 William Grzybowski freebsd_committer freebsd_triage 2013-09-26 13:54:19 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2013-09-26 13:54:20 UTC
Author: wg
Date: Thu Sep 26 12:54:08 2013
New Revision: 328353
URL: http://svnweb.freebsd.org/changeset/ports/328353

Log:
  mail/py-authres: allow staging
  
  - Allow stating [1]
  - Define DOCS option
  
  PR:		ports/182400 [1]
  Submitted by:	Yasuhiro KIMURA <yasu utahime.org> (maintainer) [1]

Modified:
  head/mail/py-authres/Makefile

Modified: head/mail/py-authres/Makefile
==============================================================================
--- head/mail/py-authres/Makefile	Thu Sep 26 12:34:50 2013	(r328352)
+++ head/mail/py-authres/Makefile	Thu Sep 26 12:54:08 2013	(r328353)
@@ -12,7 +12,7 @@ COMMENT=	Python module for RFC 5451 Auth
 
 LICENSE=	AL2
 
-USE_PYTHON=	2.6+
+USE_PYTHON=	yes
 USE_PYDISTUTILS=	yes
 
 PLIST_SUB+=	PORTNAME=${PORTNAME}
@@ -21,13 +21,10 @@ FETCH_ARGS=	-pRr
 
 PORTDOCS=	CHANGES README
 
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE=	DOCS
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}/
-	cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
 
 .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"