1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/astro/xephem/files/patch-aa
1998-04-29 11:12:12 +00:00

21 lines
602 B
Plaintext

--- Imakefile.orig Wed Mar 4 17:36:44 1998
+++ Imakefile Wed Apr 22 13:21:12 1998
@@ -55,7 +55,7 @@
SRCS = $(OBJS:.o=.c)
- XMLIB = -lXm -lXpm
+ XMLIB = ${MOTIFLIB} -lXpm
DEPLIBS = $(DEPXMLIB) $(DEPXTOOLLIB) $(DEPXLIB)
EXTRA_INCLUDES = -I../../libastro
LOCAL_LDFLAGS = -L../../libastro
@@ -64,3 +64,8 @@
PROGRAMS = xephem
ComplexProgramTarget(xephem)
+
+install::
+ mkdir -p ${PREFIX}/lib/X11/xephem
+ tar -cf - auxil catalogs tools |(cd ${PREFIX}/lib/X11/xephem; tar -xf -)
+ sed s,@PREFIX@,${PREFIX}, XEphem.ad > ${PREFIX}/lib/X11/app-defaults/XEphem