diff options
author | antoine <antoine@FreeBSD.org> | 2013-08-02 18:16:05 +0800 |
---|---|---|
committer | antoine <antoine@FreeBSD.org> | 2013-08-02 18:16:05 +0800 |
commit | 0ec2d5c2cbeb6ddc76bea60c7f809d0bb9b76d4b (patch) | |
tree | 84c0beff0719b04be5a43905702491c7d2aeeea0 | |
parent | 6b409abd9b8c369af3671212f2aa265ae0aff93f (diff) | |
download | freebsd-ports-gnome-0ec2d5c2cbeb6ddc76bea60c7f809d0bb9b76d4b.tar.gz freebsd-ports-gnome-0ec2d5c2cbeb6ddc76bea60c7f809d0bb9b76d4b.tar.zst freebsd-ports-gnome-0ec2d5c2cbeb6ddc76bea60c7f809d0bb9b76d4b.zip |
- Trim Makefile header
- Remove dead mirrors
- Unbreak with clang
- Use REINPLACE_CMD and DATADIR
-rw-r--r-- | misc/brs/Makefile | 25 | ||||
-rw-r--r-- | misc/brs/pkg-plist | 6 |
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%% |