Fix a couple of problems:

1. Install man page.

2. Install documentation in ${PREFIX}/share/doc/ecu.
This commit is contained in:
Cy Schubert 2006-11-24 15:27:59 +00:00
parent 9e7865eb27
commit 658e1950af
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=177963
2 changed files with 12 additions and 5 deletions

View file

@ -7,12 +7,15 @@
PORTNAME= ecu
PORTVERSION= 4.30
PORTREVISION= 1
CATEGORIES= comms
MASTER_SITES= ftp://tsx-11.mit.edu/pub/linux/sources/usr.bin/Communications/
MAINTAINER= ports@FreeBSD.org
COMMENT= Extended Call Utility
MAN1= ecu.1
do-configure:
cd ${WRKSRC}; yes "" | ./Configure
@ -22,8 +25,11 @@ pre-patch:
${WRKSRC}/qmake.c ${WRKSRC}/unsupported/tts/tts.c
post-install:
cd ${WRKSRC}/doc; \
${INSTALL_MAN} ecu.man ${PREFIX}/man/cat1/ecu.1; \
${INSTALL_MAN} proc.man ${PREFIX}/man/cat1/proc.1
cd ${WRKSRC}; \
${INSTALL_MAN} ecu.1 ${PREFIX}/man/man1/ecu.1; \
cd ${WRKSRC}/doc; \
${MKDIR} ${PREFIX}/share/doc/ecu; \
${INSTALL_MAN} ecu.man ${PREFIX}/share/doc/ecu/ecu.txt; \
${INSTALL_MAN} proc.man ${PREFIX}/share/doc/ecu/proc.txt
.include <bsd.port.mk>

View file

@ -5,6 +5,7 @@ lib/ecu/ecusz
lib/ecu/ecurz
lib/ecu/tty1a.mi
lib/ecu/tty2d.mi
man/cat1/ecu.1
man/cat1/proc.1
share/doc/ecu/ecu.txt
share/doc/ecu/proc.txt
@dirrm share/doc/ecu
@dirrm lib/ecu