Use a softlink for "fetchmailconf.1" so that this works properly with

"${MANZ}" and we don't need "@exec" and "@unexec" commands.
This commit is contained in:
tron 2000-01-23 14:40:13 +00:00
parent 24bc2d9170
commit fcc7dedcd7
2 changed files with 4 additions and 6 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1.1.1 2000/01/21 15:53:30 fredb Exp $
# $NetBSD: Makefile,v 1.2 2000/01/23 14:40:13 tron Exp $
#
DISTNAME= fetchmail-5.2.4
@ -21,7 +21,6 @@ EXTRACT_ELEMENTS= ${DISTNAME}/fetchmailconf
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/fetchmailconf ${PREFIX}/bin/
${LN} ${PREFIX}/man/man1/fetchmail.1 \
${PREFIX}/man/man1/fetchmailconf.1
${LN} -s fetchmail.1 ${PREFIX}/man/man1/fetchmailconf.1
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,3 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2000/01/21 15:53:31 fredb Exp $
@comment $NetBSD: PLIST,v 1.2 2000/01/23 14:40:15 tron Exp $
bin/fetchmailconf
@unexec rm %D/man/man1/fetchmailconf.1
@exec ln %D/man/man1/fetchmail.1 %D/man/man1/fetchmailconf.1
man/man1/fetchmailconf.1