mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-06 06:30:19 +00:00
feaba1c5d8
- Install script via port's Makefile instead of USE_PYDISTUTILS - Manual page is no longer included in the distribution; building it from SGML source requires Jade and docbook2man; in order to avoid adding quite heavy dependecies for this simple utility, we now install SGML and associated Makefile to DOCSDIR for those who want to build the man page manually
33 lines
821 B
Makefile
33 lines
821 B
Makefile
# New ports collection makefile for: archivemail
|
|
# Date created: 2002/04/02
|
|
# Whom: Alan Eldridge <alane@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= archivemail
|
|
PORTVERSION= 0.6.2
|
|
CATEGORIES= mail
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= sergei@FreeBSD.org
|
|
COMMENT= Search mailbox files and archive or delete mail older than N days
|
|
|
|
USE_PYTHON= yes
|
|
NO_BUILD= yes
|
|
|
|
DOCS= CHANGELOG FAQ Makefile README TODO archivemail.sgml
|
|
EXAMPLES= test_archivemail.py examples/archivemail_all
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/archivemail.py ${PREFIX}/bin/archivemail
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${EXAMPLES} ${EXAMPLESDIR}
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|