summaryrefslogtreecommitdiffstats
path: root/sysutils/lcdproc/Makefile
blob: e81ef387ac487184de0c66b1535b684bc41ea3b5 (plain)
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:	lcdproc
# Date created:				Sat Jun  1 20:03:41 EDT 2002
# Whom:					pat
#
# $FreeBSD$
#

PORTNAME=	lcdproc
PORTVERSION=	0.4.3
CATEGORIES=	sysutils
MASTER_SITES=	http://lcdproc.omnipotent.net/download/ \
		${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	ports@FreeBSD.org

ONLY_FOR_ARCHS=	i386
GNU_CONFIGURE=	yes

MAN1=		lcdproc.1
MAN8=		LCDd.8

pre-patch:
	@${CP} ${WRKSRC}/configure ${WRKSRC}/configure.orig
	@${SED} -e 's|CFLAGS=\"-O3\"||' ${WRKSRC}/configure.orig \
		> ${WRKSRC}/configure
	@${CP} ${FILESDIR}/LCDd.sh.sample ${WRKSRC}/LCDd.sh.sample.orig
	@${SED} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/LCDd.sh.sample.orig \
		> ${WRKSRC}/LCDd.sh.sample

post-install:
	@${INSTALL_DATA} ${WRKSRC}/LCDd.conf ${PREFIX}/etc/LCDd.conf.sample
	@${INSTALL_SCRIPT} ${WRKSRC}/LCDd.sh.sample ${PREFIX}/etc/rc.d

.include <bsd.port.mk>
OpenPOWER on IntegriCloud