blob: 90a1dd14293678744bf9f25dddbe999e247ef88e (
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
42
43
44
45
46
47
48
49
|
# Ports collection makefile for: calcurse
# Date created: Nov 1, 2005
# Whom: Herbert J. Skuhra <h.skuhra@gmail.com>
#
# $FreeBSD$
PORTNAME= calcurse
PORTVERSION= 2.9.2
CATEGORIES= deskutils
MASTER_SITES= http://calcurse.org/files/ \
ftp://ftp2.culot.org/culot/
MAINTAINER= culot@FreeBSD.org
COMMENT= A text-based calendar and scheduling application
LICENSE= BSD
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-asciidoc
MAN1= calcurse.1
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.else
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
post-patch:
.if !defined(NOPORTDOCS)
${REINPLACE_CMD} -e \
's|^docdir = .*|docdir = ${DOCSDIR}|' \
${WRKSRC}/doc/Makefile.in
.else
CONFIGURE_ARGS+= --disable-docs
.endif
post-install:
.if defined(NOPORTDOCS)
.for file in ${MAN1}
@${INSTALL_MAN} ${WRKSRC}/doc/${file} ${MANPREFIX}/man/man1
.endfor
.endif
.include <bsd.port.mk>
|