diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-07-02 15:52:37 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-07-02 15:52:37 +0000 |
commit | e5b07cd05f96515e021b07047155c0b603a35dd0 (patch) | |
tree | 687ab3563f4aef85f439668ad30381c85c87ee52 /www/mkapachepw | |
parent | 8abdbb16bfffd93adf229d3381d0d6bd1c0b4a50 (diff) |
Stagify.
Approved by: portmgr@ (blanket approval)
Notes
Notes:
svn path=/head/; revision=360211
Diffstat (limited to 'www/mkapachepw')
-rw-r--r-- | www/mkapachepw/Makefile | 11 | ||||
-rw-r--r-- | www/mkapachepw/files/patch-Makefile | 10 | ||||
-rw-r--r-- | www/mkapachepw/pkg-plist | 1 |
3 files changed, 16 insertions, 6 deletions
diff --git a/www/mkapachepw/Makefile b/www/mkapachepw/Makefile index d7544d568e10..6abf313d5ad1 100644 --- a/www/mkapachepw/Makefile +++ b/www/mkapachepw/Makefile @@ -10,16 +10,15 @@ MAINTAINER= mkapachepw@tundraware.com COMMENT= A Group & Password Management Tool For Apache USE_PYTHON= yes +OPTIONS_DEFINE= DOCS -MANCOMPRESSED= yes -MAN1= mkapachepw.1 +.include <bsd.port.options.mk> -NO_STAGE= yes post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} +.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} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} .endfor .endif diff --git a/www/mkapachepw/files/patch-Makefile b/www/mkapachepw/files/patch-Makefile new file mode 100644 index 000000000000..b7c7fd9cb973 --- /dev/null +++ b/www/mkapachepw/files/patch-Makefile @@ -0,0 +1,10 @@ +--- 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 ++ install -c -o root -g wheel -m 500 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 97987f2a4106..934d1c66328d 100644 --- a/www/mkapachepw/pkg-plist +++ b/www/mkapachepw/pkg-plist @@ -1,4 +1,5 @@ bin/mkapachepw.py +man/man1/mkapachepw.1.gz %%PORTDOCS%%%%DOCSDIR%%/WHATSNEW.txt %%PORTDOCS%%%%DOCSDIR%%/mkapachepw-license.txt %%PORTDOCS%%%%DOCSDIR%%/mkapachepw.html |