2001-04-16 21:40:59 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# New ports collection makefile for: styx
|
|
|
|
# Date created: Apr 17, 2001
|
|
|
|
# Whom: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= styx
|
2004-02-23 02:17:02 +01:00
|
|
|
PORTVERSION= 1.6.1
|
2006-02-23 11:40:44 +01:00
|
|
|
PORTREVISION= 1
|
2001-04-16 21:40:59 +02:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= http://www.speculate.de/styx/
|
|
|
|
|
2002-03-12 16:56:43 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 18:07:10 +01:00
|
|
|
COMMENT= A scanner/parser generator
|
2001-04-16 21:40:59 +02:00
|
|
|
|
2007-02-01 03:42:05 +01:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2004-02-23 02:17:02 +01:00
|
|
|
USE_ICONV= yes
|
2001-04-16 21:40:59 +02:00
|
|
|
USE_GMAKE= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2003-01-02 20:02:39 +01:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
|
2002-03-25 13:16:00 +01:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -liconv ${PTHREAD_LIBS}"
|
2003-01-02 20:02:39 +01:00
|
|
|
CONFIGURE_ARGS= --includedir=${PREFIX}/include/${PORTNAME}
|
2006-08-15 00:55:18 +02:00
|
|
|
USE_LDCONFIG= yes
|
2001-04-16 21:40:59 +02:00
|
|
|
|
2002-03-25 13:16:00 +01:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2003-01-02 20:02:39 +01:00
|
|
|
${TAR} -C ${WRKSRC}/doc \
|
|
|
|
--exclude "*.in" --exclude "*Makefile*" -cf - . | \
|
|
|
|
${TAR} -C ${DOCSDIR} --unlink -xf -
|
|
|
|
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${TAR} -C ${WRKSRC} \
|
|
|
|
--exclude "*.in" --exclude "*Makefile*" -cf - spe pat | \
|
|
|
|
${TAR} -C ${EXAMPLESDIR} --unlink -xf -
|
|
|
|
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
|
2002-03-25 13:16:00 +01:00
|
|
|
.endif
|
2001-04-16 21:40:59 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|