1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00

Correct manpage handling with XFree86-4.

honor CFLAGS.
supress <malloc.h> warnings.
split patch-aa into patch-a[acd].

PR:		23445
Submited by:	myself
Approved by:	maintainer
This commit is contained in:
FUJISHIMA Satsuki 2000-12-30 18:43:12 +00:00
parent 43a2aac35f
commit aafdbdc7f2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=36470
4 changed files with 29 additions and 11 deletions

View File

@ -17,12 +17,13 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= giffunip@asme.org
USE_IMAKE= yes
NO_INSTALL_MANPAGES= yes
ALL_TARGET= World
MAN1= plotmtv.1
post-patch:
find ${WRKSRC} -name \*.c | xargs ${PERL} -pi.malloc.h -e 's/<malloc.h>/<stdlib.h>/'
post-install:
@${INSTALL_MAN} ${WRKSRC}/Docs/plotmtv.man ${PREFIX}/man/man1/plotmtv.1
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/plotmtv/Tests
@${INSTALL_DATA} ${WRKSRC}/Docs/DataFormat.ps.Z \

View File

@ -1,9 +1,13 @@
*** Imakefile~ Sat Jul 15 04:07:13 1995
--- Imakefile Sat Jan 18 07:02:38 1997
***************
*** 22,23 ****
! CDEBUGFLAGS = -g
! DEFINES = -DPRINTER_NAME=\"hpps\" -DPRINTER_CMD=\"lpr\ -h\"
--- 22,23 ----
! CDEBUGFLAGS = -O3
! DEFINES = -DPRINTER_NAME=\"S\" -DPRINTER_CMD=\"lpr\ -h\"
--- Imakefile.orig Sat Jul 15 04:07:13 1995
+++ Imakefile Wed Nov 1 07:54:28 2000
@@ -19,9 +19,8 @@
#define IHaveSubdirs
#define PassCDebugFlags 'CDEBUGFLAGS=$(CDEBUGFLAGS) $(DEFINES)'
- CDEBUGFLAGS = -g
DEFINES = -DPRINTER_NAME=\"hpps\" -DPRINTER_CMD=\"lpr\ -h\"
- PROGRAMDIRS = Lib Plot
+ PROGRAMDIRS = Lib Plot Docs
UTILITIESDIR = Utils
LOCALBINDIR = ./Bin
SUBDIRS = $(PROGRAMDIRS) $(UTILITIESDIR)

View File

@ -0,0 +1,8 @@
--- Plot/Imakefile.orig Sat Jul 15 04:23:15 1995
+++ Plot/Imakefile Wed Nov 1 07:37:12 2000
@@ -31,4 +31,4 @@
install.local:: all $(PROGRAM)
$(INSTALL) -c $(INSTPGMFLAGS) $(PROGNAME) $(LOCALBINDIR)
-ComplexProgramTarget($(PROGNAME))
+ComplexProgramTargetNoMan($(PROGNAME))

View File

@ -0,0 +1,5 @@
--- /dev/null Wed Nov 1 07:50:48 2000
+++ Docs/Imakefile Wed Nov 1 07:54:17 2000
@@ -0,0 +1,2 @@
+InstallManPage(plotmtv, $(MANDIR))
+install.local:: all