mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
b5ac288585
Approved by: krion
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# New ports collection makefile for: pymsgauth
|
|
# Date created: 12 Aug 2002
|
|
# Whom: Sergei Kolobov <sergei@kolobov.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pymsgauth
|
|
PORTVERSION= 2.0.0
|
|
CATEGORIES= mail python
|
|
MASTER_SITES= http://www.qcc.ca/~charlesc/software/pymsgauth/
|
|
|
|
MAINTAINER= sergei@FreeBSD.org
|
|
COMMENT= Automatically process qsecretary confirmation requests
|
|
|
|
USE_PYTHON= yes
|
|
USE_REINPLACE= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
DOCS= BUGS CHANGELOG pymsgauth.txt pymsgauth.html
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's,/usr/bin/python,${PYTHON_CMD},' \
|
|
${WRKSRC}/pymsgauth-*
|
|
${RM} ${WRKSRC}/pymsgauth-*.bak
|
|
|
|
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} ${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}
|
|
|
|
.include <bsd.port.mk>
|