components/gettext/Makefile
changeset 166 db8a55996482
child 181 87e11e685b1f
equal deleted inserted replaced
165:111c46cade93 166:db8a55996482
       
     1 #
       
     2 # CDDL HEADER START
       
     3 #
       
     4 # The contents of this file are subject to the terms of the
       
     5 # Common Development and Distribution License (the "License").
       
     6 # You may not use this file except in compliance with the License.
       
     7 #
       
     8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
       
     9 # or http://www.opensolaris.org/os/licensing.
       
    10 # See the License for the specific language governing permissions
       
    11 # and limitations under the License.
       
    12 #
       
    13 # When distributing Covered Code, include this CDDL HEADER in each
       
    14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
       
    15 # If applicable, add the following below this CDDL HEADER, with the
       
    16 # fields enclosed by brackets "[]" replaced with your own identifying
       
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
       
    18 #
       
    19 # CDDL HEADER END
       
    20 #
       
    21 
       
    22 #
       
    23 # Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
       
    24 #
       
    25 
       
    26 include ../../make-rules/shared-macros.mk
       
    27 
       
    28 COMPONENT_NAME=		gettext
       
    29 COMPONENT_VERSION=	0.16.1
       
    30 IPS_PKG_NAME=		text/gnu-gettext
       
    31 COMPONENT_SRC=		$(COMPONENT_NAME)-$(COMPONENT_VERSION)
       
    32 COMPONENT_PROJECT_URL=	http://www.gnu.org/software/gettext/
       
    33 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.gz
       
    34 COMPONENT_ARCHIVE_HASH=	sha1:8642f4346dfd6a18ecd883329e150bfe9e0886c3
       
    35 COMPONENT_ARCHIVE_URL=	http://ftp.gnu.org/pub/gnu/gettext/$(COMPONENT_ARCHIVE)
       
    36 
       
    37 include ../../make-rules/prep.mk
       
    38 include ../../make-rules/configure.mk
       
    39 include ../../make-rules/ips.mk
       
    40 
       
    41 CONFIGURE_OPTIONS  +=		--disable-java
       
    42 CONFIGURE_OPTIONS  +=		--disable-libasprintf
       
    43 CONFIGURE_OPTIONS  +=		--without-emacs
       
    44 CONFIGURE_OPTIONS  +=		--disable-openmp
       
    45 CONFIGURE_OPTIONS  +=		--disable-static
       
    46 CONFIGURE_OPTIONS  +=		--disable-shared
       
    47 CONFIGURE_OPTIONS  +=		CFLAGS="$(CFLAGS)"
       
    48 
       
    49 MAN1PAGES =	autopoint
       
    50 MAN1PAGES +=	envsubst
       
    51 MAN1PAGES +=	gettext
       
    52 MAN1PAGES +=	gettextize
       
    53 MAN1PAGES +=	msgattrib
       
    54 MAN1PAGES +=	msgcat
       
    55 MAN1PAGES +=	msgcmp
       
    56 MAN1PAGES +=	msgcomm
       
    57 MAN1PAGES +=	msgconv
       
    58 MAN1PAGES +=	msgen
       
    59 MAN1PAGES +=	msgexec
       
    60 MAN1PAGES +=	msgfilter
       
    61 MAN1PAGES +=	msgfmt
       
    62 MAN1PAGES +=	msggrep
       
    63 MAN1PAGES +=	msginit
       
    64 MAN1PAGES +=	msgmerge
       
    65 MAN1PAGES +=	msgunfmt
       
    66 MAN1PAGES +=	msguniq
       
    67 MAN1PAGES +=	ngettext
       
    68 MAN1PAGES +=	xgettext
       
    69 
       
    70 COMPONENT_POST_INSTALL_ACTION = \
       
    71 	$(MAN_STABILITY) -n "GNU gettext" -p $(IPS_PKG_NAME) -s Uncommitted \
       
    72 	    $(MAN1PAGES:%=$(PROTOUSRSHAREMAN1DIR)/%.1) ; \
       
    73 
       
    74 include ../../make-rules/shared-targets.mk
       
    75 
       
    76 # common targets
       
    77 build:		$(BUILD_32)
       
    78 
       
    79 install:	$(INSTALL_32)
       
    80 
       
    81 test:		$(TEST_32)
       
    82 
       
    83 BUILD_PKG_DEPENDENCIES =	$(BUILD_TOOLS)
       
    84 
       
    85 include ../../make-rules/depend.mk