svn commit: r324158 - head/misc/brs
Antoine Brodin
antoine at FreeBSD.org
Fri Aug 2 10:16:06 UTC 2013
Author: antoine
Date: Fri Aug 2 10:16:05 2013
New Revision: 324158
URL: http://svnweb.freebsd.org/changeset/ports/324158
Log:
- Trim Makefile header
- Remove dead mirrors
- Unbreak with clang
- Use REINPLACE_CMD and DATADIR
Modified:
head/misc/brs/Makefile
head/misc/brs/pkg-plist
Modified: head/misc/brs/Makefile
==============================================================================
--- head/misc/brs/Makefile Fri Aug 2 09:53:22 2013 (r324157)
+++ head/misc/brs/Makefile Fri Aug 2 10:16:05 2013 (r324158)
@@ -1,35 +1,24 @@
-# New ports collection makefile for: brs
-# Date created: 10 July 2000
-# Whom: Kim Scarborough <user at unknown.nu>
-#
+# Created by: Kim Scarborough <user at 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 at 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>
Modified: head/misc/brs/pkg-plist
==============================================================================
--- head/misc/brs/pkg-plist Fri Aug 2 09:53:22 2013 (r324157)
+++ head/misc/brs/pkg-plist Fri Aug 2 10:16:05 2013 (r324158)
@@ -1,4 +1,4 @@
bin/bible
-share/brs/bible.data
-share/brs/bible.data.conc
- at dirrm share/brs
+%%DATADIR%%/bible.data
+%%DATADIR%%/bible.data.conc
+ at dirrm %%DATADIR%%
More information about the svn-ports-head
mailing list