mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
fb7c154f95
- Project moved to a new home - update MASTER_SITES and WWW line - Install scripts into ${DATADIR} - Utiltize new SUB_FILES mechanism for pkg-message pattern substitution - Clarify description in pkg-descr Prompted by: pointyhat via kris
42 lines
1018 B
Makefile
42 lines
1018 B
Makefile
# New ports collection makefile for: pymsgauth
|
|
# Date created: 12 Aug 2002
|
|
# Whom: Sergei Kolobov <sergei@kolobov.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= pymsgauth
|
|
PORTVERSION= 2.1.0
|
|
CATEGORIES= mail python
|
|
MASTER_SITES= http://pyropus.ca/software/pymsgauth/
|
|
|
|
MAINTAINER= sergei@FreeBSD.org
|
|
COMMENT= Automatically process qsecretary confirmation requests
|
|
|
|
USE_PYTHON= yes
|
|
USE_REINPLACE= yes
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
DOCS= BUGS CHANGELOG pymsgauth.txt pymsgauth.html
|
|
EXAMPLES= pymsgauthrc-example
|
|
|
|
do-build:
|
|
${REINPLACE_CMD} -e 's,#!/usr/bin/python,#!/usr/bin/env python,' \
|
|
${WRKSRC}/pymsgauth-*
|
|
${RM} ${WRKSRC}/pymsgauth-*.bak
|
|
|
|
do-install:
|
|
@${MKDIR} ${DATADIR}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/*.py ${WRKSRC}/pymsgauth-* ${DATADIR}
|
|
${LN} -sf ${DATADIR}/pymsgauth-* ${PREFIX}/bin
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
|
.endif
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|