- Fix WANTLIB marker

- Use converters/libiconv MODULE
- Bump PGKNAME

ok naddy@
This commit is contained in:
alek 2005-03-15 23:30:00 +00:00
parent b67c8ab896
commit 94a139625c

View File

@ -1,25 +1,27 @@
# $OpenBSD: Makefile,v 1.14 2004/12/07 00:23:22 alek Exp $
# $OpenBSD: Makefile,v 1.15 2005/03/15 23:30:00 alek Exp $
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
COMMENT= "perl interface to the Sablotron XSLT engine"
DISTNAME= XML-Sablotron-1.0
PKGNAME= p5-${DISTNAME}
PKGNAME= p5-${DISTNAME}p0
CATEGORIES= textproc perl5
MASTER_SITES= http://download-1.gingerall.cz/download/sablot/
HOMEPAGE= http://www.gingerall.cz/
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
LIB_DEPENDS= sablot.100::textproc/sablotron
MODULES= converters/libiconv
LIB_DEPENDS= sablot.100::textproc/sablotron \
expat.4::textproc/expat
# GPL/Mozilla
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= expat iconv m
WANTLIB= m
CONFIGURE_STYLE= perl
CONFIGURE_ARGS= EXPATLIBPATH="${LOCALBASE}/lib" EXPATINCPATH="${LOCALBASE}/include" SABLOTLIBPATH="${LOCALBASE}/lib" SABLOTINCPATH="${LOCALBASE}/include"
@ -28,6 +30,7 @@ CONFIGURE_ARGS= EXPATLIBPATH="${LOCALBASE}/lib" EXPATINCPATH="${LOCALBASE}/incl
USE_GCC3?= No
.if ${USE_GCC3:L} == "yes"
CONFIGURE_ENV+= LDFLAGS="-lstdc++"
WANTLIB+= stdc++
.endif
.include <bsd.port.mk>