svn commit: r462313 - head/www/mkapachepw

Dmitry Marakasov amdmi3 at FreeBSD.org
Mon Feb 19 12:50:31 UTC 2018


Author: amdmi3
Date: Mon Feb 19 12:50:30 2018
New Revision: 462313
URL: https://svnweb.freebsd.org/changeset/ports/462313

Log:
  - Fix shebangs
  - Switch to options helpers
  - Limit python version
  
  Approved by:	portmgr blanket

Modified:
  head/www/mkapachepw/Makefile

Modified: head/www/mkapachepw/Makefile
==============================================================================
--- head/www/mkapachepw/Makefile	Mon Feb 19 12:41:09 2018	(r462312)
+++ head/www/mkapachepw/Makefile	Mon Feb 19 12:50:30 2018	(r462313)
@@ -3,19 +3,22 @@
 
 PORTNAME=	mkapachepw
 PORTVERSION=	1.121
+PORTREVISION=	1
 CATEGORIES=	www
 MASTER_SITES=	http://www.tundraware.com/Software/mkapachepw/
 
 MAINTAINER=	mkapachepw at tundraware.com
 COMMENT=	Group & Password Management Tool For Apache
 
-USES=		python
+USES=		python:2.7,run shebangfix
+SHEBANG_FILES=	mkapachepw.py
+NO_BUILD=	yes
 NO_ARCH=	yes
 
 OPTIONS_DEFINE=	DOCS
 
-post-install:
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
+post-install-DOCS-on:
+	@${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


More information about the svn-ports-head mailing list