1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- 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
This commit is contained in:
Ying-Chieh Liao 2002-10-14 13:41:29 +00:00
parent e1d34f39c4
commit 0af0ee540d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68036
2 changed files with 15 additions and 16 deletions

View File

@ -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>

View File

@ -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