aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-06-24 15:42:43 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-06-24 15:42:43 +0000
commitd5dd9713b5e52778cf31cd9f4b66fa453bc60b2f (patch)
tree8bfb9b00c81a64a43482d7df3d736019c99e7eb1 /ports-mgmt
parent9286d096046c7675147cde5456b244a66db9f18c (diff)
downloadports-d5dd9713b5e52778cf31cd9f4b66fa453bc60b2f.tar.gz
ports-d5dd9713b5e52778cf31cd9f4b66fa453bc60b2f.zip
Notes
Diffstat (limited to 'ports-mgmt')
-rw-r--r--ports-mgmt/portsearch/Makefile1
-rw-r--r--ports-mgmt/portsearch/files/patch-Makefile15
2 files changed, 15 insertions, 1 deletions
diff --git a/ports-mgmt/portsearch/Makefile b/ports-mgmt/portsearch/Makefile
index 8d00bc737cd9..34a29be6e326 100644
--- a/ports-mgmt/portsearch/Makefile
+++ b/ports-mgmt/portsearch/Makefile
@@ -16,5 +16,4 @@ LICENSE= BSD2CLAUSE
PLIST_FILES= bin/portsearch %%DATADIR%%/Makefile
PLIST_DIRS= %%DATADIR%%
-NO_STAGE= yes
.include <bsd.port.mk>
diff --git a/ports-mgmt/portsearch/files/patch-Makefile b/ports-mgmt/portsearch/files/patch-Makefile
new file mode 100644
index 000000000000..6befe47b3426
--- /dev/null
+++ b/ports-mgmt/portsearch/files/patch-Makefile
@@ -0,0 +1,15 @@
+--- Makefile.orig 2014-06-24 23:40:10.656628805 +0800
++++ Makefile 2014-06-24 23:40:32.926628413 +0800
+@@ -15,9 +15,9 @@ ${target}:
+ all: build
+
+ install: build
+- ${INSTALL_PROGRAM} src/portsearch ${PREFIX}/bin/
+- ${MKDIR} ${DATADIR}
+- ${INSTALL_DATA} Mk/Makefile ${DATADIR}/
++ ${INSTALL_PROGRAM} src/portsearch $(DESTDIR)${PREFIX}/bin/
++ ${MKDIR} $(DESTDIR)${DATADIR}
++ ${INSTALL_DATA} Mk/Makefile $(DESTDIR)${DATADIR}/
+
+ .include "Makefile.var"
+