summaryrefslogtreecommitdiff
path: root/deskutils/when/Makefile
blob: d368e6ea88221596709569f60e02e282a856d6dc (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
# New ports collection makefile for:	when
# Date created:		1 May 2006
# Whom:			Andrew Pantyukhin <infofarmer@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	when
PORTVERSION=	1.1.12
CATEGORIES=	deskutils
MASTER_SITES=	CENKES

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A very simple personal calendar

USE_BZIP2=	yes
USE_PERL5_RUN=	yes
NO_BUILD=	yes
PLIST_FILES=	bin/${PORTNAME}
MAN1=		${PORTNAME}.1

do-install:
	@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
	@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1/

make-dist:
	@${RM} -rf ${WRKDIR};${MKDIR} ${WRKDIR};cd ${WRKDIR};\
	${FETCH_CMD} http://www.lightandmatter.com/when/when.tar.gz;\
	${TAR} xf when.tar.gz;${MV} when_dist ${DISTNAME};\
	${RM} -Rf ${DISTNAME}/debian_stuff/;\
	${TAR} cjvf ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}

.include <bsd.port.mk>