blob: de4f4e3ae2603a1294bb6506431cc1b6fa91ba2b (
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
# Created by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
# $FreeBSD$
PORTNAME= hoz
PORTVERSION= 1.65
PORTREVISION= 7
CATEGORIES= sysutils
MASTER_SITES= SF/${PORTNAME}/OldFiles
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//}
MAINTAINER= acm@FreeBSD.org
COMMENT= File splitter, GTK and CLI versions
USE_GNOME= #
USES= gmake pkgconfig
PORTDOCS= README
OPTIONS_DEFINE= CLI GTK2 LANG_ES LANG_EN LANG_FR
OPTIONS_DEFAULT= CLI GTK2 LANG_EN
LANG_EN_DESC= language support
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MGTK2}
USE_GNOME+= gtk20
.endif
.if ! ${PORT_OPTIONS:MCLI}
ALL_TARGET= gtk
.else
PLIST_FILES+= bin/hoz
.endif
.if ! ${PORT_OPTIONS:MGTK2}
ALL_TARGET= cli
.else
PLIST_FILES+= bin/ghoz
.endif
.if ${PORT_OPTIONS:MLANG_ES}
MAKE_ENV+= LANG="-DHOZ_LANG_ES"
.endif
.if ${PORT_OPTIONS:MLANG_EN}
MAKE_ENV+= LANG="-DHOZ_LANG_EN"
.endif
.if ${PORT_OPTIONS:MLANG_FR}
MAKE_ENV+= LANG="-DHOZ_LANG_FR"
.endif
do-install:
.if ${PORT_OPTIONS:MCLI}
${INSTALL_PROGRAM} ${WRKSRC}/hoz ${PREFIX}/bin
.endif
.if ${PORT_OPTIONS:MGTK2}
${INSTALL_PROGRAM} ${WRKSRC}/ghoz ${PREFIX}/bin
.endif
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>
|