1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-25 21:07:40 +00:00
freebsd-ports/textproc/xerces-c/Makefile
Bill Fumerola 343542edf9 update to 1.7.0 and fix some bugs both in the previous port and in the
xerces codebase itself.

although this commit is a combination of all three PRs, i didn't take
every PR verbatim (and left out some smaller parts of the first two PRs).
any mistakes in the merging of these PRs is mine and if the original
submitters would like to generate diffs after this commit, i'll look at
those as well.

Gregory Bond gets credit for spotting some particularly nasty problems
in the old port. Remember folks, just because it compiles doesn't mean
it works..

PR:		ports/36248, ports/37016, ports/37619
Submitted by:	Hidekazu Kuroki <hidekazu@pc88.gr.jp>,
		Daniel Lang <dl@leo.org>,
		Gregory Bond <gnb@itga.com.au>
2002-06-01 03:02:14 +00:00

46 lines
1.1 KiB
Makefile

# New ports collection makefile for: xerces-c
# Date created: 29 December 2001
# Whom: kiesel
#
# $FreeBSD$
#
PORTNAME= xerces_c
PORTVERSION= 1.7.0
CATEGORIES= textproc
MASTER_SITES= http://xml.apache.org/dist/xerces-c/stable/ \
http://document-root.de/xerces-c-mirror/
DISTNAME= xerces-c-src${PORTVERSION:S/./_/g}
MAINTAINER= ports@FreeBSD.org
INSTALLS_SHLIB=yes
LDCONFIG_DIRS= ${PREFIX}/lib
XERCESWRKSRC= ${WRKSRC}/src/xercesc
CONFIGURE_WRKSRC= ${XERCESWRKSRC}
BUILD_WRKSRC= ${XERCESWRKSRC}
INSTALL_WRKSRC= ${XERCESWRKSRC}
USE_GMAKE= yes
MAKE_ENV+= XERCESCROOT=${WRKSRC}
GNU_CONFIGURE= yes
CONFIGURE_ENV+= XERCESCROOT=${WRKSRC} TRANSCODER="IconvFBSD"
CONFIGURE_SCRIPT= runConfigure
CONFIGURE_ARGS= -p freebsd -n socket -P ${PREFIX}
.if defined(NO_THREADS)
CONFIGURE_ARGS+= -r none
.endif
PLIST_SUB+= XERCESC_VER=${PORTVERSION:S/./_/g} \
pre-configure:
${CHMOD} 700 ${CONFIGURE_WRKSRC}/runConfigure
${CHMOD} 700 ${CONFIGURE_WRKSRC}/configure
post-install:
${STRIP_CMD} ${PREFIX}/lib/libxerces-c${PORTVERSION:S/./_/g}.so
.include <bsd.port.mk>