Bug 167987 - [PATCH] www/ocaml-net: update to 3.5.1
Summary: [PATCH] www/ocaml-net: update to 3.5.1
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: Michael Scheidell
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-17 02:10 UTC by Jyun-Yan You
Modified: 2012-05-22 14:20 UTC (History)
1 user (show)

See Also:


Attachments
ocaml-net-3.5.1.patch (4.91 KB, patch)
2012-05-17 02:10 UTC, Jyun-Yan You
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jyun-Yan You 2012-05-17 02:10:01 UTC
- Update to 3.5.1

Port maintainer (jaapb@kerguelen.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-05-17 02:10:16 UTC
Maintainer of www/ocaml-net,

Please note that PR ports/167987 has just been submitted.

If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.

The full text of the PR can be found at:
    http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/167987

-- 
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2012-05-17 02:10:19 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Comment 3 jaapb 2012-05-17 09:27:09 UTC
I've quickly tested the patch; it looks fine and compiles without problems, so 
yes, I approve of it. Thanks to the submitter!

  Jaap
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2012-05-17 10:19:21 UTC
State Changed
From-To: feedback->open

Maintainer approved.
Comment 5 Michael Scheidell freebsd_committer freebsd_triage 2012-05-19 16:10:19 UTC
Responsible Changed
From-To: freebsd-ports-bugs->scheidell

I'll take it.
Comment 6 Michael Scheidell freebsd_committer freebsd_triage 2012-05-19 17:12:55 UTC
State Changed
From-To: open->feedback

Complies and packages fine. 
One suggestion, clarification. 
PORTDOCS/EXAMPLESDOC macro's already take into account defines, so this is 'more' correct (less confusion) 
-.if !defined(NOPORTDOCS) 
PORTDOCS=      * 
PORTEXAMPLES=  * 
-.endif 

also, (and I don't know why anyone would do it), but PORTDOCS and PORTEXAMPLES are two different defines. 
I don't know why anyone would define NOPORTDOCS without defining NOPORTEXAMPLES, but: 
"in theory, practice and theory are the same, in practice, they arn't" 

so, the more correct way is to look for each define independently. 
If no objections, I will commit the above, plus this: 

post-install: 
.if !defined(NOPORTDOCS) 
@${MKDIR} ${DOCSDIR}/ 
@(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} * ${DOCSDIR}/) 
- 
+.endif 
+.if !defined(NOPORTEXAMPLES) 

(basically: 

PORTDOCS=       * 
PORTEXAMPLES=   * 


and: 

post-install: 
.if !defined(NOPORTDOCS) 
@${MKDIR} ${DOCSDIR}/ 
@(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} * ${DOCSDIR}/) 
.endif 
.if !defined(NOPORTEXAMPLES) 
@${MKDIR} ${EXAMPLESDIR}/ 
@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} * ${EXAMPLESDIR}/) 
.endif
Comment 7 dfilter service freebsd_committer freebsd_triage 2012-05-22 14:12:55 UTC
scheidell    2012-05-22 13:12:46 UTC

  FreeBSD ports repository

  Modified files:
    www/ocaml-net        Makefile distinfo 
  Log:
  - Update to 3.5.1 [1]
  - Honor NOPORTEXAMPLES if NOPORTDOCS not defined [2]
  
  PR:             ports/167987 [1]
  Submitted by:   Jyun-Yan You <jyyou@cs.nctu.edu.tw> [1]
  Reviewed by:    scheidell@ (me) [2]
  Approved by:    Jaap Boender <jaapb@kerguelen.org> (maintainer)
  
  Revision  Changes    Path
  1.28      +48 -26    ports/www/ocaml-net/Makefile
  1.11      +2 -2      ports/www/ocaml-net/distinfo
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 8 Michael Scheidell freebsd_committer freebsd_triage 2012-05-22 14:12:59 UTC
State Changed
From-To: feedback->closed

Committed, with minor changes. Thanks!