# New ports collection makefile for: libidn # Date created: 19.06.2003 # Whom: Kirill Ponomarew # # $FreeBSD$ # PORTNAME= libidn PORTVERSION= 0.4.2 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNU_ALPHA} \ http://josefsson.org/libidn/releases/ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= krion@FreeBSD.org COMMENT= Internationalized Domain Names command line tool BUILD_DEPENDS= gengetopt:${PORTSDIR}/devel/gengetopt USE_GETOPT_LONG= yes USE_GETTEXT= yes USE_GNOME= gnomehack USE_ICONV= yes USE_LIBTOOL_VER= 13 USE_PERL5_BUILD= yes USE_REINPLACE= yes INSTALLS_SHLIB= yes GNU_CONFIGURE= yes CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL} CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" INFO= libidn .if exists(${LOCALBASE}/bin/emacs) PLIST_SUB+= EMACS="" EMACSDIR=share/emacs .elif exists(${LOCALBASE}/bin/xemacs) PLIST_SUB+= EMACS="" EMACSDIR=lib/xemacs .else PLIST_SUB+= EMACS="@comment " EMACSDIR="" .endif post-patch: @${REINPLACE_CMD} -e 's|@image{components}||g' \ ${WRKSRC}/doc/libidn.texi post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} .for i in README FAQ ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} .endfor .endif .include "Makefile.man" .include