Install the source instead of the cat-file in ${PREFIX}/man/man1

PR:		65456
This commit is contained in:
Jean-Marc Zucconi 2004-04-13 00:17:26 +00:00
parent a2c264c689
commit e3217c6859
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=106851
2 changed files with 25 additions and 23 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= p2c
PORTVERSION= 1.21a
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= lang
MASTER_SITES= ftp://ftp.clara.net/pub/mirrors/gnu/hurd/ \
ftp://ftp.u-aizu.ac.jp/pub/lang/netsw/Pascal/ \

View File

@ -1,22 +1,24 @@
*** src/Makefile.orig Wed Dec 15 14:55:32 1999
--- src/Makefile Wed Dec 15 14:56:48 1999
***************
*** 37,44 ****
#MANFILE = p2c.man.inst
# Compiler options
! CC = cc # you may wish to use gcc here instead
! OPT = # -O # uncomment this for optimization
DEB = # -g # uncomment this for debugging
DEFS = # place other -D types of things here
CFLAGS = $(OPT) $(DEB) $(DEFS)
--- 37,44 ----
#MANFILE = p2c.man.inst
# Compiler options
! CC ?= cc # you may wish to use gcc here instead
! OPT = $(CFLAGS) # uncomment this for optimization
DEB = # -g # uncomment this for debugging
DEFS = # place other -D types of things here
CFLAGS = $(OPT) $(DEB) $(DEFS)
--- src/Makefile.orig Wed Dec 8 06:36:48 1993
+++ src/Makefile Tue Apr 13 02:12:49 2004
@@ -24,8 +24,8 @@
BINDIR = ..
LIBDIR = ../home
MANDIR = ../home
-MANFILE = p2c.cat # human-readable manual (for cat.1)
-#MANFILE = p2c.man.inst # uncompressed nroff source (for man.1)
+#MANFILE = p2c.cat # human-readable manual (for cat.1)
+MANFILE = p2c.man.inst # uncompressed nroff source (for man.1)
#MANFILE = p2c.man.Z # compressed nroff source (for man.1.Z)
# Directories (public version)
@@ -37,8 +37,8 @@
#MANFILE = p2c.man.inst
# Compiler options
-CC = cc # you may wish to use gcc here instead
-OPT = # -O # uncomment this for optimization
+CC ?= cc # you may wish to use gcc here instead
+OPT = $(CFLAGS) # uncomment this for optimization
DEB = # -g # uncomment this for debugging
DEFS = # place other -D types of things here
CFLAGS = $(OPT) $(DEB) $(DEFS)