diff options
author | crees <crees@FreeBSD.org> | 2013-01-14 00:42:48 +0800 |
---|---|---|
committer | crees <crees@FreeBSD.org> | 2013-01-14 00:42:48 +0800 |
commit | 8b5672d82d7e2bd2c930eaef5f6a0315d76ad35b (patch) | |
tree | 2df09e4d03d5c3aec0ad182f8860bc76eeba1263 /mail/automx | |
parent | 767a11ec99c3989db085d98447b1512b2e44874c (diff) | |
download | freebsd-ports-gnome-8b5672d82d7e2bd2c930eaef5f6a0315d76ad35b.tar.gz freebsd-ports-gnome-8b5672d82d7e2bd2c930eaef5f6a0315d76ad35b.tar.zst freebsd-ports-gnome-8b5672d82d7e2bd2c930eaef5f6a0315d76ad35b.zip |
Fix manpage installation target
Submitted by: jgh
While here, use prefix-safe site-lib for Python libraries
Diffstat (limited to 'mail/automx')
-rw-r--r-- | mail/automx/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/mail/automx/Makefile b/mail/automx/Makefile index 3549baf830d5..2d46e5e2a32b 100644 --- a/mail/automx/Makefile +++ b/mail/automx/Makefile @@ -37,16 +37,15 @@ post-patch: do-install: ${MKDIR} ${DATADIR} - (cd ${WRKSRC}/src && ${COPYTREE_SHARE} ${PORTNAME} ${PYTHON_SITELIBDIR}) + (cd ${WRKSRC}/src && ${COPYTREE_SHARE} ${PORTNAME} ${PYTHONPREFIX_SITELIBDIR}) ${INSTALL_DATA} ${WRKSRC}/src/automx_wsgi.py ${DATADIR} ${INSTALL_SCRIPT} ${WRKSRC}/src/automx-test ${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/src/automx.conf \ ${PREFIX}/etc/automx.conf.sample -.for m in ${MAN1} - ${INSTALL_MAN} ${WRKSRC}/doc/man/man1/$m ${MAN5PREFIX}/man/man1 -.endfor -.for m in ${MAN5} - ${INSTALL_MAN} ${WRKSRC}/doc/man/man5/$m ${MAN5PREFIX}/man/man5 +.for s in 1 5 +. for m in ${MAN$s} + ${INSTALL_MAN} ${WRKSRC}/doc/man/man$s/$m ${MAN$sPREFIX}/man/man$s +. endfor .endfor .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} |