# Created by: buganini@gmail.com # $FreeBSD$ PORTNAME= bsdconv PORTVERSION= 10.0 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= d4bd6ac 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-man bsdconv-completion bsdconv codecs_basic INSTALL_TARGET= installdir install_main install_basic NO_STAGE= yes .include .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