summaryrefslogtreecommitdiff
path: root/ports-mgmt/newportsversioncheck/Makefile
blob: 359881bafd3e75171b2169c90e5169e83a9c9d4e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# New ports collection makefile for:	newportsversioncheck
# Date created:				12 October 2005
# Whom:					Edwin Groothuis <edwin@mavetju.org>
#
# $FreeBSD$
#

PORTNAME=	newportsversioncheck
PORTVERSION=	1.3
PORTREVISION=	1
CATEGORIES=	sysutils
MASTER_SITES=	http://www.mavetju.org/download/

MAINTAINER=	edwin@mavetju.org
COMMENT=	Ports new version checker

RUN_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/DBD/SQLite.pm:${PORTSDIR}/databases/p5-DBD-SQLite \
		${SITE_PERL}/MIME/Lite.pm:${PORTSDIR}/mail/p5-MIME-Lite \
		${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww

USE_PERL5_RUN=	yes
USE_SQLITE=	yes
NO_BUILD=	yes
SUB_FILES=	pkg-message
PKGMESSAGE=	${WRKDIR}/pkg-message

do-install:
	${MKDIR} ${PREFIX}/newportsversioncheck/bin
.for f in apply_restrictions.pl check_data.pl check_find_new_versions.sh delete_dupes.pl filter_ports_alreadychecked.pl find_new_versions.pl find_new_versions.sh init_db.sh mail_maintainers.pl make_html.pl maketarball.sh manage_restriction.pl restart_database.pl README CHANGES
	${INSTALL_SCRIPT} ${WRKDIR}/newportsversioncheck/bin/${f} ${PREFIX}/newportsversioncheck/bin
.endfor

	${MKDIR} ${PREFIX}/newportsversioncheck/etc
.for f in email_footer.txt email_header.txt
	${INSTALL_DATA} ${WRKDIR}/newportsversioncheck/etc/${f} ${PREFIX}/newportsversioncheck/etc
.endfor

post-install:
	${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>