diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-06-24 13:54:34 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-06-24 13:54:34 +0000 |
commit | 7df40923eb885e84eb1b55ca94e2b9941d792599 (patch) | |
tree | 51beb439a5ccd18e8d8bd445365e4a675e0d0884 /math/oleo | |
parent | 596e13c6f3d94b4420f8c4ca60271747a31cf2b9 (diff) | |
download | ports-7df40923eb885e84eb1b55ca94e2b9941d792599.tar.gz ports-7df40923eb885e84eb1b55ca94e2b9941d792599.zip |
Notes
Diffstat (limited to 'math/oleo')
-rw-r--r-- | math/oleo/Makefile | 41 |
1 files changed, 16 insertions, 25 deletions
diff --git a/math/oleo/Makefile b/math/oleo/Makefile index f50a5d9f10f3..2f56d8a0a06b 100644 --- a/math/oleo/Makefile +++ b/math/oleo/Makefile @@ -10,40 +10,31 @@ MASTER_SITES= GNU MAINTAINER= ports@FreeBSD.org COMMENT= The GNU spreadsheet for X11 and terminals -LICENSE= GPLv2 +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING -USES= bison perl5 +USES= bison localbase perl5 USE_PERL5= build GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-x --without-xlt --without-SciPlot -CPPFLAGS+= -I${LOCALBASE}/include -LIBS+= -L${LOCALBASE}/lib -lintl MAKE_ENV+= DESTDIR=${STAGEDIR} INFO= oleo OPTIONS_DEFINE= MOTIF NLS - -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MMOTIF} -LIB_DEPENDS+= libplot.so:graphics/plotutils \ - libXbae.so:x11-toolkits/xbae \ - libXmHTML.so:x11-toolkits/xmhtml -USES+= motif -CONFIGURE_ARGS+= --with-motif -.else -USE_XORG= xt ice sm -CONFIGURE_ARGS+= --without-motif -.endif - -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB= NLS="" -.else -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB= NLS="@comment " -.endif +OPTIONS_SUB= yes + +MOTIF_LIB_DEPENDS= libplot.so:graphics/plotutils \ + libXbae.so:x11-toolkits/xbae \ + libXmHTML.so:x11-toolkits/xmhtml +MOTIF_USES= motif +MOTIF_CONFIGURE_WITH= motif +MOTIF_USE_OFF= XORG=xt,ice,sm + +NLS_USES= gettext +NLS_LIBS= -lintl +NLS_CONFIGURE_ENABLE= nls +NLS_USES_OFF= gettext-tools post-patch: @${GREP} -lR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \ |