summaryrefslogtreecommitdiffstats
path: root/misc/heyu/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/heyu/Makefile')
-rw-r--r--misc/heyu/Makefile21
1 files changed, 10 insertions, 11 deletions
diff --git a/misc/heyu/Makefile b/misc/heyu/Makefile
index eea3f4f..1e5d933 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>
OpenPOWER on IntegriCloud