diff options
Diffstat (limited to 'sysutils/reed')
-rw-r--r-- | sysutils/reed/Makefile | 27 | ||||
-rw-r--r-- | sysutils/reed/distinfo | 2 |
2 files changed, 19 insertions, 10 deletions
diff --git a/sysutils/reed/Makefile b/sysutils/reed/Makefile index ecf579f..ce9c709 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 5e5b316..01e0186 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 |