1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
Approved by:	portmgr@ (blanket approval)
This commit is contained in:
Vanilla I. Shu 2014-06-24 15:42:43 +00:00
parent 9286d09604
commit d5dd9713b5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359100
2 changed files with 15 additions and 1 deletions

View File

@ -16,5 +16,4 @@ LICENSE= BSD2CLAUSE
PLIST_FILES= bin/portsearch %%DATADIR%%/Makefile
PLIST_DIRS= %%DATADIR%%
NO_STAGE= yes
.include <bsd.port.mk>

View File

@ -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"