diff options
author | vanilla <vanilla@FreeBSD.org> | 2014-06-07 05:43:36 +0000 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2014-06-07 05:43:36 +0000 |
commit | c2ca9529854d9b0829879afe80e5faed76a824ab (patch) | |
tree | 0448b0be7d3fd1b82d6b93dad828dea47d4fba44 | |
parent | b3722ddc2a32b99c186cb44e2c86d21aca9e469c (diff) | |
download | FreeBSD-ports-c2ca9529854d9b0829879afe80e5faed76a824ab.zip FreeBSD-ports-c2ca9529854d9b0829879afe80e5faed76a824ab.tar.gz |
Stagify.
-rw-r--r-- | devel/elf/Makefile | 5 | ||||
-rw-r--r-- | devel/elf/files/patch-Makefile.in | 15 | ||||
-rw-r--r-- | devel/elf/files/patch-doc__Makefile.in | 13 | ||||
-rw-r--r-- | devel/elf/files/patch-src__Makefile.in | 11 |
4 files changed, 40 insertions, 4 deletions
diff --git a/devel/elf/Makefile b/devel/elf/Makefile index 6d62df9..14c5008 100644 --- a/devel/elf/Makefile +++ b/devel/elf/Makefile @@ -11,13 +11,10 @@ MASTER_SITE_SUBDIR= linux/reverse-engineering MAINTAINER= ports@FreeBSD.org COMMENT= A commandline based ELF header analyzer -MAN1= elf.1 -MANCOMPRESSED= no -PLIST_FILES= bin/elf USES= gmake GNU_CONFIGURE= yes +PLIST_FILES= bin/elf man/man1/elf.1.gz -NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's/gcc/${CC}/g' ${WRKSRC}/src/Makefile.in diff --git a/devel/elf/files/patch-Makefile.in b/devel/elf/files/patch-Makefile.in new file mode 100644 index 0000000..cf52ecd --- /dev/null +++ b/devel/elf/files/patch-Makefile.in @@ -0,0 +1,15 @@ +--- Makefile.in.orig 2014-06-07 13:38:33.334423095 +0800 ++++ Makefile.in 2014-06-07 13:39:03.004421673 +0800 +@@ -1,9 +1,9 @@ + all: ./src/Makefile +- cd ./src; make; cd ../ ++ cd ./src; ${MAKE} + + install: ./src/Makefile ./doc/Makefile +- cd ./src; make install; cd ../ +- cd ./doc; make install; cd ../ ++ cd ./src; ${MAKE} install ++ cd ./doc; ${MAKE} install + + uninstall: ./src/Makefile ./doc/Makefile + cd ./src;make uninstall; cd ../ diff --git a/devel/elf/files/patch-doc__Makefile.in b/devel/elf/files/patch-doc__Makefile.in new file mode 100644 index 0000000..6656b0e --- /dev/null +++ b/devel/elf/files/patch-doc__Makefile.in @@ -0,0 +1,13 @@ +--- doc/Makefile.in.orig 2014-06-07 13:36:10.752433006 +0800 ++++ doc/Makefile.in 2014-06-07 13:36:26.417432242 +0800 +@@ -5,8 +5,8 @@ INSDIR=@prefix@/man/man1 + + + install: +- cp elf.1 $(INSDIR)/ +- chmod 644 $(INSDIR)/elf.1 ++ cp elf.1 $(DESTDIR)$(INSDIR)/ ++ chmod 644 $(DESTDIR)$(INSDIR)/elf.1 + + uninstall: install + rm $(INSDIR)/elf.1 diff --git a/devel/elf/files/patch-src__Makefile.in b/devel/elf/files/patch-src__Makefile.in new file mode 100644 index 0000000..414cdb6 --- /dev/null +++ b/devel/elf/files/patch-src__Makefile.in @@ -0,0 +1,11 @@ +--- src/Makefile.in.orig 2014-06-07 13:35:52.417434266 +0800 ++++ src/Makefile.in 2014-06-07 13:36:02.841435177 +0800 +@@ -16,7 +16,7 @@ main.o: main.c ../include/sehdr.h ../in + $(CC) $(CFLAGS) $(INC) -c main.c + + install: elf +- cp elf $(BINDIR) ++ cp elf $(DESTDIR)$(BINDIR) + + uninstall: install + rm $(BINDIR)/elf |