ports/www/mkapachepw/files/patch-Makefile
Dmitry Marakasov 2951c31691 - Add NO_ARCH
- Simplify docs installation
- Fix script installation, allowing package creating as plain user
- Drop @dirrm* from plist

Approved by:	portmgr blanket
2015-06-07 17:11:20 +00:00

10 lines
438 B
Text

--- Makefile.orig 2014-07-02 23:49:40.260474835 +0800
+++ Makefile 2014-07-02 23:49:58.526475874 +0800
@@ -4,5 +4,5 @@
all: # Do nothing - this is a python program
install:
- install -c -o root -g wheel -m 500 mkapachepw.py ${PREFIX}/bin
- ${BSD_INSTALL_MAN} mkapachepw.1.gz ${PREFIX}/man/man1
+ ${BSD_INSTALL_SCRIPT} mkapachepw.py $(DESTDIR)${PREFIX}/bin
+ ${BSD_INSTALL_MAN} mkapachepw.1.gz $(DESTDIR)${PREFIX}/man/man1