diff options
author | Chris Rees <crees@FreeBSD.org> | 2012-11-04 16:59:46 +0000 |
---|---|---|
committer | Chris Rees <crees@FreeBSD.org> | 2012-11-04 16:59:46 +0000 |
commit | 597625be425452bc569669039993b7b2731e7835 (patch) | |
tree | a6ecb057395072d5829f1a4f55a1113cc0e28853 /sysutils/reed/Makefile | |
parent | cb2f53a51a66a369fe646b9f14edd08a589ca1b3 (diff) |
Notes
Diffstat (limited to 'sysutils/reed/Makefile')
-rw-r--r-- | sysutils/reed/Makefile | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/sysutils/reed/Makefile b/sysutils/reed/Makefile new file mode 100644 index 000000000000..6826f61b7da3 --- /dev/null +++ b/sysutils/reed/Makefile @@ -0,0 +1,38 @@ +# Created by: Pete Fritchman <petef@databits.net> +# $FreeBSD$ + +PORTNAME= reed +PORTVERSION= 5.4 +PORTREVISION= 1 +CATEGORIES= sysutils +MASTER_SITES= http://www.bayofrum.net/dist/${PORTNAME} + +MAINTAINER= crees@FreeBSD.org +COMMENT= A text pager with autoscrolling and more + +USE_PERL5= yes +HAS_CONFIGURE= yes +CONFIGURE_SCRIPT= configures + +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;s!.*getopt.h.*\n!!' \ + ${WRKSRC}/reed.c + @${PERL} -pi -e 's!getopt.h !!' ${WRKSRC}/cfg.data + @${PERL} -pi -e 's!-O2!${CFLAGS}!' ${WRKSRC}/Makefile.in + @${PERL} -pi -e 's!^#!/usr/bin/perl!#!${PERL}!' \ + ${WRKSRC}/fix_bookmarks.pl + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/reed ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/breed ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/wrap ${PREFIX}/bin + @${MKDIR} ${DATADIR} + ${INSTALL_SCRIPT} ${WRKSRC}/fix_bookmarks.pl ${DATADIR} +.for file in ${MAN1} + ${INSTALL_SCRIPT} ${WRKSRC}/${file} ${PREFIX}/man/man1 +.endfor + +.include <bsd.port.mk> |