aboutsummaryrefslogtreecommitdiff
path: root/www/mkapachepw
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-06-07 17:11:20 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-06-07 17:11:20 +0000
commit2951c316916eaf3a3f191d19bd7f3b47e9d480e2 (patch)
treedae2afdd37b9b9473659024eb5a8a17b4f40e837 /www/mkapachepw
parent46b61cc9162fb3863829b1de60ef73fe1e448e42 (diff)
downloadports-2951c316916eaf3a3f191d19bd7f3b47e9d480e2.tar.gz
ports-2951c316916eaf3a3f191d19bd7f3b47e9d480e2.zip
Notes
Diffstat (limited to 'www/mkapachepw')
-rw-r--r--www/mkapachepw/Makefile6
-rw-r--r--www/mkapachepw/files/patch-Makefile2
-rw-r--r--www/mkapachepw/pkg-plist1
3 files changed, 3 insertions, 6 deletions
diff --git a/www/mkapachepw/Makefile b/www/mkapachepw/Makefile
index d0ac4c95ae84..4e5c40dc25e2 100644
--- a/www/mkapachepw/Makefile
+++ b/www/mkapachepw/Makefile
@@ -10,16 +10,14 @@ MAINTAINER= mkapachepw@tundraware.com
COMMENT= Group & Password Management Tool For Apache
USES= python
-OPTIONS_DEFINE= DOCS
+NO_ARCH= yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DOCS
post-install:
-.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in WHATSNEW.txt mkapachepw-license.txt mkapachepw.html mkapachepw.pdf mkapachepw.ps mkapachepw.txt
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>
diff --git a/www/mkapachepw/files/patch-Makefile b/www/mkapachepw/files/patch-Makefile
index b7c7fd9cb973..61466c843d56 100644
--- a/www/mkapachepw/files/patch-Makefile
+++ b/www/mkapachepw/files/patch-Makefile
@@ -6,5 +6,5 @@
install:
- install -c -o root -g wheel -m 500 mkapachepw.py ${PREFIX}/bin
- ${BSD_INSTALL_MAN} mkapachepw.1.gz ${PREFIX}/man/man1
-+ install -c -o root -g wheel -m 500 mkapachepw.py $(DESTDIR)${PREFIX}/bin
++ ${BSD_INSTALL_SCRIPT} mkapachepw.py $(DESTDIR)${PREFIX}/bin
+ ${BSD_INSTALL_MAN} mkapachepw.1.gz $(DESTDIR)${PREFIX}/man/man1
diff --git a/www/mkapachepw/pkg-plist b/www/mkapachepw/pkg-plist
index 934d1c66328d..70e2ae64f757 100644
--- a/www/mkapachepw/pkg-plist
+++ b/www/mkapachepw/pkg-plist
@@ -6,4 +6,3 @@ man/man1/mkapachepw.1.gz
%%PORTDOCS%%%%DOCSDIR%%/mkapachepw.pdf
%%PORTDOCS%%%%DOCSDIR%%/mkapachepw.ps
%%PORTDOCS%%%%DOCSDIR%%/mkapachepw.txt
-%%PORTDOCS%%@dirrm %%DOCSDIR%%