Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Feb 2006 15:00:26 GMT
From:      Renato Botelho <garga@FreeBSD.org>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/93316: misc/heyu: maintainer update - source server
Message-ID:  <200602171500.k1HF0QbY027470@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/93316; it has been noted by GNATS.

From: Renato Botelho <garga@FreeBSD.org>
To: mstowe@chicago.us.mensa.org
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/93316: misc/heyu: maintainer update - source server
Date: Fri, 17 Feb 2006 14:55:15 +0000

 Since i'm here, i propose you the following patch, with these changes:
 
 - Make portlint(1) happy
 - Respect CC/CFLAGS env vars
 - Apply changes on Configure script on post-patch: and execute Configure on
   do-configure:
 - Always install files on EXAMPLESDIR, it doesn't need to respect NOPORTDOCS
 
 Do you approve these changes?
 
 -----------------------------------------------------
 Index: Makefile
 ===================================================================
 RCS file: /home/pcvs/ports/misc/heyu/Makefile,v
 retrieving revision 1.17
 diff -u -r1.17 Makefile
 --- Makefile	26 Jul 2005 15:13:25 -0000	1.17
 +++ Makefile	17 Feb 2006 14:49:18 -0000
 @@ -9,36 +9,35 @@
  PORTVERSION=	1.35
  PORTREVISION=	2
  CATEGORIES=	misc
 -MASTER_SITES=	http://heyu.tanj.com/
 +MASTER_SITES=	http://www.heyu.org/heyu1/
  DISTNAME=	x10_heyu
  EXTRACT_SUFX=	.tgz
  
  MAINTAINER=	mstowe@chicago.us.mensa.org
  COMMENT=	Control a CM11A interface from the command line
  
 -CONFLICTS=	heyu2-*
 +CONFLICTS=	heyu2-[0-9]*
  
  IS_INTERACTIVE=	yes
  ALL_TARGET=	heyu
  WRKSRC=		${WRKDIR}/heyu.dir
 -USE_REINPLACE=	yes
  
  MAN1=		heyu.1 heyuhelper.1
  MAN5=		x10config.5 \
  		x10sched.5
  
 -do-configure:
 -	${REINPLACE_CMD} 's|/usr/local|${PREFIX}|' ${WRKSRC}/Makefile
 +post-patch:
 +	@${REINPLACE_CMD} -E 's|/usr/local|${PREFIX}|g; \
 +			      s,(CC|CFLAGS) =,\1 ?=,g' \
 +		${WRKSRC}/Configure
  
 -pre-patch:
 +do-configure:
  	(cd ${WRKSRC} && ./Configure freebsd)
  
  post-install:
  	${STRIP_CMD} ${PREFIX}/bin/heyu
 -.if !defined(NOPORTDOCS)
 -	${MKDIR} ${PREFIX}/share/examples/heyu
 -	${INSTALL_DATA} ${WRKSRC}/x10config ${PREFIX}/share/examples/heyu/x10config.sample
 -	${INSTALL_DATA} ${WRKSRC}/x10sched.conf.sample ${PREFIX}/share/examples/heyu
 -.endif
 +	${MKDIR} ${EXAMPLESDIR}
 +	${INSTALL_DATA} ${WRKSRC}/x10config ${EXAMPLESDIR}/x10config.sample
 +	${INSTALL_DATA} ${WRKSRC}/x10sched.conf.sample ${EXAMPLESDIR}
  
  .include <bsd.port.mk>
 Index: pkg-plist
 ===================================================================
 RCS file: /home/pcvs/ports/misc/heyu/pkg-plist,v
 retrieving revision 1.3
 diff -u -r1.3 pkg-plist
 --- pkg-plist	6 Mar 2004 12:01:13 -0000	1.3
 +++ pkg-plist	17 Feb 2006 14:49:18 -0000
 @@ -2,6 +2,6 @@
  bin/heyu
  bin/heyuhelper
  bin/makesched
 -share/examples/heyu/x10config.sample
 -share/examples/heyu/x10sched.conf.sample
 -@dirrm share/examples/heyu
 +%%EXAMPLESDIR%%/x10config.sample
 +%%EXAMPLESDIR%%/x10sched.conf.sample
 +@dirrm %%EXAMPLESDIR%%
 
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200602171500.k1HF0QbY027470>