diff options
Diffstat (limited to 'mail/pymsgauth')
-rw-r--r-- | mail/pymsgauth/Makefile | 16 | ||||
-rw-r--r-- | mail/pymsgauth/pkg-plist | 15 |
2 files changed, 15 insertions, 16 deletions
diff --git a/mail/pymsgauth/Makefile b/mail/pymsgauth/Makefile index 2dfc54983fb7..0b735a8fe975 100644 --- a/mail/pymsgauth/Makefile +++ b/mail/pymsgauth/Makefile @@ -17,7 +17,7 @@ USE_REINPLACE= yes NO_BUILD= yes -DOCS= BUGS CHANGELOG COPYING pymsgauth.txt pymsgauth.html +DOCS= BUGS CHANGELOG pymsgauth.txt pymsgauth.html post-patch: ${REINPLACE_CMD} -e 's,/usr/bin/python,${PYTHON_CMD},' \ @@ -28,16 +28,14 @@ do-install: ${INSTALL_SCRIPT} ${WRKSRC}/pymsgauth-* ${PYTHON_SITELIBDIR} ${LN} -sf ${PYTHON_SITELIBDIR}/pymsgauth-* ${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/*.py ${PYTHON_SITELIBDIR} - .if !defined(NOPORTDOCS) - ${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKSRC}/pymsgauthrc-example ${EXAMPLESDIR} - - ${MKDIR} ${DOCSDIR} -.for f in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} + @${MKDIR} ${DOCSDIR} +.for file in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} .endfor .endif + @${MKDIR} ${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/pymsgauthrc-example ${EXAMPLESDIR} + @${SED} -e 's,__EXAMPLES__,${EXAMPLESDIR},' ${PKGMESSAGE} - @${CAT} ${PKGMESSAGE} | ${SED} -e 's,__EXAMPLES__,${EXAMPLESDIR},' .include <bsd.port.mk> diff --git a/mail/pymsgauth/pkg-plist b/mail/pymsgauth/pkg-plist index 6a78fca7481a..47c5e8e3bed0 100644 --- a/mail/pymsgauth/pkg-plist +++ b/mail/pymsgauth/pkg-plist @@ -1,14 +1,15 @@ bin/pymsgauth-clean bin/pymsgauth-confirm bin/pymsgauth-mail -share/doc/pymsgauth/BUGS -share/doc/pymsgauth/CHANGELOG -share/doc/pymsgauth/COPYING -share/doc/pymsgauth/pymsgauth.html -share/doc/pymsgauth/pymsgauth.txt -share/examples/pymsgauth/pymsgauthrc-example %%PYTHON_SITELIBDIR%%/ConfParser.py -%%PYTHON_SITELIBDIR%%/pymsgauth-mail %%PYTHON_SITELIBDIR%%/pymsgauth.py %%PYTHON_SITELIBDIR%%/pymsgauth-clean %%PYTHON_SITELIBDIR%%/pymsgauth-confirm +%%PYTHON_SITELIBDIR%%/pymsgauth-mail +%%PORTDOCS%%share/doc/pymsgauth/BUGS +%%PORTDOCS%%share/doc/pymsgauth/CHANGELOG +%%PORTDOCS%%share/doc/pymsgauth/pymsgauth.html +%%PORTDOCS%%share/doc/pymsgauth/pymsgauth.txt +%%PORTDOCS%%@dirrm share/doc/pymsgauth +share/examples/pymsgauth/pymsgauthrc-example +@dirrm share/examples/pymsgauth |