aboutsummaryrefslogtreecommitdiffstats
path: root/converters/bsdconv/Makefile
blob: 679560321845f1f76e0858f44ef6a78c75f2fd45 (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
# New ports collection makefile for:    bsdconv
# Date created:             23 May 2009
# Whom:                 buganini@gmail.com
#
# $FreeBSD$
#

PORTNAME=   bsdconv
PORTVERSION=    5.0
CATEGORIES= converters
MASTER_SITES=   https://github.com/buganini/${PORTNAME}/tarball/${PORTVERSION}/
DISTNAME=   buganini-${PORTNAME}-${PORTVERSION}-0-g${GITVERSION}

MAINTAINER= buganini@gmail.com
COMMENT=    BSD licensed charset/encoding converter library

LICENSE=    BSD

GITVERSION= 6a43b56
FETCH_ARGS= -pRr
WRKSRC=     ${WRKDIR}/buganini-${PORTNAME}-${GITVERSION}

OPTIONS=    EXTRA "Extra codecs (Chinese specifics)" off

USE_LDCONFIG=   yes

MAKE_ARGS=  PREFIX=${PREFIX}

ALL_TARGET= libbsdconv bsdconv_mktable meta bsdconv codecs_basic
INSTALL_TARGET= install_main install_basic

.include <bsd.port.options.mk>

.if defined(WITH_EXTRA)
ALL_TARGET+=    codecs_extra
INSTALL_TARGET+=install_extra
PLIST_SUB=  EXTRA=""
.else
PLIST_SUB=  EXTRA="@comment "
.endif

.include <bsd.port.mk>