diff options
Diffstat (limited to 'sysutils/lcdproc/Makefile')
-rw-r--r-- | sysutils/lcdproc/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/sysutils/lcdproc/Makefile b/sysutils/lcdproc/Makefile new file mode 100644 index 000000000000..e81ef387ac48 --- /dev/null +++ b/sysutils/lcdproc/Makefile @@ -0,0 +1,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> |