summaryrefslogtreecommitdiff
path: root/editors/led/Makefile
blob: 8bdc898234e9c87ab57d6208c5d9edf131b9a724 (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
# New ports collection makefile for:	led
# Date created:				6 June 2001
# Whom:					Maxim Sobolev <sobomax@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	led
PORTVERSION=	0.9.2
PORTREVISION=	1
CATEGORIES=	editors
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}-editor

MAINTAINER=	fracture@allusion.net

GNU_CONFIGURE=	yes

MAN1=		led.1
MANCOMPRESSED=	yes

.if !defined(NOPORTDOCS)
PKGMESSAGE=	${WRKDIR}/pkg-message
.else
PKGMESSAGE=	/nonexistant
.endif

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/sample.ledrc ${DOCSDIR}
	@${SED} 's|%%DOCSDIR%%|${DOCSDIR}|g' ${PKGDIR}/pkg-message > \
		${PKGMESSAGE}
	@${CAT} ${PKGMESSAGE}
.endif

.include <bsd.port.mk>