aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2013-08-02 10:16:05 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2013-08-02 10:16:05 +0000
commit8a3f89fe108710b120d844b88b6f8f96d41346d2 (patch)
tree84c0beff0719b04be5a43905702491c7d2aeeea0
parent5da5115a2d29c7226c6cecbc53c7f60ceef0d3fc (diff)
downloadports-8a3f89fe108710b120d844b88b6f8f96d41346d2.tar.gz
ports-8a3f89fe108710b120d844b88b6f8f96d41346d2.zip
Notes
-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%%