aboutsummaryrefslogtreecommitdiff
path: root/sysutils/reed
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2001-12-24 20:16:08 +0000
committerPete Fritchman <petef@FreeBSD.org>2001-12-24 20:16:08 +0000
commit7eeae1d7cb0c96d0229c33eff48815e0cd85c24b (patch)
tree40e2673b77bd424bc02e28e240b1da197d82eaa7 /sysutils/reed
parent89890b0616f5901ba605b4aa7c3cf5c1651b50dd (diff)
downloadports-7eeae1d7cb0c96d0229c33eff48815e0cd85c24b.tar.gz
ports-7eeae1d7cb0c96d0229c33eff48815e0cd85c24b.zip
Notes
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