summaryrefslogtreecommitdiff
path: root/time/ical2rem/Makefile
blob: 26995515626d1c9909c17d46595438a683a628b6 (plain)
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
# $NetBSD: Makefile,v 1.2 2012/10/03 21:58:17 wiz Exp $
#

DISTNAME=	ical2rem.pl
PKGNAME=	ical2rem-0.5.2
PKGREVISION=	1
CATEGORIES=	time
MASTER_SITES=	http://jalcorn.net/
EXTRACT_SUFX=	.txt

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://jalcorn.net/
COMMENT=	Convert iCal files to remind format
LICENSE=	gnu-gpl-v2

DEPENDS+=	p5-iCal-Parser-[0-9]*:../../textproc/p5-iCal-Parser

PKG_DESTDIR_SUPPORT=	user-destdir
INSTALLATION_DIRS=	bin

EXTRACT_ONLY=	# empty

DIST_SUBDIR=	${PKGNAME_NOREV}
WRKSRC=		${WRKDIR}
USE_LANGUAGES=	# none

USE_TOOLS+=	perl:run
REPLACE_PERL=	ical2rem

do-extract:
	cp ${DISTDIR}/${DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX} \
		${WRKSRC}/ical2rem

do-build:
	# nothing

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/ical2rem ${DESTDIR}${PREFIX}/bin

.include "../../mk/bsd.pkg.mk"