From 036fccece1e33b2c7179ceb0d01b15023a6737db Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Thu, 10 Jul 2014 08:01:24 +0000 Subject: [PATCH] Stagify. Approved by: portmgr@ (blanket) --- graphics/barcode/Makefile | 3 --- graphics/barcode/files/patch-Makefile.in | 25 ++++++++++++++++++++++++ graphics/barcode/pkg-plist | 2 ++ 3 files changed, 27 insertions(+), 3 deletions(-) create mode 100644 graphics/barcode/files/patch-Makefile.in diff --git a/graphics/barcode/Makefile b/graphics/barcode/Makefile index 337b585969be..e0d58486e407 100644 --- a/graphics/barcode/Makefile +++ b/graphics/barcode/Makefile @@ -12,10 +12,7 @@ COMMENT= A barcode generation library along with a command line frontend BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk -MAN1= barcode.1 -MAN3= barcode.3 GNU_CONFIGURE= yes INFO= barcode -NO_STAGE= yes .include diff --git a/graphics/barcode/files/patch-Makefile.in b/graphics/barcode/files/patch-Makefile.in new file mode 100644 index 000000000000..5590959a1b32 --- /dev/null +++ b/graphics/barcode/files/patch-Makefile.in @@ -0,0 +1,25 @@ +--- Makefile.in.orig 2014-07-10 15:58:37.780551347 +0800 ++++ Makefile.in 2014-07-10 15:59:12.327554896 +0800 +@@ -63,14 +63,14 @@ $(INFO): doc/doc.$(TARGET) + cd doc && $(MAKE) + + install: +- $(INSTALL) -d $(BINDIR) $(INCDIR) $(LIBDIR) $(MAN1DIR) \ +- $(MAN3DIR) $(INFODIR) +- $(INSTALL) -c $(TARGET) $(BINDIR) +- $(INSTALL) -c -m 0644 $(HEADER) $(INCDIR) +- $(INSTALL) -c -m 0644 $(LIBRARY) $(LIBDIR) +- $(INSTALL) -c -m 0644 $(MAN1) $(MAN1DIR) +- $(INSTALL) -c -m 0644 $(MAN3) $(MAN3DIR) +- $(INSTALL) -c -m 0644 $(INFO) $(INFODIR) ++ $(INSTALL) -d $(DESTDIR)$(BINDIR) $(DESTDIR)$(INCDIR) $(DESTDIR)$(LIBDIR) $(DESTDIR)$(MAN1DIR) \ ++ $(DESTDIR)$(MAN3DIR) $(DESTDIR)$(INFODIR) ++ $(INSTALL) -c $(TARGET) $(DESTDIR)$(BINDIR) ++ $(INSTALL) -c -m 0644 $(HEADER) $(DESTDIR)$(INCDIR) ++ $(INSTALL) -c -m 0644 $(LIBRARY) $(DESTDIR)$(LIBDIR) ++ $(INSTALL) -c -m 0644 $(MAN1) $(DESTDIR)$(MAN1DIR) ++ $(INSTALL) -c -m 0644 $(MAN3) $(DESTDIR)$(MAN3DIR) ++ $(INSTALL) -c -m 0644 $(INFO) $(DESTDIR)$(INFODIR) + + uninstall: + $(RM) -f $(BINDIR)/$(TARGET) diff --git a/graphics/barcode/pkg-plist b/graphics/barcode/pkg-plist index 0f25b9a6f623..c06ecea054b0 100644 --- a/graphics/barcode/pkg-plist +++ b/graphics/barcode/pkg-plist @@ -1,3 +1,5 @@ bin/barcode include/barcode.h lib/libbarcode.a +man/man1/barcode.1.gz +man/man3/barcode.3.gz