mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
e244b8bccc
${MACHINE_ARCH}--freebsd${OSREL} is now passed to CONFIGURE_ARGS if GNU_CONFIGURE is defined. Take the target out of CONFIGURE_ARGS of some ports that added it explicitly; define it as ${MACHINE_ARCH}--freebsd if the port doesn't like the ${OSREL} part; define it as something else (such as ${MACHINE_ARCH}--freebsdelf if the port requires that; define it as an empty string if the port doesn't like it at all. The last might be a sign that a GNU_CONFIGURE port actually doesn't use GNU's version of configure at all; but I don't have time to go look at them all, we'll fix them as time goes on. At least we've got much fewer "-unknown-"s in the tree as the result. :)
30 lines
764 B
Makefile
30 lines
764 B
Makefile
# New ports collection makefile for: gettext
|
|
# Version required: 0.10.35
|
|
# Date created: 16 March 1998
|
|
# Whom: Yukihiro Nakai <Nakai@technologist.com>
|
|
#
|
|
# $Id: Makefile,v 1.6 1999/01/12 16:50:26 vanilla Exp $
|
|
#
|
|
|
|
DISTNAME= gettext-0.10.35
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ftp://alpha.gnu.ai.mit.edu/gnu/
|
|
|
|
MAINTAINER= nacai@iname.com
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-gnu-gettext
|
|
|
|
pre-configure:
|
|
${RM} ${WRKSRC}/doc/gettext.info*
|
|
|
|
post-install:
|
|
@if [ ! -f ${PREFIX}/info/dir ]; then \
|
|
${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
|
|
fi
|
|
@install-info ${PREFIX}/info/gettext.info ${PREFIX}/info/dir
|
|
${INSTALL_DATA} ${WRKSRC}/misc/po-mode.el \
|
|
${PREFIX}/share/gettext/po-mode.el
|
|
|
|
.include <bsd.port.mk>
|