Allow staging as a regular user

This commit is contained in:
Antoine Brodin 2014-09-06 13:13:25 +00:00
parent ee26bb300a
commit fbcf2dd2ce
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=367428

View file

@ -7,9 +7,9 @@
- ${INSTALL_PROGRAM} src/portsearch ${PREFIX}/bin/
- ${MKDIR} ${DATADIR}
- ${INSTALL_DATA} Mk/Makefile ${DATADIR}/
+ ${INSTALL_PROGRAM} src/portsearch $(DESTDIR)${PREFIX}/bin/
+ ${BSD_INSTALL_PROGRAM} src/portsearch $(DESTDIR)${PREFIX}/bin/
+ ${MKDIR} $(DESTDIR)${DATADIR}
+ ${INSTALL_DATA} Mk/Makefile $(DESTDIR)${DATADIR}/
+ ${BSD_INSTALL_DATA} Mk/Makefile $(DESTDIR)${DATADIR}/
.include "Makefile.var"