freebsd-ports/textproc/xmlwrapp/Makefile
Ion-Mihai Tetcu 1e54999864 Use the new tarball from sourceforge and unbreak fetching.
Diff to the old one:
- INSTALL rewording
- Makefile is gone (autogenerated)
- xmlwrapp-config is gone, it uses only configure.pl
- xmlwrapp.pc is gone (wasn't installed anyway)

Also patch configure.pl for the right path to perl.

PR:		ports/96634
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com> (me)
Approved by:	lawrance (mentor)
2006-05-08 12:03:53 +00:00

39 lines
785 B
Makefile

# ex:ts=8
# Ports collection makefile for: xmlwrapp
# Date created: Jan 14, 2003
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= xmlwrapp
PORTVERSION= 0.5.0
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= A modern style C++ library for working with XML data
USE_PERL5_BUILD= yes
USE_GNOME= libxml2 pkgconfig
WANT_GNOME= yes
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= configure.pl
CONFIGURE_ARGS= --prefix ${PREFIX}
INSTALLS_SHLIB= yes
CFLAGS+= -fPIC
.include <bsd.port.pre.mk>
.if ${HAVE_GNOME:Mlibxslt}!=""
USE_GNOME+= libxslt
.else
CONFIGURE_ARGS+= --disable-xslt
.endif
post-patch:
@${REINPLACE_CMD} "s:/usr/bin/perl:${PERL}:" ${WRKSRC}/configure.pl
.include <bsd.port.post.mk>