- Don't patch Makefile if imake is going to regenerate it anyway
- Nuke two-line plist
This commit is contained in:
parent
038f73a9e1
commit
1ee0043c0e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=133668
3 changed files with 1 additions and 161 deletions
|
@ -22,6 +22,7 @@ WRKSRC= ${WRKDIR}/workman
|
|||
USE_IMAKE= yes
|
||||
MAN1= workman.1
|
||||
MAN5= workmandb.5
|
||||
PLIST_FILES= bin/workman lib/help/workman.info
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
|
|
@ -1,162 +1,3 @@
|
|||
diff -c --recursive ./Makefile ../workman.new/./Makefile
|
||||
*** ./Makefile Tue Jun 13 22:37:18 1995
|
||||
--- ../workman.new/./Makefile Sun Nov 26 03:26:56 1995
|
||||
***************
|
||||
*** 4,12 ****
|
||||
# If you want to use gcc, tell make about it here.
|
||||
#
|
||||
|
||||
! CC = gcc
|
||||
#CC = cc
|
||||
|
||||
#
|
||||
# Uncomment the following if you're compiling on Solaris 2.x.
|
||||
#
|
||||
--- 4,14 ----
|
||||
# If you want to use gcc, tell make about it here.
|
||||
#
|
||||
|
||||
! CC = gcc -O2 -m486
|
||||
#CC = cc
|
||||
|
||||
+ RM=rm -f
|
||||
+
|
||||
#
|
||||
# Uncomment the following if you're compiling on Solaris 2.x.
|
||||
#
|
||||
***************
|
||||
*** 18,26 ****
|
||||
# SOL2 line.
|
||||
#
|
||||
|
||||
! SOL2 = -DSYSV -DCODEC
|
||||
! LIBLOC = -R$(LIBDIR)
|
||||
! EXTRA_LIBS = -lsocket
|
||||
|
||||
#
|
||||
# Uncomment the following if you want fast database lookups using the
|
||||
--- 20,28 ----
|
||||
# SOL2 line.
|
||||
#
|
||||
|
||||
! #SOL2 = -DSYSV -DCODEC
|
||||
! #LIBLOC = -R$(LIBDIR)
|
||||
! #EXTRA_LIBS = -lsocket
|
||||
|
||||
#
|
||||
# Uncomment the following if you want fast database lookups using the
|
||||
***************
|
||||
*** 29,58 ****
|
||||
# to match your system type as listed in libdb's PORT directory.
|
||||
#
|
||||
|
||||
! DBCFLAGS = -DLIBDB -Idb.1.85/PORT/include -Idb.1.85/PORT/sunos.5.2
|
||||
! DBLIB = db.1.85/PORT/sunos.5.2/libdb.a
|
||||
|
||||
#
|
||||
# Set these to the locations of your XView include files and libraries.
|
||||
#
|
||||
|
||||
! INCDIR = $(OPENWINHOME)/include
|
||||
! LIBDIR = $(OPENWINHOME)/lib
|
||||
|
||||
#
|
||||
# Set these to the directory names in which to install the software and
|
||||
# help files.
|
||||
#
|
||||
|
||||
! BINDIR = $(OPENWINHOME)/bin
|
||||
! HLPDIR = $(OPENWINHOME)/lib/help
|
||||
|
||||
#
|
||||
# Set this to the directory containing manual pages. Manual pages will only
|
||||
# be installed if you "make install.man".
|
||||
#
|
||||
|
||||
! MANDIR = $(OPENWINHOME)/man
|
||||
|
||||
#
|
||||
# Set these to the manual sections (e.g. 1, 4, 5, l) for the program and
|
||||
--- 31,60 ----
|
||||
# to match your system type as listed in libdb's PORT directory.
|
||||
#
|
||||
|
||||
! #DBCFLAGS = -DLIBDB -Idb.1.85/PORT/include -Idb.1.85/PORT/sunos.5.2
|
||||
! #DBLIB = db.1.85/PORT/sunos.5.2/libdb.a
|
||||
|
||||
#
|
||||
# Set these to the locations of your XView include files and libraries.
|
||||
#
|
||||
|
||||
! INCDIR = /usr/include
|
||||
! LIBDIR = /usr/X11R6/lib
|
||||
|
||||
#
|
||||
# Set these to the directory names in which to install the software and
|
||||
# help files.
|
||||
#
|
||||
|
||||
! BINDIR = ${PREFIX}/bin
|
||||
! HLPDIR = ${PREFIX}/lib/help
|
||||
|
||||
#
|
||||
# Set this to the directory containing manual pages. Manual pages will only
|
||||
# be installed if you "make install.man".
|
||||
#
|
||||
|
||||
! MANDIR = ${PREFIX}/man
|
||||
|
||||
#
|
||||
# Set these to the manual sections (e.g. 1, 4, 5, l) for the program and
|
||||
***************
|
||||
*** 83,89 ****
|
||||
CFLAGS = -g
|
||||
CPPFLAGS = -I$(INCDIR) $(SOL2)
|
||||
LDFLAGS = -L$(LIBDIR) $(LIBLOC)
|
||||
! LDLIBS = -lxview -lolgx -lX11 $(EXTRA_LIBS) $(DBLIB) -ldl
|
||||
|
||||
# Standard targets.
|
||||
|
||||
--- 85,91 ----
|
||||
CFLAGS = -g
|
||||
CPPFLAGS = -I$(INCDIR) $(SOL2)
|
||||
LDFLAGS = -L$(LIBDIR) $(LIBLOC)
|
||||
! LDLIBS = -lxview -lolgx -lX11 $(EXTRA_LIBS) $(DBLIB) #-ldl
|
||||
|
||||
# Standard targets.
|
||||
|
||||
***************
|
||||
*** 96,110 ****
|
||||
$(CC) $(LDFLAGS) $(DBCFLAGS) buildindex.c $(DBLIB) -o $@
|
||||
|
||||
clean:
|
||||
! $(RM) $(OBJECTS) *.BAK *.delta core
|
||||
|
||||
! install: $(PROGRAM)
|
||||
cp $(PROGRAM) $(BINDIR)
|
||||
chmod 755 $(BINDIR)/$(PROGRAM)
|
||||
cp $(PROGRAM).info $(HLPDIR)
|
||||
chmod 644 $(HLPDIR)/$(PROGRAM).info
|
||||
-
|
||||
- install.man: workman.man workmandb.man $(MANDIR)/man$(PEXT) $(MANDIR)/man$(DEXT)
|
||||
cp workman.man $(MANDIR)/man$(PEXT)/workman.$(PEXT)
|
||||
chmod 644 $(MANDIR)/man$(PEXT)/workman.$(PEXT)
|
||||
cp workmandb.man $(MANDIR)/man$(DEXT)/workmandb.$(DEXT)
|
||||
--- 98,111 ----
|
||||
$(CC) $(LDFLAGS) $(DBCFLAGS) buildindex.c $(DBLIB) -o $@
|
||||
|
||||
clean:
|
||||
! $(RM) $(OBJECTS) *.BAK *.delta *.core workman
|
||||
|
||||
! install: $(PROGRAM) workman.man workmandb.man \
|
||||
! $(MANDIR)/man$(PEXT) $(MANDIR)/man$(DEXT)
|
||||
cp $(PROGRAM) $(BINDIR)
|
||||
chmod 755 $(BINDIR)/$(PROGRAM)
|
||||
cp $(PROGRAM).info $(HLPDIR)
|
||||
chmod 644 $(HLPDIR)/$(PROGRAM).info
|
||||
cp workman.man $(MANDIR)/man$(PEXT)/workman.$(PEXT)
|
||||
chmod 644 $(MANDIR)/man$(PEXT)/workman.$(PEXT)
|
||||
cp workmandb.man $(MANDIR)/man$(DEXT)/workmandb.$(DEXT)
|
||||
diff -c --recursive ./workman.man ../workman.new/./workman.man
|
||||
*** ./workman.man Thu Jun 15 23:52:13 1995
|
||||
--- ../workman.new/./workman.man Sun Nov 26 03:28:54 1995
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
bin/workman
|
||||
lib/help/workman.info
|
Loading…
Reference in a new issue