aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2006-02-18 00:35:10 +0800
committergarga <garga@FreeBSD.org>2006-02-18 00:35:10 +0800
commit93e0e826ee43e479c3526142962e3b018f27c276 (patch)
tree52ac43ba6a0a38ae3e57d5ce4b583e6b29b2672a
parent232bfca96d72d71f9c5c0bffdf578361e4455374 (diff)
downloadfreebsd-ports-gnome-93e0e826ee43e479c3526142962e3b018f27c276.tar.gz
freebsd-ports-gnome-93e0e826ee43e479c3526142962e3b018f27c276.tar.zst
freebsd-ports-gnome-93e0e826ee43e479c3526142962e3b018f27c276.zip
- Fix MASTER_SITES [1]
- Make portlint(1) happy - Respect CC/CFLAGS - Install files in EXAMPLESDIR without check NOPORTDOCS - Patch Configure script on post-patch: target and execute it on do-configure: target PR: ports/93316 [1] Submitted by: maintainer [1] Approved by: maintainer
-rw-r--r--misc/heyu/Makefile21
-rw-r--r--misc/heyu/pkg-plist6
2 files changed, 13 insertions, 14 deletions
diff --git a/misc/heyu/Makefile b/misc/heyu/Makefile
index eea3f4fc9ae8..1e5d9337f058 100644
--- a/misc/heyu/Makefile
+++ b/misc/heyu/Makefile
@@ -9,36 +9,35 @@ PORTNAME= heyu
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>
diff --git a/misc/heyu/pkg-plist b/misc/heyu/pkg-plist
index 85c305b75f1f..2fdab585d943 100644
--- a/misc/heyu/pkg-plist
+++ b/misc/heyu/pkg-plist
@@ -2,6 +2,6 @@ bin/dawndusk
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%%
ool patch to allow porters to use the libtool installed bymarcus2004-07-101-1/+1 * - Update WWWpav2004-05-301-1/+1 * SIZEify (maintainer timeout)trevor2004-03-311-0/+1 * Whoa there, boy, that's a mighty big commit y'all have there...ade2004-03-141-1/+1 * Fix the bus error on close by clearing the playlist prior to cleaningmarcel2004-02-261-0/+12 * Fix build on 5.x, where gcc3 doesn't like strings to be multi-line.marcel2004-02-253-4/+29 * Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.marcus2004-02-041-0/+1 * BROKEN on 5.x: does not compilekris2003-10-161-1/+7 * Remove the USE_GNOMENG macro.marcus2003-04-081-1/+0 * Clear moonlight beckons.ade2003-03-072-1/+1