2003-11-11 10:44:04 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: dparser
|
|
|
|
# Date created: Nov 11, 2003
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= dparser
|
2004-06-27 20:06:18 +02:00
|
|
|
PORTVERSION= 1.10
|
2003-11-11 10:44:04 +01:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
DISTNAME= d-${PORTVERSION}-src
|
|
|
|
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
COMMENT= A simple but powerful tool for parsing
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/d
|
2004-02-02 16:34:51 +01:00
|
|
|
|
2003-11-11 10:44:04 +01:00
|
|
|
USE_GMAKE= yes
|
2004-02-02 16:34:51 +01:00
|
|
|
MAKE_ARGS= CC="${CC}" D_OPTIMIZE=
|
2003-11-11 10:44:04 +01:00
|
|
|
|
2004-06-27 20:06:18 +02:00
|
|
|
MAN1= make_dparser.1
|
|
|
|
PORTDOCS= faq.html index.html manual.html
|
|
|
|
PLIST_FILES= bin/make_dparser include/dparse.h include/dparse_tables.h \
|
|
|
|
include/dsymtab.h lib/libdparse.a
|
2003-11-11 10:44:04 +01:00
|
|
|
|
2004-02-23 06:15:26 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${ARCH} != "i386"
|
|
|
|
BROKEN= "Does not compile on !i386"
|
|
|
|
.endif
|
|
|
|
|
2004-06-27 20:06:18 +02:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/make_dparser ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/make_dparser.1 ${MANPREFIX}/man/man1
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/libdparse.a ${PREFIX}/lib
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/dparse.h ${PREFIX}/include
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/dparse_tables.h ${PREFIX}/include
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/dsymtab.h ${PREFIX}/include
|
2004-02-02 16:34:51 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2003-11-11 10:44:04 +01:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.html ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
2004-02-23 06:15:26 +01:00
|
|
|
.include <bsd.port.post.mk>
|