mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
26f2be73eb
PR: 35409 Submitted by: KATO Tsuguru <tkato@prontomail.com>
31 lines
650 B
Makefile
31 lines
650 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: gnucap
|
|
# Date created: Feb 7, 2002
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= gnucap
|
|
PORTVERSION= 0.30
|
|
CATEGORIES= cad
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
|
|
USE_GMAKE= yes
|
|
MAKE_ENV= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
|
|
|
|
post-patch:
|
|
.for file in src/Make2.g++ src/Make.aux modelgen/Make.aux
|
|
@${PERL} -pi -e 's|g\+\+|\$$\{CXX\}|g ; \
|
|
s|-O2|\$$\{CXXFLAGS\}|g' ${WRKSRC}/${file}
|
|
.endfor
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/modelgen/O/modelgen ${PREFIX}/bin
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/O/gnucap ${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|