aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/reed
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2001-12-25 04:16:08 +0800
committerpetef <petef@FreeBSD.org>2001-12-25 04:16:08 +0800
commit0b0e713d288557be35c91167923f9d1739cf281e (patch)
tree35df49c2d436cdd161d6c29edb8b67b675418470 /sysutils/reed
parent9484238171fcc4b923f287d490a33930dae64d78 (diff)
downloadfreebsd-ports-gnome-0b0e713d288557be35c91167923f9d1739cf281e.tar.gz
freebsd-ports-gnome-0b0e713d288557be35c91167923f9d1739cf281e.tar.zst
freebsd-ports-gnome-0b0e713d288557be35c91167923f9d1739cf281e.zip
Update to 4.7.
Diffstat (limited to 'sysutils/reed')
-rw-r--r--sysutils/reed/Makefile27
-rw-r--r--sysutils/reed/distinfo2
2 files changed, 19 insertions, 10 deletions
diff --git a/sysutils/reed/Makefile b/sysutils/reed/Makefile
index ecf579fac298..ce9c7099309c 100644
--- a/sysutils/reed/Makefile
+++ b/sysutils/reed/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= reed
-PORTVERSION= 4.6
+PORTVERSION= 4.7
CATEGORIES= misc
MASTER_SITES= http://www.sacredchao.net/software/reed/
@@ -14,16 +14,25 @@ MAINTAINER= petef@FreeBSD.org
LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
-GNU_CONFIGURE= yes
-USE_GMAKE= yes
-MAKE_ARGS= CFLAGS="-I${LOCALBASE}/include ${CFLAGS}"
+HAS_CONFIGURE= yes
+CONFIGURE_SCRIPT= configures
+CONFIGURE_ENV= INCDIR="${LOCALBASE}/include"
-post-patch:
- @${PERL} -pi -e 's!sys/dir.h!dirent.h!g' ${WRKSRC}/configure \
- ${WRKSRC}/src/reed.h
- @${PERL} -pi -e 's!-O3!!' ${WRKSRC}/configure
- @${PERL} -pi -e 's!CFLAGS =!CFLAGS +=!' ${WRKSRC}/src/Makefile.in
+CFLAGS+= -I${LOCALBASE}/include
MAN1= breed.1 reed.1 wrap.1
+post-patch:
+ @${PERL} -pi -e 's!/usr/local/!${PREFIX}!g' ${WRKSRC}/configures
+ @${PERL} -pi -e 's!sys/dir.h!dirent.h!g' ${WRKSRC}/src/reed.h
+ @${PERL} -pi -e 's!-O2!${CFLAGS}!' ${WRKSRC}/Makefile.in
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/reed ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/scripts/breed ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/scripts/wrap ${PREFIX}/bin
+.for file in ${MAN1}
+ ${INSTALL_SCRIPT} ${WRKSRC}/man/${file} ${PREFIX}/man/man1
+.endfor
+
.include <bsd.port.mk>
diff --git a/sysutils/reed/distinfo b/sysutils/reed/distinfo
index 5e5b3164c67a..01e018650675 100644
--- a/sysutils/reed/distinfo
+++ b/sysutils/reed/distinfo
@@ -1 +1 @@
-MD5 (reed-4.6.tar.gz) = 99534e8c2532de28437f5284a0056bea
+MD5 (reed-4.7.tar.gz) = fbe1a58acf2465156e643b6485b10feb