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