blob: 7edc792707a50e8a8a3e3d189ca45cab2e7548d2 (
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
|
# Created by: buganini@gmail.com
# $FreeBSD$
PORTNAME= bsdconv
PORTVERSION= 9.1
CATEGORIES= converters
DISTNAME= ${GH_ACCOUNT}-${GH_PROJECT}-${PORTVERSION}-0-g${GH_COMMIT}
MAINTAINER= buganini@gmail.com
COMMENT= BSD licensed charset/encoding converter library
LICENSE= BSD
USE_GITHUB= yes
GH_ACCOUNT= buganini
GH_COMMIT= 24b9f01
OPTIONS_DEFINE= CHINESE EBCDIC
CHINESE_DESC= Extra Chinese codecs
EBCDIC_DESC= EBCDIC codecs
USE_LDCONFIG= yes
MAKE_ARGS= PREFIX=${PREFIX}
ALL_TARGET= libbsdconv bsdconv_mktable meta bsdconv_completion bsdconv codecs_basic
INSTALL_TARGET= installdir install_main install_basic
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCHINESE}
ALL_TARGET+= codecs_chinese
INSTALL_TARGET+=install_chinese
PLIST_SUB+= CHINESE=""
.else
PLIST_SUB+= CHINESE="@comment "
.endif
.if ${PORT_OPTIONS:MEBCDIC}
ALL_TARGET+= codecs_ebcdic
INSTALL_TARGET+=install_ebcdic
PLIST_SUB+= EBCDIC=""
.else
PLIST_SUB+= EBCDIC="@comment "
.endif
pre-install:
${MKDIR} ${DATADIR}/ ${DATADIR}/from/ ${DATADIR}/inter/ ${DATADIR}/to/
.include <bsd.port.mk>
|