blob: 7be6722e5b7bddae91aeaead2acda823d134075c (
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
|
# Created by: Tommy Scheunemann <net@arrishq.org>
# $FreeBSD$
PORTNAME= wmconfig
PORTVERSION= 1.3.8
CATEGORIES= x11-wm
MASTER_SITES= http://www.arrishq.net/files/
MAINTAINER= net@arrishq.net
COMMENT= Menu generation tool for X window managers
LICENSE= GPLv2
USE_BZIP2= yes
GNU_CONFIGURE= yes
MAN1= wmconfig.1x
PORTDOCS= AUTHORS ChangeLog COPYING README TODO
OPTIONS_DEFINE= NLS DOCS
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
CONFIGURE_ARGS+=--enable-nls
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
|