From d6ff3c7a4fdd514f2316280812c15b1fd6addc09 Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Mon, 23 Jun 2014 08:32:49 +0000 Subject: [PATCH] Stagify. Approved by: portmgr@ --- net/gkrellmwireless2/Makefile | 5 +++-- .../files/{patch-aa => patch-Makefile} | 12 ++++++++++-- 2 files changed, 13 insertions(+), 4 deletions(-) rename net/gkrellmwireless2/files/{patch-aa => patch-Makefile} (72%) diff --git a/net/gkrellmwireless2/Makefile b/net/gkrellmwireless2/Makefile index be8b554ce8ef..4a68f26474c8 100644 --- a/net/gkrellmwireless2/Makefile +++ b/net/gkrellmwireless2/Makefile @@ -14,9 +14,10 @@ BUILD_DEPENDS= ${LOCALBASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkre RUN_DEPENDS= gkrellm:${PORTSDIR}/sysutils/gkrellm2 WRKSRC= ${WRKDIR}/gkrellmwireless - USE_XORG= x11 USES= gmake pkgconfig -NO_STAGE= yes +pre-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/libexec/gkrellm2/plugins + .include diff --git a/net/gkrellmwireless2/files/patch-aa b/net/gkrellmwireless2/files/patch-Makefile similarity index 72% rename from net/gkrellmwireless2/files/patch-aa rename to net/gkrellmwireless2/files/patch-Makefile index 26f3ee173d22..08638380c26f 100644 --- a/net/gkrellmwireless2/files/patch-aa +++ b/net/gkrellmwireless2/files/patch-Makefile @@ -1,5 +1,5 @@ ---- Makefile.orig Fri Dec 6 23:01:13 2002 -+++ Makefile Sun Mar 16 15:12:51 2003 +--- Makefile.orig 2002-12-06 23:01:13.000000000 +0800 ++++ Makefile 2014-06-23 16:05:37.848876850 +0800 @@ -1,33 +1,23 @@ # Depends on gmake.. # @@ -40,3 +40,11 @@ all: wireless.so +@@ -38,6 +28,6 @@ clean: + rm -f *.o core *.so* *.bak *~ + + install : +- $(INSTALL) $(INSTALL_PERMS) wireless.so $(PLUGIN_DIR) ++ $(INSTALL) $(INSTALL_PERMS) wireless.so $(DESTDIR)$(PLUGIN_DIR) + wireless.o: wireless.c +