diff options
author | cy <cy@FreeBSD.org> | 2006-11-24 23:27:59 +0800 |
---|---|---|
committer | cy <cy@FreeBSD.org> | 2006-11-24 23:27:59 +0800 |
commit | d01afcf17257c9f2c6c65fe5f7dc8104810856cd (patch) | |
tree | 629efd6d738dd311bd01b6a04bb884836d2d49ee /comms | |
parent | 8236e067695ea3f72a4d41d0b96ce28d5d625c1e (diff) | |
download | freebsd-ports-gnome-d01afcf17257c9f2c6c65fe5f7dc8104810856cd.tar.gz freebsd-ports-gnome-d01afcf17257c9f2c6c65fe5f7dc8104810856cd.tar.zst freebsd-ports-gnome-d01afcf17257c9f2c6c65fe5f7dc8104810856cd.zip |
Fix a couple of problems:
1. Install man page.
2. Install documentation in ${PREFIX}/share/doc/ecu.
Diffstat (limited to 'comms')
-rw-r--r-- | comms/ecu/Makefile | 12 | ||||
-rw-r--r-- | comms/ecu/pkg-plist | 5 |
2 files changed, 12 insertions, 5 deletions
diff --git a/comms/ecu/Makefile b/comms/ecu/Makefile index 84717b13da82..e1f0d5ee6861 100644 --- a/comms/ecu/Makefile +++ b/comms/ecu/Makefile @@ -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> diff --git a/comms/ecu/pkg-plist b/comms/ecu/pkg-plist index d0983cf7e3a7..becfb0f28e7e 100644 --- a/comms/ecu/pkg-plist +++ b/comms/ecu/pkg-plist @@ -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 |