openbsd-ports/devel/t1lib/patches/patch-lib_Makefile.in
brad 8ebd08b18a add t1lib port;
--
t1lib is a library written in the C programming language allowing a
programmer to generate bitmaps from Adobe (TM) Type 1 fonts quite
easily. These bitmaps are returned in a data structure with type
GLYPH. This special GLYPH-type is also used in the X11 window system
to describe character bitmaps. It contains the bitmap data as well as
some metric information. But t1lib is in itself entirely independent
of the X11-system or any other graphical user interface.
2000-08-31 06:54:06 +00:00

52 lines
1.8 KiB
Plaintext

--- lib/Makefile.in.orig Thu Aug 31 00:51:05 2000
+++ lib/Makefile.in Thu Aug 31 00:52:52 2000
@@ -36,6 +36,8 @@
LEXLIB = @LEXLIB@
ALLCFLAGS = $(CFLAGS)
+DESTDIR =
+
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
@@ -158,27 +160,27 @@
install: dummy
- $(MKINSTALLDIRS) $(libdir)
- $(MKINSTALLDIRS) $(includedir)
- $(MKINSTALLDIRS) @T1LIB_DATA_DIR@
+ $(MKINSTALLDIRS) $(DESTDIR)$(libdir)
+ $(MKINSTALLDIRS) $(DESTDIR)$(includedir)
+ $(MKINSTALLDIRS) $(DESTDIR)@T1LIB_DATA_DIR@
$(LIBTOOL) --mode=install \
- $(INSTALL_DATA) $(MAIN_TARGET) $(libdir)
+ $(INSTALL_DATA) $(MAIN_TARGET) $(DESTDIR)$(libdir)
$(LIBTOOL) --mode=install \
- $(INSTALL_DATA) $(MAIN_HEADER) $(includedir)
- if (test -f @T1LIB_DATA_DIR@/t1lib.config) \
+ $(INSTALL_DATA) $(MAIN_HEADER) $(DESTDIR)$(includedir)
+ if (test -f $(DESTDIR)@T1LIB_DATA_DIR@/t1lib.config) \
then \
echo "Alert: Global configuration file exists, installation skipped!"; \
else \
- $(LIBTOOL) --mode=install $(INSTALL_DATA) t1lib.config @T1LIB_DATA_DIR@; \
+ $(LIBTOOL) --mode=install $(INSTALL_DATA) t1lib.config $(DESTDIR)@T1LIB_DATA_DIR@; \
fi;
uninstall: dummy
- -$(LIBTOOL) --mode=uninstall $(RM) $(libdir)/libt1.la
- -$(LIBTOOL) --mode=uninstall $(RM) $(libdir)/libt1x.la
- -$(LIBTOOL) --mode=uninstall $(RM) $(includedir)/t1lib.h
- -$(LIBTOOL) --mode=uninstall $(RM) $(includedir)/t1libx.h
- -$(LIBTOOL) --mode=uninstall $(RM) @T1LIB_DATA_DIR@/t1lib.config
+ -$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)$(libdir)/libt1.la
+ -$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)$(libdir)/libt1x.la
+ -$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)$(includedir)/t1lib.h
+ -$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)$(includedir)/t1libx.h
+ -$(LIBTOOL) --mode=uninstall $(RM) $(DESTDIR)@T1LIB_DATA_DIR@/t1lib.config
dummy: