diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-06-24 21:54:34 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-06-24 21:54:34 +0800 |
commit | a8745d318bd2ac2b5d5813ddc6e99d12b6274e36 (patch) | |
tree | 51beb439a5ccd18e8d8bd445365e4a675e0d0884 | |
parent | 84b357dedb3250db331dafc9417749e01dec344d (diff) | |
download | freebsd-ports-gnome-a8745d318bd2ac2b5d5813ddc6e99d12b6274e36.tar.gz freebsd-ports-gnome-a8745d318bd2ac2b5d5813ddc6e99d12b6274e36.tar.zst freebsd-ports-gnome-a8745d318bd2ac2b5d5813ddc6e99d12b6274e36.zip |
- Clarify LICENSE
- Add LICENSE_FILE
- Switch to USES=localbase
- Switch to options helpers
-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 \ |