2017-03-06 20:38:56 +01:00
|
|
|
# Created by: Muhammad Moinur Rahman <bofh@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= dia2code+
|
|
|
|
PORTVERSION= 1.0.0
|
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
2019-07-26 22:46:53 +02:00
|
|
|
PORTREVISION= 7
|
2017-03-06 20:38:56 +01:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= SF/dia2code/dia2code+/${PORTVERSION}
|
|
|
|
DISTNAME= dia2code-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= bofh@FreeBSD.org
|
|
|
|
COMMENT= Complete rewrite of dia2code in C++
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
|
2019-11-08 12:39:00 +01:00
|
|
|
USES= autoreconf:build compiler:c++11-lib gnome iconv
|
2017-03-06 20:38:56 +01:00
|
|
|
USE_GNOME= libxml2
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
|
|
|
|
PLIST_FILES= bin/dia2code \
|
|
|
|
man/man1/dia2code.1.gz
|
|
|
|
|
2018-08-05 07:35:36 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} '/dia2code_CXXFLAGS =/ s,-fprofile-arcs,,' \
|
|
|
|
${WRKSRC}/src/Makefile.in
|
|
|
|
|
2017-03-06 20:38:56 +01:00
|
|
|
post-install:
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/docs/dia2code.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|