54a0b86543
in bsd.autotools.mk essentially makes this a no-op given that all the old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in exactly the same way as USE_AUTOTOOLS itself. Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME team -- all GNOME 2.12.x ports use it. Preliminary documentation can be found at: http://people.FreeBSD.org/~ade/autotools.txt which is in the process of being SGMLized before introduction into the Porters Handbook. Light blue touch-paper. Run.
43 lines
951 B
Makefile
43 lines
951 B
Makefile
# New ports collection makefile for: libgpg-error
|
|
# Date created: 2003-10-12
|
|
# Whom: Sergei Kolobov <sergei@kolobov.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libgpg-error
|
|
PORTVERSION= 1.1
|
|
CATEGORIES= security devel
|
|
MASTER_SITES= ${MASTER_SITE_GNUPG}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= sergei@FreeBSD.org
|
|
COMMENT= Common error values for all GnuPG components
|
|
|
|
USE_GPG= yes
|
|
SIG_SUFFIX= .sig
|
|
USE_AUTOTOOLS= libtool:15:inc
|
|
INSTALLS_SHLIB= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
|
|
.if defined(WITHOUT_NLS)
|
|
CONFIGURE_ARGS= --without-nls
|
|
PLIST_SUB= NLS="@comment "
|
|
.else
|
|
USE_ICONV= yes
|
|
USE_GETTEXT= yes
|
|
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
|
|
--with-libintl-prefix=${LOCALBASE}
|
|
PLIST_SUB= NLS=""
|
|
.endif
|
|
|
|
DOCS= AUTHORS ChangeLog NEWS README
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
post-install:
|
|
@${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|