aboutsummaryrefslogtreecommitdiffstats
path: root/misc/acron/Makefile
blob: f9351abe1d09b461dffe47a795a6b1b925d8832f (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
# New ports collection makefile for:    acron
# Date created:         13 Dec 1997
# Whom:                 Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   acron
PORTVERSION=    1.0
CATEGORIES= misc
MASTER_SITES=   ftp://ftp.cs.uni-sb.de/pub/others/
DISTNAME=   ${PORTNAME}
EXTRACT_SUFX=   .tgz

MAINTAINER= ports@FreeBSD.org

NO_BUILD=   yes
USE_REINPLACE=  yes

post-patch:
    @${REINPLACE_CMD} -e "s|\@\@PREFIX\@\@|${PREFIX}|g;" ${WRKSRC}/whats

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/whats ${PREFIX}/bin
    ${LN} -sf ${PREFIX}/bin/whats ${PREFIX}/bin/acron
    ${INSTALL_DATA} ${WRKSRC}/acron ${PREFIX}/share/misc

.include <bsd.port.mk>