aboutsummaryrefslogtreecommitdiffstats
path: root/misc/heyu/Makefile
blob: 393e28fe296c1c5c5bda8048b7b8a10feb627d1b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for:    heyu
# Version required: 1.28h
# Date created:     27 December 1999
# Whom:         plambert@plambert.net
#
# $FreeBSD$
#

DISTNAME=   x10_heyu
PKGNAME=    heyu-1.28h
CATEGORIES= misc
MASTER_SITES=   http://www.prado.com/~dbs/
EXTRACT_SUFX=   .tgz

MAINTAINER= plambert@plambert.net

ALL_TARGET= heyu
WRKSRC=     ${WRKDIR}/heyu.dir

MAN1=       heyu.1
MAN5=       x10config.5 \
        x10sched.5

do-configure:
    ${PERL} -pi.orig -e 's|/usr/local|${PREFIX}|' ${WRKSRC}/Makefile

post-install:
    strip ${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

.include <bsd.port.mk>