2008-01-14 10:57:20 +01:00
|
|
|
# New ports collection makefile for: scew
|
|
|
|
# Date created: 10 January 2008
|
|
|
|
# Whom: Pietro Cerutti <gahr@gahr.ch>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= scew
|
2010-09-16 13:47:20 +02:00
|
|
|
PORTVERSION= 1.1.3
|
2008-01-14 10:57:20 +01:00
|
|
|
CATEGORIES= textproc
|
|
|
|
MASTER_SITES= SAVANNAH/${PORTNAME}/
|
|
|
|
|
2008-02-21 22:20:01 +01:00
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
2008-01-14 10:57:20 +01:00
|
|
|
COMMENT= Simple C Expat Wrapper
|
|
|
|
|
|
|
|
LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2008-01-14 10:57:20 +01:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_GNOME= gnomehack
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2009-10-31 13:34:11 +01:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2008-01-14 10:57:20 +01:00
|
|
|
|
|
|
|
SCEW_EXAMPLES= print stream write
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.for ex in ${SCEW_EXAMPLES}
|
2009-10-31 13:34:11 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/examples/${PORTNAME}_${ex}/${PORTNAME}_${ex} ${PREFIX}/bin
|
2008-01-14 10:57:20 +01:00
|
|
|
.endfor
|
|
|
|
|
2010-04-01 08:44:48 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} == "powerpc"
|
|
|
|
BROKEN= Does not compile on powerpc
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|