blob: 605e7316203963e98b87acd600e2437e79aba6ec (
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
|
# Created by: Pawel Pekala <pawel@FreeBSD.org>
# $FreeBSD$
PORTNAME= wcd
PORTVERSION= 5.2.7
CATEGORIES= shells
MASTER_SITES= SF
MAINTAINER= pawel@FreeBSD.org
COMMENT= Command-line program to change directory fast
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/doc/copying.txt
USES= gmake
MAKE_ARGS= EXT= PREFIX=${PREFIX} docsubdir=${PORTNAME} \
mandir=${PREFIX}/man
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_USES= gettext
.include <bsd.port.options.mk>
.if ! ${PORT_OPTIONS:MNLS}
MAKE_ARGS+= ENABLE_NLS=
.endif
post-patch:
@${REINPLACE_CMD} -e '/manfile/ s|datarootdir|prefix|' \
-e 's|/usr/local|${LOCALBASE}|' \
${WRKSRC}/src/Makefile
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/wcd
.include <bsd.port.mk>
|