aboutsummaryrefslogtreecommitdiffstats
path: root/misc/brs
diff options
context:
space:
mode:
Diffstat (limited to 'misc/brs')
-rw-r--r--misc/brs/Makefile25
-rw-r--r--misc/brs/pkg-plist6
2 files changed, 10 insertions, 21 deletions
diff --git a/misc/brs/Makefile b/misc/brs/Makefile
index e60ac2ff270e..4f4a99a9fc54 100644
--- a/misc/brs/Makefile
+++ b/misc/brs/Makefile
@@ -1,35 +1,24 @@
-# New ports collection makefile for: brs
-# Date created: 10 July 2000
-# Whom: Kim Scarborough <user@unknown.nu>
-#
+# Created by: Kim Scarborough <user@unknown.nu>
# $FreeBSD$
-#
PORTNAME= brs
PORTVERSION= 4.03
CATEGORIES= misc
-MASTER_SITES= http://mirrors.playboy.com/misc/ \
- http://www.unknown.nu/ports/ \
- ftp://mirrors.playboy.com/misc/
+MASTER_SITES= http://www.unknown.nu/ports/
DISTFILES= bible.data.tar.bz2 bible.tar.bz2
DIST_SUBDIR= brs
MAINTAINER= user@unknown.nu
-COMMENT= An interactive King James Bible
+COMMENT= Interactive King James Bible
USE_BZIP2= yes
NO_WRKSUBDIR= yes
ALL_TARGET=
+CFLAGS+= -Wno-error=return-type
MAN1= bible.1
-.include <bsd.port.pre.mk>
-
post-patch:
- @${MV} ${WRKSRC}/brl.c ${WRKSRC}/brl.c.sed
- ${SED} -e "s=%%PREFIX%%=${PREFIX}=g" \
- ${WRKSRC}/brl.c.sed > ${WRKSRC}/brl.c
- @${MV} ${WRKSRC}/bible.1 ${WRKSRC}/bible.1.sed
- ${SED} -e "s=%%PREFIX%%=${PREFIX}=g" \
- ${WRKSRC}/bible.1.sed > ${WRKSRC}/bible.1
+ ${REINPLACE_CMD} 's=%%PREFIX%%=${PREFIX}=g' \
+ ${WRKSRC}/brl.c ${WRKSRC}/bible.1
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/misc/brs/pkg-plist b/misc/brs/pkg-plist
index 9a1b5ce3b737..a8b517875078 100644
--- a/misc/brs/pkg-plist
+++ b/misc/brs/pkg-plist
@@ -1,4 +1,4 @@
bin/bible
-share/brs/bible.data
-share/brs/bible.data.conc
-@dirrm share/brs
+%%DATADIR%%/bible.data
+%%DATADIR%%/bible.data.conc
+@dirrm %%DATADIR%%