summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-10-14 13:41:29 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-10-14 13:41:29 +0000
commit0af0ee540dcc91c58e437bc16c33b36fecaa99b4 (patch)
tree58e33cb9e8eba1f40a054da8addd0f6095fa04aa /mail
parent- Do not install yet another copy of GPL (diff)
- Always install sample config file (i.e. even if NOPORTDOCS is defined)
- Do not install yet another copy of GPL - Cleanup Makefile - Sort pkg-plist PR: 44025 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=68036
Diffstat (limited to 'mail')
-rw-r--r--mail/pymsgauth/Makefile16
-rw-r--r--mail/pymsgauth/pkg-plist15
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