mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
79a32a3f50
Feature safe: yes
42 lines
907 B
Makefile
42 lines
907 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: ragel
|
|
# Date created: Mar 6, 2002
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ragel
|
|
PORTVERSION= 6.6
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.complang.org/ragel/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Compile regular languages into executable C/C++ code
|
|
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
MAN1= ${PORTNAME}.1
|
|
PORTDOCS= *
|
|
PORTEXAMPLES= *
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|^CXXFLAGS=|#CXXFLAGS=|g' ${WRKSRC}/configure
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/ragel/${PORTNAME} ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${MANPREFIX}/man/man1
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.pdf ${DOCSDIR}
|
|
.endif
|
|
.if !defined(NOPORTEXAMPLES)
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
@(cd ${WRKSRC}/test; ${COPYTREE_SHARE} . ${EXAMPLESDIR})
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|