aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gnustep-libobjc/Makefile
blob: 5340138822b73bc51acd9a129935e282b45fc4f7 (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
# New ports collection makefile for:    libobjc2
# Date created:         06 Octil 2010
# Whom:                 dirk.meyer@dinoex.sub.org
#
# $FreeBSD$
#

PORTNAME=   libobjc2
PORTVERSION=    1.1.1
CATEGORIES= lang devel gnustep
MASTER_SITES=   http://download.gna.org/gnustep/
PKGNAMEPREFIX=  gnustep-

MAINTAINER= dinoex@FreeBSD.org
COMMENT=    GNUstep Objective-C runtime for GCC and LLVM

LICENSE=    MIT

USE_BZIP2=  yes
USE_GNUSTEP=    yes
USE_GNUSTEP_BUILD=  yes
USE_GNUSTEP_INSTALL=    yes
GNUSTEP_WITHOUT_LIBOBJC=    yes
USE_GNUSTEP_LDCONFIG=   ${GNUSTEP_SYSTEM_LIBRARIES}

WRKSRC=     ${WRKDIR}/${PORTNAME}
MAKE_ENV+=  GNUSTEP_INSTALLATION_DOMAIN=SYSTEM
DEFAULT_LIBVERSION= 5

post-patch:
    ${REINPLACE_CMD} -e 's|libobjc_VERSION = 4|libobjc_VERSION = ${DEFAULT_LIBVERSION}|' \
        ${WRKSRC}/GNUmakefile

.include <bsd.port.mk>