1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-06 01:57:40 +00:00
freebsd-ports/math/pspp/Makefile
Sunpoet Po-Chuan Hsieh 40c9c7f7eb Update devel/readline to 8.0
- Bump PORTREVISION of dependent ports for shlib change

Changes:	https://tiswww.case.edu/php/chet/readline/CHANGES
PR:		236156
Exp-run by:	antoine
2019-04-09 14:04:49 +00:00

77 lines
1.8 KiB
Makefile

# Created by: Andrew L. Neporada <andrew@chg.ru>
# $FreeBSD$
PORTNAME= pspp
PORTVERSION= 1.2.0
PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= GNU
MAINTAINER= cpm@FreeBSD.org
COMMENT= Program for statistical analysis of sampled data
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= texinfo>0:print/texinfo
LIB_DEPENDS= libgslcblas.so:math/gsl
USES= cpe charsetfix gettext-tools gmake gnome iconv localbase libtool \
perl5 pkgconfig readline
CPE_VENDOR= gnu
USE_GNOME= libxml2
USE_PERL5= build
GNU_CONFIGURE= yes
LDFLAGS+= -L${LOCALBASE}/lib -lxml2
MAKE_ARGS= MAKEINFO="${LOCALBASE}/bin/makeinfo" \
XMLLINT="${LOCALBASE}/bin/xmllint"
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
PLIST_SUB= VERSION="${PORTVERSION}"
PORTDOCS= AUTHORS ChangeLog NEWS ONEWS README THANKS
PORTEXAMPLES= *
INFO= pspp pspp-dev
OPTIONS_DEFINE= DOCS EXAMPLES GUI NLS PGSQL
OPTIONS_SUB= yes
GUI_LIB_DEPENDS= libgladeui-2.so:devel/glade \
libspread-sheet-widget.so:devel/spread-sheet-widget
GUI_RUN_DEPENDS= yelp:x11/yelp
GUI_USES= desktop-file-utils
GUI_USE= gnome=gtk30,gtksourceview3
GUI_VARS= INSTALLS_ICONS=yes
GUI_CONFIGURE_WITH= cairo gui gui-tools
GUI_INSTALL_TARGET= install-icons install-ext-icons
NLS_USES= gettext-runtime
NLS_CONFIGURE_OFF= --disable-nls
NLS_MAKE_ARGS_OFF= POFILES=""
PGSQL_USES= pgsql
PGSQL_CONFIGURE_WITH= libpq
post-patch:
@${REINPLACE_CMD} -e \
's|: $$(INSTALL_DATA_HOOKS)|:|g' ${WRKSRC}/Makefile.in
post-install:
${INSTALL_DATA} ${WRKSRC}/pspp-mode.el \
${STAGEDIR}${PREFIX}/share/emacs/site-lisp
post-install-GUI-on:
${RM} -r ${STAGEDIR}${PREFIX}/share/icons/hicolor/scalable/mimetypes
post-install-DOCS-on:
(cd ${WRKSRC} && ${COPYTREE_SHARE} \
"${PORTDOCS}" ${STAGEDIR}${DOCSDIR})
post-install-EXAMPLES-on:
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \
"${PORTEXAMPLES}" ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>