mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-31 05:41:08 +00:00
6f6fbe4bdf
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead PR: 157936 Submitted by: myself Exp-runs by: pav Approved by: pav
40 lines
815 B
Makefile
40 lines
815 B
Makefile
# New ports collection makefile for: scew
|
|
# Date created: 10 January 2008
|
|
# Whom: Pietro Cerutti <gahr@gahr.ch>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= scew
|
|
PORTVERSION= 1.1.3
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= SAVANNAH/${PORTNAME}/
|
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
|
COMMENT= Simple C Expat Wrapper
|
|
|
|
LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
USE_AUTOTOOLS= libtool
|
|
USE_LDCONFIG= yes
|
|
USE_GNOME= gnomehack
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
SCEW_EXAMPLES= print stream write
|
|
|
|
post-install:
|
|
.for ex in ${SCEW_EXAMPLES}
|
|
${INSTALL_SCRIPT} ${WRKSRC}/examples/${PORTNAME}_${ex}/${PORTNAME}_${ex} ${PREFIX}/bin
|
|
.endfor
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "powerpc"
|
|
BROKEN= Does not compile on powerpc
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|