2012-10-08 18:12:07 +02:00
|
|
|
# Created by: buganini@gmail.com
|
2009-06-06 00:10:00 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= bsdconv
|
2013-09-21 17:41:48 +02:00
|
|
|
PORTVERSION= 11.1
|
2009-06-06 00:10:00 +02:00
|
|
|
CATEGORIES= converters
|
2012-10-10 14:33:35 +02:00
|
|
|
DISTNAME= ${GH_ACCOUNT}-${GH_PROJECT}-${PORTVERSION}-0-g${GH_COMMIT}
|
2009-06-06 00:10:00 +02:00
|
|
|
|
|
|
|
MAINTAINER= buganini@gmail.com
|
|
|
|
COMMENT= BSD licensed charset/encoding converter library
|
|
|
|
|
2011-04-26 20:19:19 +02:00
|
|
|
LICENSE= BSD
|
|
|
|
|
2012-10-08 18:12:07 +02:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= buganini
|
2013-09-21 17:41:48 +02:00
|
|
|
GH_COMMIT= 8ccd7e3
|
2011-04-26 20:19:19 +02:00
|
|
|
|
2013-03-12 12:40:45 +01:00
|
|
|
OPTIONS_DEFINE= CHINESE EBCDIC
|
|
|
|
CHINESE_DESC= Extra Chinese codecs
|
|
|
|
EBCDIC_DESC= EBCDIC codecs
|
2011-04-26 20:19:19 +02:00
|
|
|
|
2009-06-06 00:10:00 +02:00
|
|
|
USE_LDCONFIG= yes
|
2009-09-15 15:05:40 +02:00
|
|
|
|
|
|
|
MAKE_ARGS= PREFIX=${PREFIX}
|
2009-06-06 00:10:00 +02:00
|
|
|
|
2013-05-02 01:11:37 +02:00
|
|
|
ALL_TARGET= libbsdconv bsdconv-mktable meta bsdconv-man bsdconv-completion bsdconv codecs_basic
|
2011-10-26 20:28:47 +02:00
|
|
|
INSTALL_TARGET= installdir install_main install_basic
|
2011-04-26 20:19:19 +02:00
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
2009-10-14 16:20:27 +02:00
|
|
|
|
2013-03-12 12:40:45 +01:00
|
|
|
.if ${PORT_OPTIONS:MCHINESE}
|
|
|
|
ALL_TARGET+= codecs_chinese
|
|
|
|
INSTALL_TARGET+=install_chinese
|
|
|
|
PLIST_SUB+= CHINESE=""
|
2011-04-26 20:19:19 +02:00
|
|
|
.else
|
2013-03-12 12:40:45 +01:00
|
|
|
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 "
|
2011-04-26 20:19:19 +02:00
|
|
|
.endif
|
2009-10-14 16:20:27 +02:00
|
|
|
|
2011-10-26 20:28:47 +02:00
|
|
|
pre-install:
|
2014-05-15 17:52:10 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${DATADIR}/ ${STAGEDIR}${DATADIR}/from/ ${STAGEDIR}${DATADIR}/inter/ ${STAGEDIR}${DATADIR}/to/
|
2011-10-26 20:28:47 +02:00
|
|
|
|
2011-04-26 20:19:19 +02:00
|
|
|
.include <bsd.port.mk>
|