ports/math/graphthing/Makefile
Baptiste Daroussin 9250d94365 Convert USE_BISON to USES= bison
It brings bison as a build dependency in case it is set the following way:
USES= bison or USES= bison:build

it brings bison as a run dependency in case it is set the following way:
USES= bison:run

it brings bison both as a run and build dependency in case it the set the following way:
USES= bison:both

While here trim some headers
Convert some USE_GNOME= gnomehack to USES= pathfix
2013-03-08 11:32:11 +00:00

40 lines
765 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= graphthing
PORTVERSION= 1.3.2
PORTREVISION= 8
CATEGORIES= math
MASTER_SITES= http://graph.seul.org/
MAINTAINER= ports@FreeBSD.org
COMMENT= Tool that allows you to create, manipulate, and study graphs
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USE_BZIP2= yes
USE_GNOME= gtk20
USES= bison
USE_WX= 2.6+
WX_CONF_ARGS= absolute
USE_GMAKE= yes
GNU_CONFIGURE= yes
MAKEFILE= GNUmakefile
MAKE_JOBS_SAFE= yes
PLIST_FILES= bin/graphthing bin/gt
CPPFLAGS+= ${PTHREAD_CFLAGS}
LDFLAGS+= ${PTHREAD_LIBS}
post-patch:
@${REINPLACE_CMD} -e \
's|@@CXX@|@CXX@|' ${WRKSRC}/src/GNUmakefile.in
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/graphthing ${PREFIX}/bin
${LN} -sf graphthing ${PREFIX}/bin/gt
.include <bsd.port.mk>