blob: 00939aa18a74d5cf93a984667e7e6207552b945f (
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
50
51
|
# Ports collection makefile for: calcurse
# Date created: Nov 1, 2005
# Whom: Herbert J. Skuhra <h.skuhra@gmail.com>
#
# $FreeBSD$
#
PORTNAME= calcurse
PORTVERSION= 3.0.0
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
OPTIONS_DEFINE= DOCS NLS
CONFIGURE_ARGS= --without-asciidoc
GNU_CONFIGURE= yes
USE_GMAKE= yes
MAN1= calcurse.1
.include <bsd.port.options.mk>
.if empty(PORT_OPTIONS:MDOCS)
CONFIGURE_ARGS+= --disable-docs
.endif
.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
PLIST_SUB+= NLS="@comment "
.endif
post-patch:
.if ${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e 's|^docdir = .*|docdir = ${DOCSDIR}|' ${WRKSRC}/doc/Makefile.in
.endif
post-install:
.if empty(PORT_OPTIONS:MDOCS)
cd ${WRKSRC}/doc/ && ${INSTALL_MAN} ${MAN1} ${MAN1PREFIX}/man/man1/
.endif
.include <bsd.port.mk>
|