1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Fix Imakefile: There is no man page for xbsndsrv, but the imake rules

require one. The quick and dirty trick is to replace the InstallManPage
macro by an empty definition.

Clean up the man page installation, while I'm here ...

PR:		21045
This commit is contained in:
Stefan Eßer 2000-10-20 21:14:32 +00:00
parent 2639c7ae1f
commit 4ba25a6bcf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=34045
2 changed files with 17 additions and 7 deletions

View File

@ -16,11 +16,7 @@ MAINTAINER= se@FreeBSD.org
WRKSRC= ${WRKDIR}/XBlast-2.6-sound
USE_IMAKE= yes
NO_INSTALL_MANPAGES= yes
MANN= xblast.n
MANCOMPRESSED= no
post-install:
@${INSTALL_MAN} ${WRKSRC}/xblast.man ${MANNPREFIX}/man/mann/xblast.n
MAN1= xblast.1
MANCOMPRESSED= yes
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
--- Imakefile.orig Wed Jul 28 21:36:20 1999
+++ Imakefile Fri Aug 27 14:42:54 1999
+++ Imakefile Tue Oct 17 20:23:46 2000
@@ -25,7 +25,9 @@
* If you want to have sound, comment the following line
* Set SOUND_DIR to the directory, where the sounds can be found
@ -11,3 +11,17 @@
/*
* all programs to be build
@@ -71,6 +73,13 @@
SRCS2 = xbsndsrv.c
OBJS2 = xbsndsrv.o
+/*
+ * The following is a terrible hack, but there is no man page
+ * and ComplexProgramTarget always wants to install one ...
+ */
+#undef InstallManPage
+#define InstallManPage(p,d)
+
ComplexProgramTarget_2(xbsndsrv,NullParameter,NullParameter)
/*